Skip to content

Instantly share code, notes, and snippets.

@risenW
Created July 10, 2019 21:18
Show Gist options
  • Save risenW/7926130860609c24a7147f4bd443dfc4 to your computer and use it in GitHub Desktop.
Save risenW/7926130860609c24a7147f4bd443dfc4 to your computer and use it in GitHub Desktop.
from sklearn.linear_model import LinearRegression
lr_model = LinearRegression()
print("MAE Sccore: ", cross_validate(lr_model, 10, X_train, y_train))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment