Most voted questions in Machine Learning

+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
+1 vote
1 answer

TypeError: A sparse matrix was passed, but dense data is required. Use X.toarray() to convert to a dense numpy array.

Hi, There is a problem with your X ...READ MORE

Dec 16, 2020 in Machine Learning by MD
• 95,440 points
6,118 views
+1 vote
1 answer

Determining the Dataset's behaviors

Hi@Haritha, Before creating an ML model, you should ...READ MORE

Jun 29, 2020 in Machine Learning by MD
• 95,440 points
516 views
+1 vote
1 answer

How to load CNN model in keras?

Hi@akhtar, You can load your pre-created model in ...READ MORE

May 18, 2020 in Machine Learning by MD
• 95,440 points
1,672 views
+1 vote
1 answer

Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-8nhf9w2t/grpcio/

Hi@akhtar, You may get this error because of ...READ MORE

May 16, 2020 in Machine Learning by MD
• 95,440 points
31,908 views
+1 vote
1 answer

​In ANN how the weight gets selected by the model INITIALLY?

Hi@Nandini, When you add your NN layer, it ...READ MORE

May 9, 2020 in Machine Learning by MD
• 95,440 points
485 views
+1 vote
1 answer

ModuleNotFoundError: No module named 'mnist'

Hi@akhtar, This mnist package comes with keras module ...READ MORE

May 9, 2020 in Machine Learning by MD
• 95,440 points
7,263 views
+1 vote
1 answer

ModuleNotFoundError: No module named 'keras'

Hi@akhtar, I think this problem is related to ...READ MORE

Apr 23, 2020 in Machine Learning by MD
• 95,440 points

edited Aug 11, 2021 by Soumya 43,002 views
+1 vote
1 answer

ValueError: could not convert string to float in Machine learning.

Hi@akhtar, You are trying to use constant variable ...READ MORE

Apr 14, 2020 in Machine Learning by MD
• 95,440 points
26,140 views
+1 vote
2 answers

ValueError: Found input variables with inconsistent numbers of samples: [1, 1000]

Hi@akhtar, Here you used x as your feature ...READ MORE

Apr 14, 2020 in Machine Learning by MD
• 95,440 points

edited Aug 11, 2021 by Soumya 57,216 views
+1 vote
1 answer

not able to see all columns and rows of a pandas DataFrame?

Hi@akhtar, Your data set contains lots of rows ...READ MORE

Apr 8, 2020 in Machine Learning by MD
• 95,440 points
4,960 views
+1 vote
1 answer

UserWarning: Matplotlib is currently using agg, which is a non-GUI backend, so cannot show the figure.

Hi@akhtar, You need to install a GUI toolkit, ...READ MORE

Mar 5, 2020 in Machine Learning by MD
• 95,440 points

edited Aug 11, 2021 by Soumya 61,902 views
+1 vote
2 answers

Is Sophia Humanoid ‘Limited Memory’ type of AI or ‘Reactive Machines’ type of AI?

Sophia is basically a chatbot with a ...READ MORE

Jan 29, 2020 in Machine Learning by Rakshi
2,142 views
+1 vote
0 answers

text mining new set of data in production environment expect training feature

Hi, I have trained a model based on ...READ MORE

Nov 28, 2019 in Machine Learning by MANOJ
• 130 points
632 views
+1 vote
1 answer

how to analysis the heatmap to find the correlation

Hi @Vikas, there are 5 simple steps ...READ MORE

Sep 30, 2019 in Machine Learning by Vishal
10,081 views
+1 vote
2 answers

ValueError: Not enough values to unpack

Make the following changes in your script, ...READ MORE

Jun 24, 2019 in Machine Learning by Omkar
• 69,210 points
18,076 views
0 votes
0 answers

Get fitted coefficient of linear regression equation

I have a dataset with predicted and ...READ MORE

Apr 11, 2022 in Machine Learning by Dev
• 6,000 points
457 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
945 views
0 votes
1 answer
0 votes
2 answers
0 votes
0 answers

100 samples of 20 from the dataset and drawing regression lines along with population regression line

I have a datasetwith two variables hours ...READ MORE

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

R Generalized Method Of Moments Regression Estimation With Instruments

After a variety of approaches, it was ...READ MORE

Apr 13, 2022 in Machine Learning by anonymous
453 views
0 votes
1 answer

Error using sklearn and linear regression: shapes (1,16) and (1,1) not aligned: 16 (dim 1) != 1 (dim 0)

Based on documents LinearRegression. An x array ...READ MORE

Apr 13, 2022 in Machine Learning by anonymous
1,673 views
0 votes
1 answer

How to add random and/or fixed effects into cloglog regression in R

The standard glm function can be used ...READ MORE

Apr 13, 2022 in Machine Learning by anonymous
460 views
0 votes
1 answer

Plotting logistic regression in R with the Smarket dataset

The first, third, and fourth methods of ...READ MORE

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

chaid regression tree to table conversion in r

Partykit (recursive partitioning) tree structures are used ...READ MORE

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

How to use ICD10 Code in a regression model in R?

Using the concept of comorbidities is a ...READ MORE

Apr 12, 2022 in Machine Learning by Dev
• 6,000 points
426 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,142 views
0 votes
1 answer

Precipitation field in OpenWeatherMap API 2.5

The data for upload in millimeters for ...READ MORE

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

Bayesian Probability

Conditional independence does not always imply independence: ...READ MORE

Apr 11, 2022 in Machine Learning by Dev
• 6,000 points
345 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,150 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
969 views
0 votes
1 answer

What is the difference between regression testing and mutation testing?

Regression testing is a test suite that ...READ MORE

Apr 5, 2022 in Machine Learning by Dev
• 6,000 points
714 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
880 views
0 votes
1 answer

eli5 show_prediction not showing probability

I was able to solve my own ...READ MORE

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

Help with Probability Equation

The likelihood of winning is equal to ...READ MORE

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

How to specify the prior probability for scikit-learn's Naive Bayes

In GaussianNB, there is a mechanism to ...READ MORE

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

How to calculate probability in a normal distribution given mean & standard deviation?

This is how you do it. >>> import ...READ MORE

Apr 7, 2022 in Machine Learning by Nandini
• 5,480 points
1,687 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
963 views
0 votes
1 answer

Machine Learning: Unsupervised Backpropagation

The most frequent method is to train ...READ MORE

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

When should Data Binning be used in data processing?

Mostly by trial and error. When a ...READ MORE

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

How can I import Elastic-Net, Lasso and Ridge regression in Pyspark?

Use the code and also refer to ...READ MORE

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

How can QA team leverage BDD acceptance criteria for automation regression testing?

There is no correct response; in my ...READ MORE

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

Why is Pymc3 ADVI worse than MCMC in this logistic regression example?

This is a good query! Mean field ...READ MORE

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

How to find the intersecting point in the regression line

To find the intersecting point use the ...READ MORE

Apr 5, 2022 in Machine Learning by Dev
• 6,000 points
727 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,184 views
0 votes
1 answer

why scipy poisson do not have a pdf (probability density function) method?

The poisson distribution has no density function ...READ MORE

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

Union probability

You can try this if a, b, ...READ MORE

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

Calculate the probability in R for sum of two dice rolls

By converting the outer values to a ...READ MORE

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

Calculate Z-Score from Probability Value - R programming

It's named qnorm qnorm(p=0.841344746068543) Output 1 The following family of functions ...READ MORE

Apr 4, 2022 in Machine Learning by Nandini
• 5,480 points
1,438 views