Most voted questions in Machine Learning

0 votes
1 answer

ERROR: Could not install packages opencv-contrib-python due to an EnvironmentError: [WinError 5] Access is denied:

Hi@akhtar, I think you are trying to install ...READ MORE

Apr 20, 2020 in Machine Learning by MD
• 95,440 points
9,125 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, 2020 in Machine Learning by akhtar
• 38,230 points
15,568 views
0 votes
1 answer

How to add one new column in an existing dataset?

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

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

AttributeError: module 'matplotlib' has no attribute 'scatter'

Hi@akhtar, To avoid this error, make sure you ...READ MORE

Apr 16, 2020 in Machine Learning by MD
• 95,440 points
10,206 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, 2020 in Machine Learning by MD
• 95,440 points
5,866 views
0 votes
1 answer

ImportError: cannot import name 'train_test_split' from 'sklearn.linear_model

Hi@MD, I think in your version, linear_model  don't have train_test_split ...READ MORE

Apr 13, 2020 in Machine Learning by akhtar
• 38,230 points
7,611 views
0 votes
1 answer

How to import one Machine Learning model?

Hi@akhtar, To import one pre-created ML model, you ...READ MORE

Apr 13, 2020 in Machine Learning by MD
• 95,440 points
541 views
0 votes
1 answer

How to save machine learning model?

Hi@akhtar, To save your Machine Learning model, you ...READ MORE

Apr 13, 2020 in Machine Learning by MD
• 95,440 points
703 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, 2020 in Machine Learning by MD
• 95,440 points
16,503 views
0 votes
1 answer
0 votes
3 answers

What are some best examples of AI applications in our daily life?

Hi Michael, You don’t need to be a ...READ MORE

Apr 9, 2020 in Machine Learning by Albert
• 160 points
1,797 views
0 votes
0 answers

NameError: name '_train' is not defined

Mar 30, 2020 in Machine Learning by anonymous
• 120 points
2,688 views
0 votes
0 answers

How to improve deeplearning model performance?

Using early stopping my model stops training ...READ MORE

Mar 24, 2020 in Machine Learning by Anan
• 180 points

edited Mar 24, 2020 by Anan 602 views
0 votes
1 answer

After installation of tensorflow ,attribute error: no Session module exists

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

Mar 16, 2020 in Machine Learning by Sirajul
• 59,230 points
765 views
0 votes
0 answers

machine learning engineer

Hello, I would like to know if ...READ MORE

Mar 3, 2020 in Machine Learning by Axel
• 120 points

edited Mar 4, 2020 by Gitika 369 views
0 votes
0 answers

derivion logistic regresion from odds function

Feb 7, 2020 in Machine Learning by GANJI
• 120 points
450 views
0 votes
1 answer

Need help to select good high configuration laptop for doing ML,NLP ?

Get the RAM of max size available, ...READ MORE

Feb 4, 2020 in Machine Learning by Nishant
579 views
0 votes
1 answer

How to know if a problem is solvable by machine learning?

Transitioning from learning machine learning algorithms through ...READ MORE

Dec 13, 2023 in Machine Learning by anonymous
• 1,180 points
598 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
599 views
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
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,521 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,008 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
820 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
0 answers

Transition matrix to have percentages instead of default probability - Markov chain

While using Markov chain, is it possible ...READ MORE

Aug 3, 2019 in Machine Learning by Laksha
710 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,437 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
642 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,870 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
687 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
851 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,613 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
984 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