Trending questions in Machine Learning

+1 vote
1 answer

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

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

Apr 14 in Machine Learning by MD
• 53,620 points
9,585 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 in Machine Learning by MD
• 53,620 points
5,428 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

4 days ago in Machine Learning by MD
• 53,620 points
34 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 6 in Machine Learning by MD
• 53,620 points
89 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 6 in Machine Learning by MD
• 53,620 points
60 views
0 votes
1 answer

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

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

Sep 6 in Machine Learning by MD
• 53,620 points
36 views
0 votes
1 answer

error in installing watson-machine-learning-client

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

Sep 6 in Machine Learning by MD
• 53,620 points
16 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 in Machine Learning by sairam
• 160 points

edited Aug 27 by MD 179 views
0 votes
1 answer

ModuleNotFoundError: No module named 'keras'

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

Apr 23 in Machine Learning by MD
• 53,620 points
5,440 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 in Machine Learning by MD
• 53,620 points
7,577 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 in Machine Learning by MD
• 53,620 points
5,624 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 in Machine Learning by sairam
• 160 points
543 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 in Machine Learning by MD
• 53,620 points
114 views
0 votes
1 answer

ModuleNotFoundError: No module named 'tensorflow'

Hi@akhtar, To avoid this error, you can use ...READ MORE

Apr 21 in Machine Learning by MD
• 53,620 points
4,334 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 in Machine Learning by MD
• 53,620 points
39 views
0 votes
1 answer

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

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

Jul 13 in Machine Learning by MD
• 53,620 points
650 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 in Machine Learning by MD
• 53,620 points
352 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 in Machine Learning by MD
• 53,620 points
606 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 in Machine Learning by MD
• 53,620 points
445 views
0 votes
1 answer

Python error invalid literal

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

Jul 21 in Machine Learning by MD
• 53,620 points
44 views
0 votes
1 answer

ModuleNotFoundError: No module named 'cPickle'

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

Jul 14 in Machine Learning by MD
• 53,620 points
315 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 in Machine Learning by MD
• 53,620 points
3,844 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 16 in Machine Learning by Lily
• 260 points
82 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 in Machine Learning by MD
• 53,620 points
177 views
0 votes
1 answer

What is h5 model in Keras?

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

Jul 14 in Machine Learning by MD
• 53,620 points
160 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 in Machine Learning by MD
• 53,620 points
3,750 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 in Machine Learning by MD
• 53,620 points
153 views
0 votes
1 answer

Role of the bias in neural networks.

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

Jul 14 in Machine Learning by MD
• 53,620 points
70 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 in Machine Learning by MD
• 53,620 points
103 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 in Machine Learning by MD
• 53,620 points
97 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 in Machine Learning by MD
• 53,620 points
95 views
0 votes
1 answer

Where is the Keras configuration file stored?

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

Jul 14 in Machine Learning by MD
• 53,620 points
37 views
0 votes
1 answer

ImportError: No module named imgaug

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

Jul 13 in Machine Learning by MD
• 53,620 points
90 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 in Machine Learning by MD
• 53,620 points
30 views
+1 vote
1 answer

Determining the Dataset's behaviors

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

Jun 29 in Machine Learning by MD
• 53,620 points
51 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 in Machine Learning by MD
• 53,620 points
281 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 in Machine Learning by akhtar
• 24,030 points
2,459 views
0 votes
1 answer

How to convert categorical variable into dummy variable?

Hi@akhtar, You can do this task using pandas ...READ MORE

May 7 in Machine Learning by MD
• 53,620 points
1,459 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 in Machine Learning by MD
• 53,620 points
2,419 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 in Machine Learning by MD
• 53,620 points
1,624 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 in Machine Learning by MD
• 53,620 points
388 views
0 votes
1 answer

IndexError: tuple index out of range

Hi@akhtar, I don't know your use cases. But ...READ MORE

Apr 15 in Machine Learning by MD
• 53,620 points
1,749 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 18 in Machine Learning by MD
• 53,620 points
282 views
+1 vote
1 answer

ModuleNotFoundError: No module named 'mnist'

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

May 9 in Machine Learning by MD
• 53,620 points
636 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 in Machine Learning by MD
• 53,620 points
231 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,030 points
9,671 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 in Machine Learning by MD
• 53,620 points
248 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 in Machine Learning by MD
• 53,620 points
165 views
0 votes
1 answer

How to convert 1D array into 2D array using pandas?

Hi@akhtar, You can follow the below given codes to ...READ MORE

May 8 in Machine Learning by MD
• 53,620 points
636 views