Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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.

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)