Skip to content

CodePleaseRun/polynomial-regression

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Polynomial Regression

An interactive matlplotlib plot for polynomial regression


Installation

git clone https://github.com/CodePleaseRun/polynomial-regression.git
cd polynomial-regression

Dependencies:

  • matplotlib
  • numpy
  • sympy

Usage

python main.py

OR

python main.py points

where points is the file containing data points to be interpolated

.95,2.01
2.10,3.89
2.98,9.15
4.01,15.92
5.11,25.2
5.88,35.94
7.06,48.85
7.97,64.18
9.12,81.03
10.08,99.93

  • Program will begin with a blank plot (unless data points are imported from points)

  • Double clicking anywhere in the axes will plot the point and will update the curve accordingly

  • Slider can be used to change the degree of the fitting curve (0 to 30)

  • More points can be added by double clicking anywhere. The curve will update automatically.


  • Reset button can be used to delete all the plots and start fresh

Licence

MIT

About

An interactive matlplotlib plot for polynomial regression

Topics

Resources

License

Stars

Watchers

Forks

Languages

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy