Path: blob/master/ML/Lab2_Nonlinear regression.ipynb
3074 views
Kernel: Python 3
Objective: Perform nonlinear and multivariate regression on energy data to predict oil price
In [15]:
Out[15]:
In [12]:
In [11]:
In [10]:
Out[10]:
Initial Objective: 153.0
In [8]:
Out[8]:
Final Objective: 0.07875701862695708
In [7]:
Out[7]:
Solution
A = 1.044240543983939
B = 0.9769542288806379
C = 0.02359961940577901
D = 0.022507757291054843
In [6]:
Out[6]:
R^2 correlation = 0.9964346365063944
In [4]:
Out[4]: