Most voted questions in Machine Learning

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,460 points
3,725 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,460 points
4,134 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,460 points
1,022 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,800 points
648 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 4,276 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,460 points
1,086 views
0 votes
1 answer
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,460 points
11,753 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,460 points
972 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,460 points
1,694 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,460 points
4,596 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,460 points
3,492 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,460 points
5,366 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,460 points
5,158 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,460 points
2,960 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,460 points
1,058 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,564 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,460 points
8,671 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,460 points
4,137 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,460 points
866 views
0 votes
2 answers

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

X_train, X_test, y_train, y_test = train_test_split( input ...READ MORE

Sep 29, 2021 in Machine Learning by SREEKANTH REDDY DADHIREDDY

edited Mar 5 15,875 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,460 points
5,895 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,460 points
1,341 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,666 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,460 points
1,955 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,460 points
15,506 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,460 points
14,337 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,460 points
6,741 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,460 points
1,316 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,460 points
2,046 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,460 points
2,070 views
0 votes
1 answer

AttributeError: module 'coco' has no attribute 'CocoConfig'

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

Jul 13, 2020 in Machine Learning by MD
• 95,460 points
2,077 views
0 votes
1 answer

module 'keras.engine.topology' has no attribute 'load_weights_from_hdf5_group_by_name'

Hi@akhtar, You need to clean your build dir ...READ MORE

Jul 13, 2020 in Machine Learning by MD
• 95,460 points
2,930 views
0 votes
1 answer

ImportError: No module named imgaug

Hi@akhtar, You need to install the imgaug module ...READ MORE

Jul 13, 2020 in Machine Learning by MD
• 95,460 points
2,847 views
0 votes
1 answer

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

Use tf.math.log READ MORE

Apr 23, 2021 in Machine Learning by Vipulnath

edited Mar 5 6,849 views
0 votes
1 answer

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

Hi@akhtar, In Tensorflow 2.0, there is no placeholder. ...READ MORE

Jul 13, 2020 in Machine Learning by MD
• 95,460 points
4,058 views
0 votes
1 answer

Found input variables with inconsistent numbers of samples:

Hi@sagar, You have converted your Dataframe into an ...READ MORE

Jul 13, 2020 in Machine Learning by MD
• 95,460 points
5,580 views
0 votes
1 answer

CondaValueError: prefix already exists: F:\Ansoft\android\envs\mask

Hi@akhtar, It seems that the conda environment is already created. ...READ MORE

Jun 22, 2020 in Machine Learning by MD
• 95,460 points
5,281 views
0 votes
1 answer

What is the best machine learning website?

Hi@akhtar You can find lots of website which ...READ MORE

May 20, 2020 in Machine Learning by MD
• 95,460 points
1,015 views
0 votes
1 answer

How to save CNN model in keras?

Hi@akhtar, You can save your CNN model in keras. For ...READ MORE

May 19, 2020 in Machine Learning by MD
• 95,460 points
2,290 views
0 votes
1 answer

SyntaxError: (unicode error) 'unicodeescape' codec can't decode bytes in position 2-3: truncated \UXXXXXXXX escape

Hi@akhtar, In your file_name_path you have to give ...READ MORE

May 19, 2020 in Machine Learning by MD
• 95,460 points
8,368 views
0 votes
1 answer

OSError: Unable to open file (truncated file: eof = 1277952, sblock->base_addr = 0, stored_eof = 17225924)

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

May 18, 2020 in Machine Learning by MD
• 95,460 points
5,180 views
0 votes
1 answer

ImportError: `load_weights` requires h5py.

Hi@akhtar, You are trying to use pre-created weight of ...READ MORE

May 18, 2020 in Machine Learning by MD
• 95,460 points
5,424 views
0 votes
0 answers

Not able to import images.

It show my syntax is incorrect.Please help ...READ MORE

May 15, 2020 in Machine Learning by sangeethstanly
• 120 points
991 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,460 points
2,070 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,460 points
1,630 views
0 votes
1 answer

Where can I start learning Artificial Intelligence and Machine learning?

Hi@akhtar, If you are a beginner then you ...READ MORE

May 13, 2020 in Machine Learning by MD
• 95,460 points
829 views
0 votes
1 answer

Can we change the sigmoid with tanh in Logistic regression transforms??

Hi@Deepanshu, Yes, you can use tanh instead of ...READ MORE

May 12, 2020 in Machine Learning by MD
• 95,460 points
3,048 views
0 votes
1 answer

How to perform convolution operation between two image pixels?

Hi@akhtar, This convolution function is a part of ...READ MORE

May 9, 2020 in Machine Learning by MD
• 95,460 points
1,125 views
0 votes
1 answer

Error: while loading mnist dataset in jupyter!

Hi@akhtar, Instead of using sklearn dataset, you can use ...READ MORE

May 8, 2020 in Machine Learning by MD
• 95,460 points
2,792 views