Most viewed questions in Machine Learning

0 votes
1 answer

Linear regression with gradient descent to predict house prices using area (one var) in python

Apart from instructional purposes, I'm not sure ...READ MORE

Mar 23, 2022 in Machine Learning by Nandini
• 5,480 points
1,267 views
0 votes
1 answer

Role of the bias in neural networks.

Hi@akhtar, The activation function in Neural Networks takes ...READ MORE

Jul 15, 2020 in Machine Learning by MD
• 95,440 points
1,267 views
0 votes
1 answer

How does Label Encoder assigns the same number?

I am creating a dummy data set ...READ MORE

Feb 22, 2022 in Machine Learning by Nandini
• 5,480 points
1,249 views
0 votes
1 answer

Plotting joint probability of two random variable choices

Create pandas.DataFrame , you can use seaborn.jointplot ...READ MORE

Mar 23, 2022 in Machine Learning by Nandini
• 5,480 points
1,233 views
0 votes
0 answers

Hello I have some errors while implementing variational autoencoder

def dense_layers(sizes): return tfk.Sequential([tfkl.Dense(size, ...READ MORE

May 19, 2019 in Machine Learning by anonymous

edited May 20, 2019 by Omkar 1,203 views
0 votes
1 answer

How to simulate first passage time probability in python for a random walk?

To begin with, you're now computing fp ...READ MORE

Apr 5, 2022 in Machine Learning by Dev
• 6,000 points
1,178 views
0 votes
1 answer

value error found with inconsistent samples

Hi, As you can see that you have ...READ MORE

Dec 28, 2020 in Machine Learning by MD
• 95,440 points
1,171 views
0 votes
1 answer

Semi-supervised learrning assumptions

Obviously, semi-supervised learning makes use of some ...READ MORE

May 9, 2019 in Machine Learning by Charu
1,171 views
0 votes
1 answer

What is Reinforcement learning?

Alright, let me not get into the ...READ MORE

May 9, 2019 in Machine Learning by Alok
1,165 views
0 votes
1 answer

What is Unsupervised Learning?

Unsupervised Learning is the training of machine ...READ MORE

May 8, 2019 in Machine Learning by Alok
1,162 views
0 votes
1 answer

Orange Data Mining and Logistic Regression

A statistical classification method that fits data ...READ MORE

Mar 15, 2022 in Machine Learning by Dev
• 6,000 points
1,153 views
0 votes
1 answer

Why do we use gradient descent in linear regression?

An example you gave is one-dimensional, which ...READ MORE

Mar 23, 2022 in Machine Learning by Dev
• 6,000 points
1,148 views
0 votes
1 answer

Compute log loss for logistic regression from scratch

You have made  train_pred as python list. ...READ MORE

Apr 11, 2022 in Machine Learning by Dev
• 6,000 points
1,147 views
0 votes
0 answers

Create random numbers with left skewed probability distribution

I would like to pick a number ...READ MORE

Mar 25, 2022 in Machine Learning by Dev
• 6,000 points
1,145 views
0 votes
1 answer

different results for Random Forest Regression in R and Python

Random Forests, as others have mentioned, have ...READ MORE

Apr 12, 2022 in Machine Learning by Dev
• 6,000 points
1,136 views
0 votes
1 answer

What is Depth of a convolutional neural network?

The depth of a Deep Neural Network ...READ MORE

Mar 25, 2022 in Machine Learning by Nandini
• 5,480 points
1,123 views
0 votes
1 answer

Why there is the need of using regularization in machine learning problems?

In Machine Learning we often divide the dataset ...READ MORE

Feb 21, 2022 in Machine Learning by Dev
• 6,000 points
1,123 views
0 votes
1 answer

How to add outliers to a Linear Regression dataset?

You can directly add values to X ...READ MORE

Mar 30, 2022 in Machine Learning by Dev
• 6,000 points
1,117 views
0 votes
1 answer

What are the techniques used in unsupervised learning?

There are two main techniques used in ...READ MORE

May 10, 2019 in Machine Learning by Rhea
1,110 views
0 votes
1 answer

Is Random Forest a linear or non linear regression model

RF divides your information into square boxes. ...READ MORE

Mar 23, 2022 in Machine Learning by Nandini
• 5,480 points
1,098 views
0 votes
1 answer

How do I create a linear regression model in Weka without training?

Weka is a classification algorithm. This is ...READ MORE

Mar 9, 2022 in Machine Learning by Nandini
• 5,480 points
1,084 views
0 votes
1 answer

What are the best machine learning blogs or resources available?

Hi@akhtar, You can find lots of resources available ...READ MORE

May 14, 2020 in Machine Learning by MD
• 95,440 points
1,080 views
0 votes
1 answer

Epoch vs Iteration when training neural networks

In the language of neural networks, this ...READ MORE

Feb 10, 2022 in Machine Learning by CoolCoder
• 4,400 points
1,064 views
0 votes
1 answer

Random numbers with user-defined continuous probability distribution

You can use the rejection sampling approach ...READ MORE

Mar 25, 2022 in Machine Learning by Nandini
• 5,480 points
1,061 views
+1 vote
0 answers

Stock Prediction using previous data

Hello, I had followed one of the ...READ MORE

Jan 2, 2021 in Machine Learning by liamliu
• 130 points
1,058 views
0 votes
1 answer

difference between a cost function and the gradient descent equation in logistic regression?

Cost function is a way to evaluate ...READ MORE

Feb 22, 2022 in Machine Learning by Nandini
• 5,480 points
1,025 views
0 votes
1 answer

What is the difference between classification and prediction?

Classification is about classifying categorical variables in ...READ MORE

Feb 25, 2022 in Machine Learning by Dev
• 6,000 points
1,011 views
0 votes
1 answer

What are different clustering methods?

Different clustering methods include: 1. Density-Based Methods: These methods ...READ MORE

May 10, 2019 in Machine Learning by Vishal
1,011 views
0 votes
1 answer

Classification in Naive Bayes algorithm

Hi@Ogun, The Numpy module doesn't have a predict attribute. ...READ MORE

Oct 5, 2020 in Machine Learning by MD
• 95,440 points
992 views
0 votes
1 answer

How to choose the window size of CNN in deep learning?

There is no definitive solution to this ...READ MORE

Mar 30, 2022 in Machine Learning by Dev
• 6,000 points
988 views
0 votes
1 answer

Can you give LassoLars python example?

Hey @Vivek, Try something like this: >>> from ...READ MORE

May 22, 2019 in Machine Learning by Tanmay
981 views
0 votes
1 answer

What is alpha in ridge regression?

‘L2 regularization‘ or Ridge Regularization  adds penalty ...READ MORE

Mar 2, 2022 in Machine Learning by Nandini
• 5,480 points
979 views
0 votes
1 answer

Efficient online linear regression algorithm in python

To calculate 10k rows, and also to speed ...READ MORE

Mar 23, 2022 in Machine Learning by Nandini
• 5,480 points
978 views
0 votes
1 answer

Is predicting number of sales a Regression or Classification problem?

The output will be discrete but the ...READ MORE

Feb 25, 2022 in Machine Learning by Dev
• 6,000 points
978 views
0 votes
1 answer

What is clustering in Machine Learning?

Clustering is a type of unsupervised learning ...READ MORE

May 10, 2019 in Machine Learning by Shridhar
968 views
0 votes
1 answer

sklearn MLPClassifier - zero hidden layers (i.e. logistic regression)

You could try something like this: nn = ...READ MORE

Apr 11, 2022 in Machine Learning by Dev
• 6,000 points
966 views
0 votes
1 answer

discretization in weka

This should be self-evident. You can do it ...READ MORE

Apr 7, 2022 in Machine Learning by Nandini
• 5,480 points
959 views
0 votes
1 answer

How to plot support vectors for support vector regression?

The problem was solved after I improved ...READ MORE

Mar 25, 2022 in Machine Learning by Nandini
• 5,480 points
956 views
0 votes
1 answer

Controlled Variables in Logistic Regression in Python

Control variables, as you may know, are ...READ MORE

Apr 14, 2022 in Machine Learning by anonymous
938 views
0 votes
1 answer

How to save classifier to disk in scikit-learn?

Hi@akhtar, Classifiers are just objects that can be ...READ MORE

Jul 14, 2020 in Machine Learning by MD
• 95,440 points
923 views
0 votes
1 answer

What is the difference between linear regression and logistic regression?

Hi Dev, to answer your question Linear Regression ...READ MORE

Feb 2, 2022 in Machine Learning by Nandini
• 5,480 points
922 views
0 votes
1 answer

What are some real-time applications of Machine Learning?

Hi@akhtar, There are lots of examples of Machine ...READ MORE

May 14, 2020 in Machine Learning by MD
• 95,440 points
900 views
0 votes
1 answer

sklearn MLPClassifier - zero hidden layers (i.e. logistic regression)

You could try something like this. my_nn = ...READ MORE

Mar 8, 2022 in Machine Learning by Dev
• 6,000 points
883 views
0 votes
1 answer

Sanity Testing vs Regression Testing?

Sanity testing entails ensuring that the application's ...READ MORE

Apr 7, 2022 in Machine Learning by Nandini
• 5,480 points
874 views
0 votes
1 answer

Are there different types of reinforcements?

There are two types of reinforcements - ...READ MORE

May 9, 2019 in Machine Learning by Mishra
870 views
0 votes
1 answer

Clustering algorithms

These are the clustering algorithms that are ...READ MORE

May 10, 2019 in Machine Learning by Nisha
868 views
0 votes
1 answer

Extract regression coefficient values

A quick rundown. These values are stored ...READ MORE

Mar 30, 2022 in Machine Learning by Dev
• 6,000 points
867 views
0 votes
1 answer

Which polynomial regression degree is significant ? depends of number of points or other parameters?

You're more likely to overfit the results ...READ MORE

Mar 23, 2022 in Machine Learning by Nandini
• 5,480 points
854 views
0 votes
1 answer

Train-test split with 20% of data set aside - ML

Hi@Kim, You can use the train_test_split function to ...READ MORE

Jul 19, 2020 in Machine Learning by MD
• 95,440 points
848 views
0 votes
2 answers