Curve Fitting

Curve fitting is the process of constructing a mathematical function/model with the best fit to a series of data points.

Curve Fitting to Model Data Points

In the Modeling Process training phase, curve fitting relates to model data points overfitting, underfitting and bias-variance tradeoff:

Bias-Variance Tradeoff.png

Curve Fitting to Algebraic and Trigonometric Functions

The illustrated example below shows four polynomial curves fitted to sine function data points:

First degree function (red):

Second degree function (green):

Third degree function (orange):

Fourth degree function (blue):

Source: Krishnavedala