Linked Questions

2 votes
2 answers
3k views

sklearn Linear Regression vs Batch Gradient Descent

tldr: Why would sklearn LinearRegression give a different result than gradient descent? My understanding is that LinearRegression is computing the closed form solution for linear regression (...
bradm707's user avatar
0 votes
2 answers
1k views

How is the linear regression optimize in R and Python?

I am currently working a lot with R and Python. I am not able to access the C code the the R function lm_fit. I am wondering how is the linear regression optimize in R and python ? I am pretty sure ...
Nico Coallier's user avatar
1 vote
1 answer
266 views

Is stochastic gradient descent unable to learn more complex models which batch gradient descent can learn?

Here's a toy dataset. ...
Denziloe's user avatar
  • 1,203
1 vote
0 answers
532 views

Linear Regression using Matrices vs. Covariance(x,y) / Var(x)

From taking some online linear regression courses (Stanford Machine Learning and John Hopkins Linear Regression) it seems that there are at least three ways of finding a the coefficients of a linear ...
Brian Flynn's user avatar
1 vote
1 answer
246 views

The best line fit can be found analytically by the least squares method. So can we say that linear regression (least squares) has an optimizer?

The best line fit can be found analytically by the least squares method. So can we say that linear regression (least squares) has an optimizer? For example, for logistic regression I can use an ...
user avatar
1 vote
0 answers
85 views

Linear least squares algorithms

I have stumbled across these two questions and accepted answers: (1) Do we need gradient descent to find the coefficients of a linear regression model? (2) Why use gradient descent for linear ...
user3617992's user avatar

15 30 50 per page
1
2