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,035 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
412 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
679 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,755 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
1,979 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,314 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
985 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
335 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
865 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
769 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,114 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
378 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
405 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
322 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
502 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,057 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
387 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
955 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,119 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,943 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
624 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
753 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
367 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,146 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,270 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
2,971 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
976 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
682 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,265 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,436 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,096 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
541 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,682 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,230 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
536 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
415 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,702 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
420 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
530 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
419 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
7,940 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
596 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,093 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,661 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,335 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
295 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
854 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,416 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
278 views