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,621 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
545 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
706 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,507 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,801 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,965 views
0 votes
0 answers

NameError: name '_train' is not defined

Mar 30, 2020 in Machine Learning by anonymous
• 120 points
2,693 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
766 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 373 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,922 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,146 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
600 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
604 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
516 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,522 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,086 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
824 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 813 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
712 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,443 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
646 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,877 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
781 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,672 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
689 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,563 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,085 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
770 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
507 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,536 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
852 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,155 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,719 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,596 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,845 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,629 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,247 views