Most viewed questions in Machine Learning

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,049 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,949 views
0 votes
1 answer

How to compute the probability of a value given a list of samples from a distribution in Python?

I recommend adopting a non-parametric density estimation ...READ MORE

Mar 23, 2022 in Machine Learning by Nandini
• 5,480 points
4,676 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,641 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,631 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,428 views
0 votes
1 answer

Disadvantages of using decision tree?

Even though the decision tree algorithm has ...READ MORE

May 13, 2019 in Machine Learning by Jinu
4,348 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,440 points
4,291 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,440 points
4,119 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,924 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,440 points
3,920 views
0 votes
1 answer

Advantages of using decision tree?

These are the advantages of using a ...READ MORE

May 13, 2019 in Machine Learning by Mahima
3,907 views
0 votes
1 answer

Run an OLS regression with Pandas Data Frame

I believe you may almost achieve your ...READ MORE

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

AttributeError: module 'tensorflow' has no attribute 'estimator'.

Hi@akhtar, There was an environment issue, tensorflow was ...READ MORE

Apr 23, 2020 in Machine Learning by MD
• 95,440 points
3,579 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,514 views
0 votes
1 answer

AttributeError: module 'tensorflow.compat' has no attribute 'v1'

Hi@Usman, It seems you are using an older ...READ MORE

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

ImportError: No module named seaborn

Hi@akhtar, By default it comes with Anaconda but ...READ MORE

Apr 28, 2020 in Machine Learning by MD
• 95,440 points
3,487 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,463 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,440 points
3,359 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,218 views
0 votes
1 answer

Python code for executing decision tree algorithm

Hey! Try this: # Run this program on ...READ MORE

May 13, 2019 in Machine Learning by Haseeb
3,154 views
0 votes
1 answer

Logistic Regression not working because of "unknown label type 'continuous'"?

The issue is because you're using a ...READ MORE

Mar 8, 2022 in Machine Learning by Dev
• 6,000 points
3,145 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,141 views
0 votes
1 answer

How to get a regression summary in scikit-learn like R does?

In sklearn, there is no R type ...READ MORE

Mar 15, 2022 in Machine Learning by Dev
• 6,000 points
3,086 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,061 views
0 votes
1 answer

When should Data Binning be used in data processing?

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

Mar 3, 2022 in Machine Learning by Nandini
• 5,480 points
3,013 views
0 votes
1 answer

Is there any difference between an activation function and a transfer function?

Transfer function and Activation function with respect ...READ MORE

Feb 21, 2022 in Machine Learning by Dev
• 6,000 points
3,013 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,008 views
0 votes
1 answer

Add regression line equation and R^2 on graph

Let us look at one of the ...READ MORE

Mar 23, 2022 in Machine Learning by Dev
• 6,000 points
2,958 views
0 votes
1 answer

Negative coefficients in regression for positive coefficient of correlation

The situation you describe is not out ...READ MORE

Mar 25, 2022 in Machine Learning by Nandini
• 5,480 points
2,941 views
0 votes
1 answer

What are different types of regressions?

There are three types of regressions: Linear regression: Linear ...READ MORE

May 10, 2019 in Machine Learning by Jinu
2,840 views
0 votes
1 answer

Lear regression using python error - ValueError: operands could not be broadcast together with shapes (1,3) (1,2)

Hey! Your array shapes seem inconsistent. Try ...READ MORE

May 24, 2019 in Machine Learning by Vaishu
2,815 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,803 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,762 views
0 votes
1 answer

Minimum support and minimum confidence in Data Mining

Yes, there is a mechanism for calculating ...READ MORE

Apr 4, 2022 in Machine Learning by Dev
• 6,000 points
2,742 views
0 votes
1 answer

Attribute selection in Decision tree Algorithm

If you have a dataset that consists ...READ MORE

May 14, 2019 in Machine Learning by Raj
2,691 views
0 votes
0 answers

NameError: name '_train' is not defined

Mar 30, 2020 in Machine Learning by anonymous
• 120 points
2,679 views
0 votes
1 answer

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

Hi@akhtar, Tensorflow 2.0 has eager_execution enabled by default and ...READ MORE

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

Time series analysis - Machine learning python

With machine learning and analysis, its always ...READ MORE

Aug 2, 2019 in Machine Learning by Vinod
2,649 views
0 votes
1 answer

What does backbone mean in a neural network?

According to my understanding, the "backbone" refers ...READ MORE

Apr 4, 2022 in Machine Learning by Dev
• 6,000 points
2,515 views
0 votes
1 answer

Can I draw a regression line and show parameters using scatterplot with a pandas dataframe?

There isn't a parameter for DataFrame.plot(). Seaborn, ...READ MORE

Mar 7, 2022 in Machine Learning by Dev
• 6,000 points
2,473 views
0 votes
1 answer

What is difference between loss function and RMSE in Machine Learning?

The loss function is a function of ...READ MORE

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

Linear Regression :: Normalization (Vs) Standardization

Your data is transformed into a range ...READ MORE

Mar 8, 2022 in Machine Learning by Dev
• 6,000 points
2,434 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,291 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,440 points
2,290 views
0 votes
1 answer

What is decision tree algorithm?

A decision tree is a map of ...READ MORE

May 13, 2019 in Machine Learning by Upadhya
2,278 views
0 votes
1 answer

difference between classification and regression in k-nearest neighbor?

In classification tasks, the user tries to ...READ MORE

Mar 4, 2022 in Machine Learning by Dev
• 6,000 points
2,273 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,440 points
2,271 views
0 votes
1 answer

Logistic Regression with continuous data using sklearn in python

Despite the fact that it produces a ...READ MORE

Mar 23, 2022 in Machine Learning by Dev
• 6,000 points
2,263 views
0 votes
1 answer

What is LassoLars? - Linear regression

LassoLars is a lasso model implemented using ...READ MORE

May 22, 2019 in Machine Learning by Basu
2,236 views