Skip to content

Instantly share code, notes, and snippets.

@astoeckl
Created August 20, 2018 09:00
Show Gist options
  • Save astoeckl/e3491187a8b02225b18d54070e98d9f1 to your computer and use it in GitHub Desktop.
Save astoeckl/e3491187a8b02225b18d54070e98d9f1 to your computer and use it in GitHub Desktop.
predict train
from scipy.stats.stats import pearsonr
ytrain = np.squeeze(regmodel.predict(X))
pearsonr(ytrain, y)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment