Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/k4u5h4l/curve-fitting-from-scratch
A regression curve fitted on some points and implemented from scratch using python.
https://github.com/k4u5h4l/curve-fitting-from-scratch
curve-fitting jupyter-notebook numpy python regression
Last synced: 4 days ago
JSON representation
A regression curve fitted on some points and implemented from scratch using python.
- Host: GitHub
- URL: https://github.com/k4u5h4l/curve-fitting-from-scratch
- Owner: k4u5h4L
- Created: 2020-09-08T11:01:32.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2020-09-09T04:22:29.000Z (over 4 years ago)
- Last Synced: 2024-11-10T02:13:21.238Z (2 months ago)
- Topics: curve-fitting, jupyter-notebook, numpy, python, regression
- Language: Jupyter Notebook
- Homepage:
- Size: 222 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Curve-fitting & regression from scratch
This is my short implementation of fitting a curve on some given data (real world or otherwise), without using libraries like scikit-learn.
Made in python using numpy and pandas.
## Formula:
y = a + bx + cx2
Σy = n * a + b Σx + c Σx2
Σxy = a Σx + b Σx2 + c Σx3
Σx2y = a Σx2 + b Σx3 + c Σx4
## Note:
- The data is got from [kaggle](https://kaggle.com) from [this page](https://www.kaggle.com/andonians/random-linear-regression)