Giter Site home page Giter Site logo

codepleaserun / polynomial-regression Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 567 KB

An interactive matlplotlib plot for polynomial regression

License: MIT License

Python 100.00%
mathematics matplotlib-pyplot regression python polynomial-regression matplotlib

polynomial-regression's Introduction

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

polynomial-regression's People

Contributors

codepleaserun avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.