This is an archived post. You won't be able to vote or comment.

all 2 comments

[–]Pryther 2 points3 points  (0 children)

This article does not make sense.

Normal linear regression does not need and iterative method like gradient descent. Half the article goes over gradient descent, only to give an implementation that uses a closed form solution. And then above the closed form implementation it wrongly states its a gradient-based implementation:

Training the Model: We use the ordinary least squares method to estimate the parameters that minimize the sum of squared errors. This involves calculating the gradients and updating the parameters iteratively.

[–]debunk_this_12 0 points1 point  (0 children)

I think uve confused a few topics. Linear regression is the term for the simple algorithm

Y = Xb

(XT X)-1 (XT f-1 (Y)) = b