Latest questions in Machine Learning

0 votes
1 answer

How to choose the window size of CNN in deep learning?

There is no definitive solution to this ...READ MORE

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

Extract regression coefficient values

A quick rundown. These values are stored ...READ MORE

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

Can we use Normal Equation for Logistic Regression ?

Unfortunately, only one discriminative method in classification ...READ MORE

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

How to add outliers to a Linear Regression dataset?

You can directly add values to X ...READ MORE

Mar 30, 2022 in Machine Learning by Dev
• 6,000 points
1,163 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
390 views
0 votes
0 answers

Create random numbers with left skewed probability distribution

I would like to pick a number ...READ MORE

Mar 25, 2022 in Machine Learning by Dev
• 6,000 points
1,171 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

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

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

Random numbers with user-defined continuous probability distribution

You can use the rejection sampling approach ...READ MORE

Mar 25, 2022 in Machine Learning by Nandini
• 5,480 points
1,101 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 to plot support vectors for support vector regression?

The problem was solved after I improved ...READ MORE

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

What is Depth of a convolutional neural network?

The depth of a Deep Neural Network ...READ MORE

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

Negative coefficients in regression for positive coefficient of correlation

The situation you describe is not out ...READ MORE

Mar 25, 2022 in Machine Learning by Nandini
• 5,480 points
2,981 views
0 votes
1 answer
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
646 views
0 votes
1 answer

Understanding Polynomial Regression Equation with multiple Independent Variable

You can choose from the following options: Powers ...READ MORE

Mar 25, 2022 in Machine Learning by Nandini
• 5,480 points
797 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

Why do we use gradient descent in linear regression?

An example you gave is one-dimensional, which ...READ MORE

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

Logistic Regression with continuous data using sklearn in python

Despite the fact that it produces a ...READ MORE

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

Add regression line equation and R^2 on graph

Let us look at one of the ...READ MORE

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

Efficient online linear regression algorithm in python

To calculate 10k rows, and also to speed ...READ MORE

Mar 23, 2022 in Machine Learning by Nandini
• 5,480 points
1,003 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
709 views
0 votes
1 answer

Linear regression with gradient descent to predict house prices using area (one var) in python

Apart from instructional purposes, I'm not sure ...READ MORE

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

Understanding the probability of a double-six if i roll two dice

The chance of not getting a double ...READ MORE

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

Is Random Forest a linear or non linear regression model

RF divides your information into square boxes. ...READ MORE

Mar 23, 2022 in Machine Learning by Nandini
• 5,480 points
1,118 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

How to compute the probability of a value given a list of samples from a distribution in Python?

I recommend adopting a non-parametric density estimation ...READ MORE

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

Plotting joint probability of two random variable choices

Create pandas.DataFrame , you can use seaborn.jointplot ...READ MORE

Mar 23, 2022 in Machine Learning by Nandini
• 5,480 points
1,259 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

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

Scikit-Learn Linear Regression how to get coefficient's respective features?

What I discovered to be effective was ...READ MORE

Mar 17, 2022 in Machine Learning by Dev
• 6,000 points
1,734 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

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

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

How to extract the regression coefficient from statsmodels.api?

The coefficients can be obtained using the ...READ MORE

Mar 17, 2022 in Machine Learning by Dev
• 6,000 points
8,086 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

How to get a regression summary in scikit-learn like R does?

In sklearn, there is no R type ...READ MORE

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

Is P(A, B) probability equal to P(A intersection B)?

They both signify the same thing; the ...READ MORE

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

Asymptotic regression in Python?

If the problem persists, try using a ...READ MORE

Mar 15, 2022 in Machine Learning by Dev
• 6,000 points
1,369 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

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

R: Force regression coefficients to add up to 1

b1 + b2 = 1 Let us fit ...READ MORE

Mar 23, 2022 in Machine Learning by Nandini
• 5,480 points
1,459 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

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

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

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

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

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,182 views