Path: blob/master/ML Regression Analysis/5.1 Exponential equation .ipynb
3074 views
Kernel: Python 3 (ipykernel)
Non-Linear Regression with Python
Non-linear regression is used when data shows a curved or non-linear relationship between input features and output. Unlike linear regression which fits straight lines, non-linear regression can model more complex patterns.
What is Non-Linear Regression?
A regression technique used to model the relationship between a dependent variable and one or more independent variables when the model equation is non-linear in the parameters.
Exponential Regression
Equation:
Where:
( a ) = initial value
( b ) = growth or decay rate
( e ) = Euler’s number (~2.718)
Common Use Cases:
Population growth
Compound interest
Radioactive decay
In [1]:
Out[1]:
Fitted: a = 2.12, b = 1.48, R² = 0.9795
In [ ]: