Solving the equation of simple linear regression
The article discusses several methods for determining the mathematical equation of a simple (pairwise) regression line. All the methods described here are based on the least squares method. We will denote the methods as follows: Analytical solution, Gradient descent, Stochastic gradient descent. For each method of solving the equation of the line, the article provides various functions, which are primarily divided into those written without […]
