9ggy egg
@9ggy
very fun
Linear Regression Visualization
Made with PythonA 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-Regression
Recent comments (1)9ggy2 years agoFeel free to fork the Repl and try some different x, y values for yourself!
Repls
Community
All Repls