Change regression_forecast method from using date class operator overloading to the basic method.
Add data options to the regression_forecast method.
What I found:
I think this code below in the regression_forecast method should be fixed. Because when the sample is defined and not the same as real data, it should not see another data except the sample right? and should not calculate from that too.
What I did:
What I found: