Trending questions in Machine Learning

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,492 views
0 votes
1 answer

Screening (multi)collinearity in a regression model

The kappa() function can be of assistance. ...READ MORE

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

probability of getting three of a kind by drawing 5 cards

from collections package import counter to count ...READ MORE

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

How to get early stopping for lasso regression

I believe you're referring to regularization. In ...READ MORE

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

Competitive Programming Algorithm Sock Drawing Probability Question

Another way to look at the problem ...READ MORE

Mar 25, 2022 in Machine Learning by Dev
• 6,000 points
417 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,364 views
0 votes
1 answer

Naive Bayes classifier bases decision only on a-priori probabilities

You seem to have trained the model ...READ MORE

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

How do I create a linear regression model in Weka without training?

Weka is a classification algorithm. This is ...READ MORE

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

Probability: the one true fish

What you're looking for is P(A|B), which ...READ MORE

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

Calculating (experimental) probability of head toss

To answer your question.  Refer to the code ...READ MORE

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

Supress table header in tbl_regression of gtsummary

After you've separated your table, use tbl ...READ MORE

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

Formula to calculate chance (probability) of a dice side based on its value

If I understand you correctly, you're looking ...READ MORE

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

Logistic regression coefficient meaning

What did the intercept teach you? It's ...READ MORE

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

How to calculate ctc probability for given input and expected output?

The loss for a batch is defined ...READ MORE

Mar 17, 2022 in Machine Learning by Dev
• 6,000 points
548 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,974 views
0 votes
1 answer

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

You could try something like this. my_nn = ...READ MORE

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

Which polynomial regression degree is significant ? depends of number of points or other parameters?

I must admit that the wording of ...READ MORE

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

Bad logistic regression in trivial example [scikit-learn]

This is due to the process of ...READ MORE

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

Identifying different regressions (Linear, Polynomial) from a graph and fit regression model accordingly

The constant part of your equation isn't ...READ MORE

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

What is alpha in ridge regression?

‘L2 regularization‘ or Ridge Regularization  adds penalty ...READ MORE

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

DBSCAN algorithm and clustering algorithm for data mining

You can use any distance function with ...READ MORE

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

Probability that a formula fails in IEEE 754

It is feasible to evaluate these things ...READ MORE

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

How does Label Encoder assigns the same number?

I am creating a dummy data set ...READ MORE

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

Getting one word as caption with zero probability using pretrained checkpoints for image captioning-im2txt

captiongenerator.py is a Python script that generates ...READ MORE

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

What's the difference between regression testing and mutation testing?

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

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

Why is random_state required for ridge & lasso regression classifiers?

This is because the regression coefficients of ...READ MORE

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

What is the difference between classification and prediction?

Classification is about classifying categorical variables in ...READ MORE

Feb 25, 2022 in Machine Learning by Dev
• 6,000 points
1,023 views
0 votes
1 answer

Is predicting number of sales a Regression or Classification problem?

The output will be discrete but the ...READ MORE

Feb 25, 2022 in Machine Learning by Dev
• 6,000 points
1,000 views
0 votes
1 answer

Empirical probability in R with x1+x2>2*x3

It's easy to duplicate random draws with ...READ MORE

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

Difference between Regression and classification in Machine Learning?

The goal of regression is to forecast ...READ MORE

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

Why there is the need of using regularization in machine learning problems?

In Machine Learning we often divide the dataset ...READ MORE

Feb 21, 2022 in Machine Learning by Dev
• 6,000 points
1,140 views
0 votes
1 answer

Classification vs Regression?

You are correct: categorization applies a label ...READ MORE

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

Is batch normalization useful for small networks?

Batch normalization is a technique that is ...READ MORE

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

How to export regression equations for grouped data?

First, you'll need a linear model with ...READ MORE

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

Choose specific number with probability

Examine the sample function. set.seed(1) sample(c(0,1), size=12, replace=TRUE, prob=c(0.2,0.8)) 1 ...READ MORE

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

difference between a cost function and the gradient descent equation in logistic regression?

Cost function is a way to evaluate ...READ MORE

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

feature selection for regression vs classification

There are various feature selection processes used ...READ MORE

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

How to resolve heteroscedasticity in Multiple Linear Regression in R?

Try to use a different form of ...READ MORE

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

Leela Chess Zero: how large is the probability vector in the output layer?

The next move's probability vector (called the ...READ MORE

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

What does regression test mean?

Regression testing is used to ensure that ...READ MORE

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

Can we use Normal Equation for Logistic Regression ?

Well not likely,  only one discriminative method ...READ MORE

Feb 24, 2022 in Machine Learning by Nandini
• 5,480 points
787 views
0 votes
0 answers

Difference between classification and regression, with SVMs

What is the exact difference between a ...READ MORE

Feb 28, 2022 in Machine Learning by Dev
• 6,000 points
593 views
0 votes
1 answer

What does dimensionality reduction mean?

Dimensionality reduction is used in Machine Learning ...READ MORE

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

Training and testing data in machine learning

Unsupervised learning is used with the K-means ...READ MORE

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

What is the difference between supervised learning and unsupervised learning?

Supervised and unsupervised learning are two types ...READ MORE

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

Alternatives to linear regression for dataset with many points with small value and some extreme values

The above situation is the case where ...READ MORE

Feb 25, 2022 in Machine Learning by Dev
• 6,000 points
633 views
0 votes
1 answer

What is the actual meaning implied by information gain in data mining?

Information gain works on the concept of ...READ MORE

Mar 2, 2022 in Machine Learning by Dev
• 6,000 points
405 views
0 votes
0 answers

Decision tree vs. Naive Bayes classifier

In which cases is it better to ...READ MORE

Feb 28, 2022 in Machine Learning by Dev
• 6,000 points
499 views
0 votes
1 answer

Epoch vs Iteration when training neural networks

In the language of neural networks, this ...READ MORE

Feb 10, 2022 in Machine Learning by CoolCoder
• 4,400 points
1,095 views