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,455 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
502 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
334 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
539 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
404 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
387 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,320 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,081 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
320 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
366 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
594 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
535 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
501 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
530 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,952 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
880 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
420 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
418 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
415 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
976 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
843 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
278 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,246 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
294 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
696 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
842 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,007 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
364 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
976 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
674 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,119 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
473 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
323 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
648 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
316 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,022 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
539 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
488 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
317 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
767 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
276 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
578 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
413 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
438 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
755 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
617 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
386 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
486 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,059 views