Computer Science and Engineering
(Artificial Intelligence & Machine Learning)
MATHS
MINIPROJECT
Statistical Techniques - fitting of exponential
curve
GROUP MEMBERS
AIMLD23_Rahul Kumawat
AIMLD12_Manish Gupta
AIMLD60_Abhishek Yadav
AIMLD62_Prince Yadav
CONTENT
Introduction
Types of fitting function
Fitting of Exponential function
Example
Application of curve fitting
INTRODUCTION
Curve fitting is a process of finding a functional relation
between x and y whose curve is the closet possible to the
given values is known as fitting of curve or curve fitting
TYPES OF FITTING FUNCTION
Linear function
Fitting a straight line
y=a+bx
Parabolic function
Fitting a parabola
y=a+bx+c x2
Exponential function
fitting of Exponential function
y=a bx
FITTING OF EXPONENTIAL FUNCTION
Exponential function having the eqution y=a bx
fitting the equatioin in such a way that every
point should be as close as possible to the curve
EXAMPLE
Calculate Fitting a exponential equation (y=axb) - Curve fitting
using Least square method
X=2,3,4,5
Y = 27.8 , 36.1 , 110 , 161
Solution:
The curve to be fitted is y=axb
taking logarithm on both sides, we get
log10y=log10a+blog10x
Y=A+bX where Y=log10y, A=log10a, X=log10x
which linear in Y,X
So the corresponding normal equations are
∑Y=nA+b∑X
∑XY=A∑X+b∑X2
EXAMPLE
The values are calculated using the following table
Substituting these values in the normal equations
4A+2.0792b=7.4854
2.0792A+1.1693b=4.0618
we obtain A=0.868 , b=1.9303
∴a=antilog10(A)=antilog10(0.868)=7.3791 And b=1.9303
Now substituting this values in the equation is y= y=a bx, we get
y=7.3791⋅ 1.9303x
APPLICATION OF CURVE FITTING
Curve fitting examines the relationship between one or
more predictors (independent variables) and a
response variable (dependent variable), with the goal
of defining a "best fit" model of the relationship
Machine Learning in its most basic distillation is
“curve fitting”. That is, if you have an algorithm that is
able to find the best fit of your mathematical model with
observed data, then that's Machine Learning.