Skip to content

Instantly share code, notes, and snippets.

@curiousily
Created April 2, 2019 21:28
Show Gist options
  • Save curiousily/0552f37c28f6142b00f6da91c5e4bd62 to your computer and use it in GitHub Desktop.
Save curiousily/0552f37c28f6142b00f6da91c5e4bd62 to your computer and use it in GitHub Desktop.
preds = reg.predict(X)
metrics.r2_score(y, preds)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment