Linked Questions
21 questions linked to/from Why use gradient descent for linear regression, when a closed-form math solution is available?
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 (...
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 ...
1
vote
1
answer
266
views
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 ...
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 ...
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 ...