-
-
Save amankharwal/05aa4413e494e84099c7969dfe304087 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
score=learner.score(X_test,Y_test)#testing the linear regression model | |
forecast= learner.predict(X_lately) #set that will contain the forecasted data | |
response={}#creting json object | |
response['test_score']=score | |
response['forecast_set']=forecast | |
print(response) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment