Trending questions in Machine Learning

+1 vote
2 answers

ValueError: Found input variables with inconsistent numbers of samples: [1, 1000]

Hi@akhtar, Here you used x as your feature ...READ MORE

Apr 14, 2020 in Machine Learning by MD
• 95,460 points

edited Aug 11, 2021 by Soumya 58,008 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,460 points

edited Aug 11, 2021 by Soumya 63,192 views
0 votes
1 answer

Understanding the probability of a double-six if i roll two dice

The chance of not getting a double ...READ MORE

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

What is "entropy and information gain"?

Entropy is uncertainty/ randomness in the data, ...READ MORE

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

what is C parameter in sklearn Logistic Regression?

C is known as a "hyperparameter." The ...READ MORE

Feb 24, 2022 in Machine Learning by Nandini
• 5,480 points
21,098 views
0 votes
1 answer

R: Calculate and interpret odds ratio in logistic regression

A logit, or the log of the ...READ MORE

Apr 4, 2022 in Machine Learning by Nandini
• 5,480 points
17,142 views
0 votes
2 answers

Which industries use AI and Machine Learning?

AI is used in various industries like ...READ MORE

Jun 19 in Machine Learning by anonymous
• 450 points
580 views
+1 vote
1 answer

ModuleNotFoundError: No module named 'keras'

Hi@akhtar, I think this problem is related to ...READ MORE

Apr 23, 2020 in Machine Learning by MD
• 95,460 points

edited Aug 11, 2021 by Soumya 43,811 views
0 votes
1 answer

How to extract the regression coefficient from statsmodels.api?

The coefficients can be obtained using the ...READ MORE

Mar 17, 2022 in Machine Learning by Dev
• 6,000 points
9,661 views
0 votes
1 answer

Epoch vs Iteration when training neural networks

Epoch can be understood as the number ...READ MORE

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

How to compute the probability of a value given a list of samples from a distribution in Python?

I recommend adopting a non-parametric density estimation ...READ MORE

Mar 23, 2022 in Machine Learning by Nandini
• 5,480 points
5,379 views
0 votes
4 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
2,277 views
0 votes
1 answer

Run an OLS regression with Pandas Data Frame

I believe you may almost achieve your ...READ MORE

Apr 4, 2022 in Machine Learning by Nandini
• 5,480 points
4,271 views
+1 vote
1 answer

Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-8nhf9w2t/grpcio/

Hi@akhtar, You may get this error because of ...READ MORE

May 16, 2020 in Machine Learning by MD
• 95,460 points
32,887 views
0 votes
1 answer

Add regression line equation and R^2 on graph

Let us look at one of the ...READ MORE

Mar 23, 2022 in Machine Learning by Dev
• 6,000 points
3,683 views
0 votes
1 answer

Minimum support and minimum confidence in Data Mining

Yes, there is a mechanism for calculating ...READ MORE

Apr 4, 2022 in Machine Learning by Dev
• 6,000 points
3,291 views
0 votes
1 answer

Negative coefficients in regression for positive coefficient of correlation

The situation you describe is not out ...READ MORE

Mar 25, 2022 in Machine Learning by Nandini
• 5,480 points
3,482 views
0 votes
1 answer

How to get a regression summary in scikit-learn like R does?

In sklearn, there is no R type ...READ MORE

Mar 15, 2022 in Machine Learning by Dev
• 6,000 points
3,715 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
2,323 views
0 votes
1 answer

What does backbone mean in a neural network?

According to my understanding, the "backbone" refers ...READ MORE

Apr 4, 2022 in Machine Learning by Dev
• 6,000 points
2,823 views
0 votes
1 answer

Logistic Regression not working because of "unknown label type 'continuous'"?

The issue is because you're using a ...READ MORE

Mar 8, 2022 in Machine Learning by Dev
• 6,000 points
3,716 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
2,211 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
2,457 views
0 votes
1 answer

Logistic Regression with continuous data using sklearn in python

Despite the fact that it produces a ...READ MORE

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

When should Data Binning be used in data processing?

Mostly by trial and error. When you ...READ MORE

Mar 3, 2022 in Machine Learning by Nandini
• 5,480 points
3,523 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
2,120 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
2,248 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
2,355 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,945 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,954 views
0 votes
1 answer

Is there any difference between an activation function and a transfer function?

Transfer function and Activation function with respect ...READ MORE

Feb 21, 2022 in Machine Learning by Dev
• 6,000 points
3,800 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,963 views
0 votes
1 answer

different results for Random Forest Regression in R and Python

Random Forests, as others have mentioned, have ...READ MORE

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

Linear Regression :: Normalization (Vs) Standardization

Your data is transformed into a range ...READ MORE

Mar 8, 2022 in Machine Learning by Dev
• 6,000 points
3,130 views
0 votes
1 answer

Controlled Variables in Logistic Regression in Python

Control variables, as you may know, are ...READ MORE

Apr 14, 2022 in Machine Learning by anonymous
1,487 views
0 votes
1 answer

How to simulate first passage time probability in python for a random walk?

To begin with, you're now computing fp ...READ MORE

Apr 5, 2022 in Machine Learning by Dev
• 6,000 points
1,711 views
0 votes
2 answers

What's the difference between "BB regression algorithms used in R-CNN variants" vs "BB in YOLO" localization techniques?

The main distinction is that two-stage Faster ...READ MORE

Apr 14, 2022 in Machine Learning by anonymous
1,305 views
0 votes
1 answer

Can I draw a regression line and show parameters using scatterplot with a pandas dataframe?

There isn't a parameter for DataFrame.plot(). Seaborn, ...READ MORE

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

sklearn MLPClassifier - zero hidden layers (i.e. logistic regression)

You could try something like this: nn = ...READ MORE

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

Compute log loss for logistic regression from scratch

You have made  train_pred as python list. ...READ MORE

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

How to add outliers to a Linear Regression dataset?

You can directly add values to X ...READ MORE

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

discretization in weka

This should be self-evident. You can do it ...READ MORE

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

Sanity Testing vs Regression Testing?

Sanity testing entails ensuring that the application's ...READ MORE

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

What is inductive bias in machine learning?

Inductive bias can be understood as an ...READ MORE

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

difference between classification and regression in k-nearest neighbor?

In classification tasks, the user tries to ...READ MORE

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

Plotting logistic regression in R with the Smarket dataset

The first, third, and fourth methods of ...READ MORE

Apr 12, 2022 in Machine Learning by Dev
• 6,000 points
1,011 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,570 views
0 votes
1 answer

Precipitation field in OpenWeatherMap API 2.5

The data for upload in millimeters for ...READ MORE

Apr 11, 2022 in Machine Learning by Dev
• 6,000 points
1,015 views