Linear Regression VisualizationMade with Python
A simple and iterative approach at a linear regression algorithm.
The function returns the slope and y-intercept and slope of the regression line, along with the R^2 value of the regression model.
Check out the GitHub repository if you want extra example cases: https://github.com/9ggy/Simple-Linear-RegressionRecent comments (1)9ggy2 years ago
Feel free to fork the Repl and try some different x, y values for yourself!