Latest questions in Machine Learning

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
544 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
704 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,505 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,799 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,961 views
0 votes
0 answers

NameError: name '_train' is not defined

Mar 30, 2020 in Machine Learning by anonymous
• 120 points
2,690 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 604 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 371 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, 2020 in Machine Learning by MD
• 95,440 points

edited Aug 11, 2021 by Soumya 61,909 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
580 views
+1 vote
2 answers

Is Sophia Humanoid ‘Limited Memory’ type of AI or ‘Reactive Machines’ type of AI?

Sophia is basically a chatbot with a ...READ MORE

Jan 29, 2020 in Machine Learning by Rakshi
2,142 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 MANOJ
• 130 points
633 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,380 points
599 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
601 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
515 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
+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,083 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,009 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
822 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,440 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
644 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,872 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
779 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,666 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
688 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,555 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,210 points
18,078 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
769 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
505 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,141 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,535 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,152 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,593 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,775 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,844 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,616 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
986 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,244 views