Trending questions in Machine Learning

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
744 views
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,944 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
702 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,045 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,548 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
933 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,237 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
875 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
963 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
679 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,547 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
2,573 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
726 views
0 votes
1 answer
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
657 views
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
646 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
667 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
903 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
957 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
911 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
890 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,181 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,346 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
742 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,272 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,163 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
733 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,685 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
711 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,274 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,436 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
625 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
558 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,409 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
929 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,526 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
880 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
726 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,023 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
989 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
653 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,399 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 21 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
779 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
612 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
880 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
878 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,130 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
844 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,045 views