Trending questions in Machine Learning

0 votes
1 answer

What is cross-entropy?

Cross-entropy is taken from the information theory ...READ MORE

Feb 23, 2022 in Machine Learning by Dev
• 6,000 points
487 views
0 votes
0 answers

Is k-Nearest Neighbors algorithm used a lot in real life?

the k-Nearest Neighbors is mentioned as one ...READ MORE

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

Difference between classification and regression score in Python scikit learn

Classification Score is used for discrete values ...READ MORE

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

Getting one word as caption with zero probability using pretrained checkpoints for image captioning-im2txt

Under caption_generator.py change the following line as follow ...READ MORE

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

What is the difference between Deep Learning and traditional Artificial Neural Network machine learning?

A large number of layers causes serious ...READ MORE

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

Is Genetic Algorithm a Machine Learning Method?

A pure Genetic Algorithm solution does not ...READ MORE

Feb 15, 2022 in Machine Learning by Dev
• 6,000 points
769 views
0 votes
0 answers

Limitations of Regression in Machine Learning?

what happens when you want to do ...READ MORE

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

Training and testing data in machine learning

Unsupervised learning is used with the K-means ...READ MORE

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

Hierarchical clustering of 1 million objects

Consider switching the algorithm instead of using ...READ MORE

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

Machine Learning: Unsupervised Backpropagation

Backpropagation in unsupervised learning; probably the models ...READ MORE

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

Which machine learning classifier to choose, in general?

Choice of Machine Learning Classifier depends upon ...READ MORE

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

A simple explanation of Naïve Bayes Classification

Naive Bayes Classification uses probability to classify ...READ MORE

Feb 22, 2022 in Machine Learning by Nandini
• 5,480 points
263 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
912 views
0 votes
1 answer

Hierarchical Clustering

K-means and Hierarchical clustering are both Clustering ...READ MORE

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

Assumptions of Naïve Bayes and Logistic Regression

There are very few difference between Naive ...READ MORE

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

How to know if a problem is solvable by machine learning?

Transitioning from learning machine learning algorithms through ...READ MORE

Dec 13, 2023 in Machine Learning by anonymous
• 1,180 points
591 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,099 views
0 votes
0 answers

Error while using Random Forest.

I am using this script rf.partial.prob(x=rf.mod,pred.data=FOR, xname="Qmax",which.class ...READ MORE

Dec 1, 2021 in Machine Learning by Khan
• 120 points
316 views
0 votes
0 answers

How to find all latest java files.

I need all the latest java packages ...READ MORE

Dec 1, 2021 in Machine Learning by anonymous
• 120 points
223 views
0 votes
1 answer

ImportError: cannot import name 'LinearRegression' from 'sklearn'

Hi@akhtar, You got this error because LinearRegression is ...READ MORE

Apr 24, 2020 in Machine Learning by MD
• 95,440 points
23,167 views
0 votes
2 answers

ModuleNotFoundError: No module named 'tensorflow'

If you are using Anaconda, go to ...READ MORE

Nov 17, 2020 in Machine Learning by Vignesh

edited Aug 11, 2021 by Soumya 17,319 views
0 votes
2 answers

valueerror: found input variables with inconsistent numbers of samples: [40, 10]

keep random_state =42 in train_test_split module READ MORE

Aug 27, 2020 in Machine Learning by sairam
• 160 points
14,529 views
0 votes
1 answer

AttributeError: module 'sklearn' has no attribute 'LinearRegresion'

Hi@akhtar, You need to import the LinearRegression module ...READ MORE

Oct 15, 2020 in Machine Learning by MD
• 95,440 points
10,270 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,072 views
0 votes
1 answer

What is h5 model in Keras?

Hi@akhtar, H5 is a file format to store ...READ MORE

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

ModuleNotFoundError: No module named 'cPickle'

Hi@akhtar, There is no cPickle module in Python 3. ...READ MORE

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

ValueError: Expected 2D array, got 1D array instead: array=[2 4 7 9].

Hi@akhtar, According to your code, you are trying ...READ MORE

Apr 9, 2020 in Machine Learning by MD
• 95,440 points
16,486 views
0 votes
1 answer

Python error "TypeError: unsupported operand type(s) for -: 'list' and 'int'"

Hey, look at your code's second last ...READ MORE

Aug 2, 2019 in Machine Learning by Naman
26,852 views
0 votes
1 answer

AttributeError: module 'cv2.cv2' has no attribute 'face_LBPHFaceRecognizer'

Hi@MD, LBPHFaceRecognizer module comes from a package named ...READ MORE

Apr 20, 2020 in Machine Learning by akhtar
• 38,230 points
15,524 views
0 votes
1 answer

ValueError: Found input variables with inconsistent numbers of samples: [2, 515738].

Hi, You are asking your query in the ...READ MORE

Dec 15, 2020 in Machine Learning by MD
• 95,440 points
3,510 views
0 votes
1 answer

Found input variables with inconsistent numbers of samples: [30, 120]

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

Dec 21, 2020 in Machine Learning by MD
• 95,440 points
2,758 views
0 votes
1 answer

OpenCV Error: Assertion failed (size.width>0 && size.height>0)

Hi@akhtar, You are getting this error, because your ...READ MORE

Apr 20, 2020 in Machine Learning by MD
• 95,440 points
13,260 views
0 votes
1 answer

ValueError: Unknown label type: (array([ 7.5, 9.2, 9.2, ..., 5.8, 10. , 9.6]),)

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

Dec 16, 2020 in Machine Learning by MD
• 95,440 points
2,785 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,052 views
0 votes
2 answers

AttributeError: module 'scipy' has no attribute '_version_'

Hi@Sanjana, Actually you are missing one underscore in ...READ MORE

Aug 12, 2020 in Machine Learning by MD
• 95,440 points
7,051 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,162 views
0 votes
1 answer

After running the following code : logmodel.fit(X_train, y_train)

Hi@saharshsharan, I think this is just a warning. ...READ MORE

Dec 21, 2020 in Machine Learning by MD
• 95,440 points
831 views
0 votes
0 answers

AttributeError: 'numpy.ndarray' object has no attribute 'values'

Training_Set = Training_Set.values sc = MinMaxScaler(feature_range=(0, 1)) Train = ...READ MORE

Oct 19, 2020 in Machine Learning by neha
• 140 points

recategorized Oct 19, 2020 by MD 3,459 views
0 votes
1 answer

AttributeError: module 'tensorflow' has no attribute 'constant'

Hi@akhtar, There may be problem in the versions. ...READ MORE

Apr 21, 2020 in Machine Learning by MD
• 95,440 points
11,032 views
0 votes
1 answer

ImportError: No module named 'tensorflow.contrib.rnn.python.ops.core_rnn

Hi@akhtar, I think you got this error because of incompatible ...READ MORE

Apr 22, 2020 in Machine Learning by MD
• 95,440 points
10,687 views
0 votes
1 answer

error: command 'gcc' failed with exit status 1

Hi@akhtar, I don't know which steps you followed. ...READ MORE

Sep 7, 2020 in Machine Learning by MD
• 95,440 points
4,635 views
0 votes
1 answer

ValueError: Found input variables with inconsistent numbers of samples: [616, 308]

Hi@Alshwarya, I think there is a problem with your ...READ MORE

Sep 23, 2020 in Machine Learning by MD
• 95,440 points
3,922 views
0 votes
0 answers

ValueError: Found input variables with inconsistent numbers of samples: [11, 3988]

After reshaping also I am getting the ...READ MORE

Aug 27, 2020 in Machine Learning by sairam
• 160 points

edited Aug 27, 2020 by MD 5,043 views
0 votes
1 answer

If both negative and positive skewness are present in data set,then how it can be removed??

Hi@shama, It depends on your use case. If ...READ MORE

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

ERROR: PyAudio-0.2.11-cp39-cp39-win32.whl is not a supported wheel on this platform.

Hi@akhtar, You should download the version that is ...READ MORE

Sep 7, 2020 in Machine Learning by MD
• 95,440 points
4,423 views
0 votes
1 answer

Error message because of quotation mark

Hello, Try this: summary(data[["diff`GBP/EUR`"]]) Hope it works! ...READ MORE

Nov 30, 2020 in Machine Learning by Niroj
• 82,880 points
351 views
0 votes
1 answer

AttributeError: module 'matplotlib' has no attribute 'scatter'

Hi@akhtar, To avoid this error, make sure you ...READ MORE

Apr 16, 2020 in Machine Learning by MD
• 95,440 points
10,175 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,015 views