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

Cost Function, Linear Regression, trying to avoid hard coding theta. Octave.

In Octave/Matlab, you can use vectorize operations. ...READ MORE

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

Orange Data Mining and Logistic Regression

A statistical classification method that fits data ...READ MORE

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

Linear regression returning bad fit with large x values

To make the date values start at ...READ MORE

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

How can I convert PCFG in CNF for this grammar?

To answer your question. The CNF is given ...READ MORE

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

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

You're more likely to overfit the results ...READ MORE

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

R - plm regression with time in posix-format

To use in your model, I believe ...READ MORE

Apr 4, 2022 in Machine Learning by Nandini
• 5,480 points
993 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
3,052 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,964 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
1,218 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
1,300 views
0 votes
1 answer

How to perform regression algorithm on a textual data(IMDB reviews)?

You can use either word2vec or tf-idf ...READ MORE

Mar 30, 2022 in Machine Learning by Dev
• 6,000 points
997 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
1,114 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
1,041 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
1,038 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
1,304 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
1,280 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
1,243 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
1,291 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
988 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
1,629 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,765 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
1,735 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
1,656 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
2,071 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
1,065 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
1,061 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
1,444 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
1,042 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
1,465 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,847 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
966 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,982 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,788 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
948 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,820 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
1,100 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
1,227 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
1,372 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
1,203 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
984 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
1,309 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
1,337 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
943 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
1,548 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
1,233 views
0 votes
0 answers

Simple algorithm for generating random numbers with bigger/smaller probability

I'm currently working on a game, with ...READ MORE

Mar 26, 2022 in Machine Learning by Dev
• 6,000 points

edited Mar 4 236 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
1,215 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
1,411 views