ramp-kits / air_passengers

Air passengers RAMP starting kit
https://www.ramp.studio/problems/air_passengers
6 stars 29 forks source link

Scoring method fix #2

Closed tostain closed 6 years ago

tostain commented 6 years ago

Dear maintainers of RAMP starting kits, this is a proposed fix to a deprecation warning into air_passengers_starting_kit.ipynb in this starting kit.

A DeprecationWarning is thrown on two occasions in air_passengers_starting_kit.ipynb due to the use of the deprecated mean_squared_error scoring method with the cross_val_scores function from scikit-learn. The use of neg_mean_squared_error scoring method is suggested instead.

Should you accept this pull request, you may wish to regenerate the file in jupyter.

Kind regards,

(Refers to DeprecationWarning: Scoring method mean_squared_error was renamed to neg_mean_squared_error in version 0.18 and will be removed in 0.20.)

kegl commented 6 years ago

Thanks!