Most answered questions in Machine Learning

0 votes
1 answer

What's the difference between the research of Machine learning and data mining?

Data mining research mainly revolves around gathering ...READ MORE

Nov 21, 2019 in Machine Learning by Amulya
513 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,520 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
10,081 views
0 votes
1 answer

KNN algorithm on iris dataset

if testSet[x][-1] is predictions[x]: change it to if ...READ MORE

Sep 4, 2020 in Machine Learning by anonymous
2,007 views
0 votes
1 answer

Error While Installing Tensorflow

To install tensorflow you need to have ...READ MORE

Sep 20, 2019 in Machine Learning by Sharan
819 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

edited Oct 14, 2022 by Srinath 812 views
0 votes
1 answer

Choose a random starting word for building markov chain

Hey @Greg, this is possible. You can ...READ MORE

Aug 2, 2019 in Machine Learning by Bhavya
467 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
5,436 views
0 votes
1 answer

Calculate probabilities for Markov Chain - Python

You have to use the tuples from ...READ MORE

Aug 2, 2019 in Machine Learning by Ishaan
816 views
0 votes
1 answer

Markov chain using processing - Python

Try something like this @Gujjar HashMap<String, int> wordCount; int ...READ MORE

Aug 2, 2019 in Machine Learning by Ashish
641 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
26,869 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 2, 2019 in Machine Learning by Zaid
778 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,664 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
686 views
0 votes
1 answer

How to compare expected and predicted values?

The predict() function returns a plain numpy ...READ MORE

Jul 14, 2019 in Machine Learning by Tina
12,552 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
767 views
0 votes
1 answer

Generate an array with constant block diagonal structure for biclustering.

Try this: import numpy as np from matplotlib import ...READ MORE

Jun 3, 2019 in Machine Learning by Vishal
504 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
2,139 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
1,534 views
0 votes
1 answer

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

Hi@Kim, You can use the train_test_split function to ...READ MORE

Jul 19, 2020 in Machine Learning by MD
• 95,440 points
849 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,820 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
9,148 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
1,715 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
1,590 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 23, 2019 in Machine Learning by Krishti
1,774 views
0 votes
1 answer

Create dataframe using Pandas - Linear Regression

You can read excel files df = pd.read_excel(...) You ...READ MORE

May 23, 2019 in Machine Learning by Neha
1,843 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
14,612 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
983 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,242 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
790 views
0 votes
1 answer

Ridge Regression Example

Hey @Nipun, you can try something like ...READ MORE

May 22, 2019 in Machine Learning by Umer
742 views
0 votes
1 answer

Are there any python libraries that do multiple regressions?

You can use sklearn.linear_model.LinearRegression. Something like this: from ...READ MORE

May 22, 2019 in Machine Learning by Vinay
480 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
2,160 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
2,167 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,695 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
7,602 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
1,798 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
14,250 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
724 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,360 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,918 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,165 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,282 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
1,906 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
11,528 views
0 votes
1 answer

Can an ML model be recreated or retrained?

Of course, your model is retrainable, in ...READ MORE

May 13, 2019 in Machine Learning by Hemant
405 views
0 votes
1 answer

Why data set always divided in training data and test data in regressions?

Let me explain the process of prediction ...READ MORE

May 11, 2019 in Machine Learning by Mishra
672 views
0 votes
1 answer

What is correlation and its types?

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

May 10, 2019 in Machine Learning by Zulaikha
2,126 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,847 views
0 votes
1 answer

Clustering algorithms

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

May 10, 2019 in Machine Learning by Nisha
869 views