Most viewed questions in Machine Learning

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,182 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,136 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,115 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,113 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,103 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,098 views
0 votes
1 answer

ImportError: No module named imgaug

Hi@akhtar, You need to install the imgaug module ...READ MORE

Jul 13, 2020 in Machine Learning by MD
• 95,440 points
2,046 views
0 votes
1 answer

Error: while loading mnist dataset in jupyter!

Hi@akhtar, Instead of using sklearn dataset, you can use ...READ MORE

May 8, 2020 in Machine Learning by MD
• 95,440 points
2,002 views
0 votes
1 answer

Plot logistic regression curve in R

The Code looks something like this: fit = ...READ MORE

Apr 4, 2022 in Machine Learning by Nandini
• 5,480 points
1,991 views
0 votes
1 answer
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
1,980 views
0 votes
1 answer

Python code for basic linear regression

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

May 10, 2019 in Machine Learning by Vinod
1,940 views
0 votes
1 answer

How can I increase the accuracy of my Linear Regression model?(machine learning with python)

Your question is quite broad, and there ...READ MORE

Mar 30, 2022 in Machine Learning by Dev
• 6,000 points
1,939 views
0 votes
1 answer

Linear Discriminant Analysis vs Naive Bayes

There are no standards fixed as to ...READ MORE

Feb 10, 2022 in Machine Learning by Nandini
• 5,480 points
1,922 views
0 votes
1 answer

ImportError: cannot import name minimum_spanning_tree

Hi@akhtar, I think there may be problem in ...READ MORE

Apr 20, 2020 in Machine Learning by MD
• 95,440 points
1,888 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,879 views
0 votes
1 answer

What are the techniques used in supervised learning?

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

May 10, 2019 in Machine Learning by Kiran
1,867 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,814 views
0 votes
1 answer

What are unit tests, integration tests, smoke tests, and regression tests?

Unit test: Specify and test one point ...READ MORE

Mar 7, 2022 in Machine Learning by Dev
• 6,000 points
1,804 views
0 votes
0 answers

how can i make menus in google dialogflow chatbot??

I am working on a chatbot for ...READ MORE

Apr 29, 2020 in Machine Learning by Ankit
• 120 points
1,800 views
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,766 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,755 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,755 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,698 views
0 votes
1 answer

How to save CNN model in keras?

Hi@akhtar, You can save your CNN model in keras. For ...READ MORE

May 19, 2020 in Machine Learning by MD
• 95,440 points
1,684 views
0 votes
1 answer

Simple algorithm for generating random numbers with bigger/smaller probability

To move the density in one way, ...READ MORE

Apr 4, 2022 in Machine Learning by Nandini
• 5,480 points
1,683 views
0 votes
1 answer

Scikit-Learn Linear Regression how to get coefficient's respective features?

What I discovered to be effective was ...READ MORE

Mar 17, 2022 in Machine Learning by Dev
• 6,000 points
1,669 views
+1 vote
1 answer

How to load CNN model in keras?

Hi@akhtar, You can load your pre-created model in ...READ MORE

May 18, 2020 in Machine Learning by MD
• 95,440 points
1,658 views
0 votes
1 answer

How to calculate probability in a normal distribution given mean & standard deviation?

This is how you do it. >>> import ...READ MORE

Apr 7, 2022 in Machine Learning by Nandini
• 5,480 points
1,648 views
0 votes
1 answer

Calculate the probability in R for sum of two dice rolls

By converting the outer values to a ...READ MORE

Apr 4, 2022 in Machine Learning by Nandini
• 5,480 points
1,638 views
0 votes
1 answer

Is P(A, B) probability equal to P(A intersection B)?

They both signify the same thing; the ...READ MORE

Mar 15, 2022 in Machine Learning by Dev
• 6,000 points
1,602 views
0 votes
1 answer

Error using sklearn and linear regression: shapes (1,16) and (1,1) not aligned: 16 (dim 1) != 1 (dim 0)

Based on documents LinearRegression. An x array ...READ MORE

Apr 13, 2022 in Machine Learning by anonymous
1,573 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,527 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,516 views
0 votes
1 answer

AttributeError: module 'coco' has no attribute 'CocoConfig'

Hi@akhtar, You need to import the coco module ...READ MORE

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

L2 regularization in Logistic regression vs NN

L2 Regularization is known as Ridge Regression. ...READ MORE

Mar 2, 2022 in Machine Learning by Nandini
• 5,480 points
1,513 views
0 votes
1 answer

Keras image binary classification, which class is assigned probability 0 and 1 ? Using Functional API

Not exactly.  If your sigmoid output was ...READ MORE

Mar 7, 2022 in Machine Learning by Dev
• 6,000 points
1,480 views
0 votes
1 answer

How can I import Elastic-Net, Lasso and Ridge regression in Pyspark?

Use the code and also refer to ...READ MORE

Apr 5, 2022 in Machine Learning by Dev
• 6,000 points
1,466 views
0 votes
1 answer

bias and variance calculation for linear regression

Evaluation of Variance: variance = np.var(prediction) # Where ...READ MORE

Mar 2, 2022 in Machine Learning by Nandini
• 5,480 points
1,415 views
0 votes
1 answer

error: command 'cl.exe' failed: No such file or directory

Hi@akhtar, The cl.exe is the MSFT C /C++ compiler and ...READ MORE

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

How to specify the prior probability for scikit-learn's Naive Bayes

In GaussianNB, there is a mechanism to ...READ MORE

Apr 7, 2022 in Machine Learning by Nandini
• 5,480 points
1,377 views
0 votes
1 answer

Calculate Z-Score from Probability Value - R programming

It's named qnorm qnorm(p=0.841344746068543) Output 1 The following family of functions ...READ MORE

Apr 4, 2022 in Machine Learning by Nandini
• 5,480 points
1,374 views
0 votes
1 answer

R: Force regression coefficients to add up to 1

b1 + b2 = 1 Let us fit ...READ MORE

Mar 23, 2022 in Machine Learning by Nandini
• 5,480 points
1,366 views
0 votes
1 answer

What is the process involved in machine Learning?

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

May 10, 2019 in Machine Learning by Rhea
1,294 views
0 votes
1 answer

Asymptotic regression in Python?

If the problem persists, try using a ...READ MORE

Mar 15, 2022 in Machine Learning by Dev
• 6,000 points
1,286 views
0 votes
1 answer

Python Machine Learning/Data Science Project Structure

In response to your question regarding reusing ...READ MORE

Mar 30, 2022 in Machine Learning by Dev
• 6,000 points
1,282 views
0 votes
1 answer

Example to run KNN algorithm using python

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

May 9, 2019 in Machine Learning by Harvy
1,269 views
0 votes
1 answer

What is the difference between a Confusion Matrix and Contingency Table?

Confusion Matrix is a classification matrix used ...READ MORE

Mar 2, 2022 in Machine Learning by Dev
• 6,000 points
1,257 views
0 votes
1 answer

Role of the bias in neural networks.

Hi@akhtar, The activation function in Neural Networks takes ...READ MORE

Jul 15, 2020 in Machine Learning by MD
• 95,440 points
1,242 views