Latest questions in Machine Learning

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,126 views
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
348 views
0 votes
1 answer
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
797 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,068 views
0 votes
1 answer

What is inductive bias in machine learning?

Inductive bias can be understood as an ...READ MORE

Feb 10, 2022 in Machine Learning by Nandini
• 5,480 points
3,228 views
0 votes
1 answer

Linear Discriminant Analysis vs Naive Bayes

There are no standards fixed as to ...READ MORE

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

Epoch vs Iteration when training neural networks

Epoch can be understood as the number ...READ MORE

Feb 10, 2022 in Machine Learning by Nandini
• 5,480 points
9,397 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
304 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
925 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
500 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
235 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
322 views
0 votes
1 answer

Which industries use AI and Machine Learning?

Industries such as healthcare, finance, retail, manufacturing, ...READ MORE

Jul 3, 2023 in Machine Learning by anonymous
• 1,380 points
306 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,059 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,173 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,779 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
849 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,826 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,121 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,527 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
550 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
353 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,466 views
0 votes
1 answer

How can I train a model and calculate the accuracy of CBR algorithm?

Hi@Abubakar, You can find lots of documents on ...READ MORE

Oct 17, 2020 in Machine Learning by MD
• 95,440 points
555 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,315 views
0 votes
1 answer

How to determine the correct kernel function?

Hi@Ogun, It depends on your dataset. First thing ...READ MORE

Oct 12, 2020 in Machine Learning by MD
• 95,440 points
416 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
993 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,932 views
0 votes
1 answer

tensorflow is installed but when importing in pycharm gets an error

Hi@soniya, This problem is related to the version. ...READ MORE

Sep 14, 2020 in Machine Learning by MD
• 95,440 points
3,073 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,433 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,647 views
0 votes
1 answer

AttributeError: 'module' object has no attribute 'PyAudio'

Hi@akhtar, You may get this error if you ...READ MORE

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

error in installing watson-machine-learning-client

Hi@akhtar, You may get this error if you ...READ MORE

Sep 7, 2020 in Machine Learning by MD
• 95,440 points
622 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,057 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,097 views
0 votes
1 answer

How to import the BatchNormalization function in Keras?

Hi@akhtar, The general use case is to use ...READ MORE

Jul 29, 2020 in Machine Learning by MD
• 95,440 points
3,162 views
0 votes
1 answer

Python error invalid literal

Hi, I think you are trying to convert ...READ MORE

Jul 21, 2020 in Machine Learning by MD
• 95,440 points
469 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,562 views
0 votes
1 answer

problem with Found input variables with inconsistent numbers of samples: [1204, 134]

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

Jul 20, 2020 in Machine Learning by MD
• 95,440 points
4,653 views
0 votes
1 answer

Where is the Keras configuration file stored?

Hi@akhtar, The Keras configuration file is a JSON ...READ MORE

Jul 15, 2020 in Machine Learning by MD
• 95,440 points
748 views
0 votes
3 answers

How to train a Keras model on multiple GPUs?

Hello there, With the latest commit and release ...READ MORE

Jul 17, 2020 in Machine Learning by Lily
• 260 points
3,018 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,272 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,749 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,520 views
0 votes
1 answer

How to load a model from an HDF5 file in Keras?

Hi@akhtar, If you stored the complete model, not ...READ MORE

Jul 14, 2020 in Machine Learning by MD
• 95,440 points
5,898 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
928 views
0 votes
1 answer

error: command 'cl.exe' failed: No such file or directory

Hi@akhtar, The cl.exe is the MSFT C /C++ compiler and ...READ MORE

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

ImportError: No module named copyreg

Hi@akhtar, You can upgrade to six-1.10.x using $ easy_install ...READ MORE

Jul 13, 2020 in Machine Learning by MD
• 95,440 points
1,296 views