Path: blob/master/Time Forecasting using Python/Day 8 Headcount using Forecasting Analysis multivariant .ipynb
3074 views
Kernel: Python 3 (ipykernel)
In [1]:
In [2]:
Out[2]:
In [3]:
Out[3]:
In [4]:
Out[4]:
Avg_Exp 0
count_emp 0
Year 0
dtype: int64
In [5]:
In [6]:
Out[6]:
In [7]:
In [8]:
In [9]:
Out[9]:
In [10]:
Out[10]:
587.2474967834119
In [11]:
Out[11]:
array([-0.0675335 , 0.16847947, -0.2546715 ])
In [12]:
In [14]:
In [15]:
Out[15]:
Train MSE: 212.8808
Test MSE: 178.1756
In [16]:
Out[16]:
Actual and Forecasted Values:
Actual Forecasted
293 79 76.418850
294 99 75.484546
295 83 73.641381
296 68 76.521465
297 67 77.041972
.. ... ...
362 64 75.242928
363 72 77.914728
364 78 78.155322
365 70 78.021641
366 68 78.578757
[74 rows x 2 columns]