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,496 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
367 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
516 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
565 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
421 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,370 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
396 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,107 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
340 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
385 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
618 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
564 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
524 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
550 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,978 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
906 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
436 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
433 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
433 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
1,001 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
873 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
292 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,275 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
316 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
715 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
866 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,024 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,001 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
375 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
696 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,144 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
508 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
675 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
345 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
337 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,038 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
559 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
519 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
349 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
309 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
792 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
596 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
429 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
456 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
783 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
636 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
408 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
500 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,099 views