Most viewed questions in Machine Learning

+1 vote
1 answer

ValueError: Not enough values to unpack

Make the following changes in your script, ...READ MORE

Jun 24, 2019 in Machine Learning by Omkar
• 68,860 points
3,099 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
1,421 views
0 votes
1 answer

What is greedy approach in Decision tree algorithm?

“Greedy Approach is based on the concept ...READ MORE

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

Different types of Logistic Regression

There are three main types of logistic ...READ MORE

May 13, 2019 in Machine Learning by Nikhil
812 views
0 votes
1 answer

ValueError: Input contains NaN, infinity or a value too large for dtype('float32')

Assuming X_test is a pandas dataframe, you ...READ MORE

May 23, 2019 in Machine Learning by Maya
757 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
629 views
0 votes
0 answers

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

i am building an Rasa chatbot but ...READ MORE

Nov 3, 2019 in Machine Learning by Usman
• 120 points
623 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
571 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
451 views
0 votes
1 answer

Time series analysis - Machine learning python

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

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

Difference between reinforcement learning and supervised learning?

In reinforcement learning, the output depends on ...READ MORE

May 8, 2019 in Machine Learning by Nipun
428 views
0 votes
1 answer

Can you give an example for isotonic regression?

Have a look at this one, It's ...READ MORE

Jun 3, 2019 in Machine Learning by Mihir
424 views
0 votes
1 answer

How do I convert a pandas dataframe to a numpy array using python?

Try something like this: df.values array([[nan, 0.2, nan], ...READ MORE

May 22, 2019 in Machine Learning by Krishti
399 views
+1 vote
1 answer

how to analysis the heatmap to find the correlation

Hi @Vikas, there are 5 simple steps ...READ MORE

Sep 30, 2019 in Machine Learning by Vishal
363 views
0 votes
1 answer

Features of KNN algorithm

The KNN algorithm has the following features: KNN ...READ MORE

May 13, 2019 in Machine Learning by Vedant
348 views
0 votes
1 answer

Example of Logistic regression with python code

Have a look at this: import csv import ...READ MORE

May 13, 2019 in Machine Learning by Jinu
346 views
0 votes
0 answers

Hello I have some errors while implementing variational autoencoder

def dense_layers(sizes): return tfk.Sequential([tfkl.Dense(size, ...READ MORE

May 18, 2019 in Machine Learning by anonymous

edited May 20, 2019 by Omkar 325 views
0 votes
1 answer

Python code for basic linear regression

Hi @Dipti, you could try something like ...READ MORE

May 9, 2019 in Machine Learning by Vinod
312 views
0 votes
1 answer

What is Isotonic regression?

Isotonic regression builds an increasing approximation of ...READ MORE

Jun 3, 2019 in Machine Learning by Mohit
248 views
0 votes
1 answer

Example to run KNN algorithm using python

Have a look at this one: from sklearn.datasets ...READ MORE

May 8, 2019 in Machine Learning by Harvy
221 views
0 votes
1 answer

Numpy rounds very small number to zeros - Markov Chain(Python)

Use higher-precision floats, if available on your ...READ MORE

Aug 2, 2019 in Machine Learning by Harry
217 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
214 views
0 votes
1 answer

What is rolling linear regression?

Rolling regression is the analysis of changing ...READ MORE

May 23, 2019 in Machine Learning by Jinu
192 views
0 votes
1 answer

What is Gini Index in decision tree

Gini Index is a metric to measure ...READ MORE

May 14, 2019 in Machine Learning by Raj
170 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
168 views
0 votes
1 answer

Ignore the NaN and do the linear regression on remaining values

Yes, you can do this using statsmodels: import ...READ MORE

May 22, 2019 in Machine Learning by Hari
157 views
0 votes
1 answer

What are the techniques used in supervised learning?

There are two main techniques used in ...READ MORE

May 9, 2019 in Machine Learning by Kiran
124 views
0 votes
1 answer

Can you give LassoLars python example?

Hey @Vivek, Try something like this: >>> from ...READ MORE

May 22, 2019 in Machine Learning by Tanmay
122 views
0 votes
1 answer

What are different types of regressions?

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

May 9, 2019 in Machine Learning by Jinu
121 views
0 votes
1 answer

Python script for linear regression on panda dataframe

Use the following code: from scipy import stats slope, ...READ MORE

May 23, 2019 in Machine Learning by Imran
119 views
0 votes
1 answer

What is information gain? - Decision tree algo

You can use information gain to decide ...READ MORE

May 14, 2019 in Machine Learning by Raj
116 views
0 votes
1 answer

Process for mechanical engineer to become machine learning Engineer?

Hey! There are two main languages that ...READ MORE

Aug 20, 2019 in Machine Learning by Vishal
109 views
0 votes
1 answer

Checking spectral co-clustering also accuracy

Hi Vishal, you could try something like ...READ MORE

Jun 3, 2019 in Machine Learning by Yamini
102 views
0 votes
1 answer

What is correlation and its types?

Correlation is a statistical measure that shows ...READ MORE

May 9, 2019 in Machine Learning by Zulaikha
100 views
0 votes
1 answer

What is clustering in Machine Learning?

Clustering is a type of unsupervised learning ...READ MORE

May 9, 2019 in Machine Learning by Shridhar
99 views
0 votes
1 answer

What is KNN algorithm?

KNN which stand for K Nearest Neighbor ...READ MORE

May 13, 2019 in Machine Learning by Jinu
97 views
0 votes
1 answer

How do I create a decision tree?

Let us consider the following example. Suppose a ...READ MORE

May 13, 2019 in Machine Learning by Fatima
92 views
0 votes
1 answer

Show python implementation of Lasso class - regression

Hey @Tanmay, try something like this: >>> from ...READ MORE

May 22, 2019 in Machine Learning by Vedant
86 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
85 views
0 votes
1 answer

What are the techniques used in unsupervised learning?

There are two main techniques used in ...READ MORE

May 9, 2019 in Machine Learning by Rhea
83 views
0 votes
1 answer

What is Unsupervised Learning?

Unsupervised Learning is the training of machine ...READ MORE

May 8, 2019 in Machine Learning by Alok
77 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
75 views
0 votes
1 answer

Real world applications of Machine Learning

Few real-world applications of machine learning are  Have ...READ MORE

May 9, 2019 in Machine Learning by Jinu
73 views
0 votes
1 answer

What is the process involved in machine Learning?

Discussing this on a high level, these ...READ MORE

May 9, 2019 in Machine Learning by Rhea
71 views
+1 vote
0 answers

text mining new set of data in production environment expect training feature

Hi, I have trained a model based on ...READ MORE

Nov 28, 2019 in Machine Learning by Manu
• 130 points
70 views
0 votes
1 answer

Real-time applications of machine learning on an industrial level

Traffic Alerts (Maps) Now, Google Maps is probably THE app we use ...READ MORE

Nov 21, 2019 in Machine Learning by Kisley
62 views
0 votes
1 answer

Create a Markov Model that can generate text simulations by studying Donald Trump speech data set.

The logic here is simple. Apply Markov Property ...READ MORE

Aug 1, 2019 in Machine Learning by Zaid
62 views
0 votes
1 answer

Clustering algorithms

These are the clustering algorithms that are ...READ MORE

May 9, 2019 in Machine Learning by Nisha
62 views
0 votes
1 answer

When do I use simple exponential smoothing and what is the math behind it?

Hey @Ruth, you can use this model ...READ MORE

Aug 1, 2019 in Machine Learning by Ashish
60 views
0 votes
0 answers

Train-test split with 20% of data set aside - ML

I have an assignment of Making a ...READ MORE

May 24, 2019 in Machine Learning by Kim
60 views