Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kolbewilliams/python-linear-regression-and-polynomial-curve-fitting
This project consists of 2 python programs. One allows the user to input a set of data points, and the range of slopes and intercepts they want to test. The program finds the optimal regression line by calculating the error of each slope, intercept combination. The second program performs polynomial curve fitting on user provided data points.
https://github.com/kolbewilliams/python-linear-regression-and-polynomial-curve-fitting
linear-regression polynomial-regression python
Last synced: about 2 months ago
JSON representation
This project consists of 2 python programs. One allows the user to input a set of data points, and the range of slopes and intercepts they want to test. The program finds the optimal regression line by calculating the error of each slope, intercept combination. The second program performs polynomial curve fitting on user provided data points.
- Host: GitHub
- URL: https://github.com/kolbewilliams/python-linear-regression-and-polynomial-curve-fitting
- Owner: KolbeWilliams
- Created: 2024-11-17T22:21:20.000Z (2 months ago)
- Default Branch: main
- Last Pushed: 2024-11-17T22:23:38.000Z (2 months ago)
- Last Synced: 2024-11-17T23:25:05.218Z (2 months ago)
- Topics: linear-regression, polynomial-regression, python
- Language: Python
- Homepage:
- Size: 301 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Python-Linear-Regression-and-Polynomial-Curve-Fitting
This project consists of 2 Python programs. One allows the user to input a set of data points, and the range of slopes and intercepts they want to test. The program calculates the error of each slope, intercept pair using the sum of squared errors (SSE) method. It then calculates the optimal regression line and plots it along with a 3D graph that displays all possible slope, intercept combinations and their error. The second program takes a set of data points provided by the user and calculates and plots a curve fitted to the data points. This program does not use built in functions so that the algorithm used for curve fitting is more evident.