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,380 points

edited Aug 11, 2021 by Soumya 50,467 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,380 points

edited Aug 11, 2021 by Soumya 46,477 views
0 votes
1 answer

what is C parameter in sklearn Logistic Regression?

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

Feb 24 in Machine Learning by Nandini
• 5,480 points
9,401 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,380 points

edited Aug 11, 2021 by Soumya 36,996 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 in Machine Learning by Nandini
• 5,480 points
4,935 views
0 votes
1 answer

What is "entropy and information gain"?

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

Mar 2 in Machine Learning by Dev
• 6,000 points
5,508 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 in Machine Learning by Nandini
• 5,480 points
3,426 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 in Machine Learning by Nandini
• 5,480 points
2,128 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 in Machine Learning by Dev
• 6,000 points
2,197 views
0 votes
1 answer

What does backbone mean in a neural network?

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

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

Run an OLS regression with Pandas Data Frame

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

Apr 4 in Machine Learning by Nandini
• 5,480 points
1,338 views
0 votes
0 answers

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

I wanted to learn about machine learning ...READ MORE

Apr 11 in Machine Learning by Dev
• 6,000 points
774 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 in Machine Learning by Nandini
• 5,480 points
754 views
0 votes
1 answer

Plot logistic regression curve in R

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

Apr 4 in Machine Learning by Nandini
• 5,480 points
1,021 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 in Machine Learning by Dev
• 6,000 points
354 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 in Machine Learning by Nandini
• 5,480 points
669 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 in Machine Learning by Dev
• 6,000 points
428 views
0 votes
1 answer

Minimum support and minimum confidence in Data Mining

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

Apr 4 in Machine Learning by Dev
• 6,000 points
834 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 in Machine Learning by Dev
• 6,000 points
543 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 in Machine Learning by Dev
• 6,000 points
866 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 in Machine Learning by Nandini
• 5,480 points
993 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 in Machine Learning by Dev
• 6,000 points
304 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 in Machine Learning by Dev
• 6,000 points
1,388 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 in Machine Learning by Dev
• 6,000 points
183 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 in Machine Learning by Nandini
• 5,480 points
409 views
0 votes
1 answer

chaid regression tree to table conversion in r

Partykit (recursive partitioning) tree structures are used ...READ MORE

Apr 12 in Machine Learning by Dev
• 6,000 points
149 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 in Machine Learning by Dev
• 6,000 points
439 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 in Machine Learning by Nandini
• 5,480 points
467 views
0 votes
0 answers

Controlled Variables in Logistic Regression in Python

I just learned what controlled variables mean ...READ MORE

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

How to use ICD10 Code in a regression model in R?

Using the concept of comorbidities is a ...READ MORE

Apr 12 in Machine Learning by Dev
• 6,000 points
89 views
0 votes
0 answers

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

Question: What's the difference between the bounding box(BB) ...READ MORE

Apr 11 in Machine Learning by Dev
• 6,000 points
129 views
0 votes
0 answers

How to add random and/or fixed effects into cloglog regression in R

Update question on treatment of one variable ...READ MORE

Apr 11 in Machine Learning by Dev
• 6,000 points
128 views
0 votes
0 answers

R Generalized Method Of Moments Regression Estimation With Instruments

I'm trying to train a regression model ...READ MORE

Apr 11 in Machine Learning by Dev
• 6,000 points
121 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 in Machine Learning by Dev
• 6,000 points
909 views
0 votes
1 answer

What is the difference between regression testing and mutation testing?

Regression testing is a test suite that ...READ MORE

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

Precipitation field in OpenWeatherMap API 2.5

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

Apr 11 in Machine Learning by Dev
• 6,000 points
138 views
0 votes
0 answers

Get fitted coefficient of linear regression equation

I have a dataset with predicted and ...READ MORE

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

discretization in weka

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

Apr 7 in Machine Learning by Nandini
• 5,480 points
262 views
0 votes
0 answers

100 samples of 20 from the dataset and drawing regression lines along with population regression line

I have a datasetwith two variables hours ...READ MORE

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

Sanity Testing vs Regression Testing?

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

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

eli5 show_prediction not showing probability

I was able to solve my own ...READ MORE

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

Bayesian Probability

Conditional independence does not always imply independence: ...READ MORE

Apr 11 in Machine Learning by Dev
• 6,000 points
94 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 in Machine Learning by Dev
• 6,000 points
830 views
0 votes
1 answer

Why is Pymc3 ADVI worse than MCMC in this logistic regression example?

This is a good query! Mean field ...READ MORE

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

Python Machine Learning/Data Science Project Structure

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

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

Help with Probability Equation

The likelihood of winning is equal to ...READ MORE

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

How to find the intersecting point in the regression line

To find the intersecting point use the ...READ MORE

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

Machine Learning: Unsupervised Backpropagation

The most frequent method is to train ...READ MORE

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

When should Data Binning be used in data processing?

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

Apr 7 in Machine Learning by Nandini
• 5,480 points
71 views