Most answered questions in Machine Learning

0 votes
1 answer

Plot logistic regression curve in R

The Code looks something like this: fit = ...READ MORE

Apr 4, 2022 in Machine Learning by Nandini
• 5,480 points
2,065 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
437 views
0 votes
1 answer

Multitask/multioutput GPy Coregionalized Regression with non-Gaussian Likelihood and Laplace inference function

The issue isn't that you can't provide ...READ MORE

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

Simple algorithm for generating random numbers with bigger/smaller probability

To move the density in one way, ...READ MORE

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

How can I increase the accuracy of my Linear Regression model?(machine learning with python)

Your question is quite broad, and there ...READ MORE

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

Python Machine Learning/Data Science Project Structure

In response to your question regarding reusing ...READ MORE

Mar 30, 2022 in Machine Learning by Dev
• 6,000 points
1,336 views
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,014 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
362 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
880 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
800 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,157 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
387 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
416 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
336 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
515 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,099 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
394 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
983 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,164 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,975 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
640 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
792 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
384 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,168 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,299 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,037 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
997 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
705 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,289 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,809 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,117 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
559 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,738 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,254 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
561 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
432 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,732 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
434 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
547 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
430 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,075 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
613 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,133 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,693 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,361 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
312 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
867 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,447 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
288 views