Skip to content

lopither/Polynomial-Fit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

Auto Degree Determinig Polynomial Fit Project

This project is a Polynomial Regression Fitting Tool that allows you to:

  • Input your own x and y values.
  • Automatically determine the best polynomial degree using the R² score.
  • View the resulting LaTeX equation of the polynomial.
  • Visualize the best-fit polynomial curve alongside your data points.

🚀 Features

  • ✅ Accepts custom data points entered by the user.
  • ✅ Automatically selects the optimal polynomial degree (avoiding overfitting).
  • ✅ Displays the polynomial equation in LaTeX format for easy use in reports/papers.
  • ✅ Provides the R² score as a goodness-of-fit measure.
  • ✅ Plots both data points and the best-fit curve with matplotlib.

Requirements

Make sure you have the following libraries installed:

pip install numpy matplotlib sympy scikit-learn

About

Auto determining polynomial fit system

Topics

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors