Skip to content

Instantly share code, notes, and snippets.

@securetorobert
Created June 14, 2020 01:11
Show Gist options
  • Save securetorobert/210f40c6a1558f2b215cf5d472ddfb01 to your computer and use it in GitHub Desktop.
Save securetorobert/210f40c6a1558f2b215cf5d472ddfb01 to your computer and use it in GitHub Desktop.
Compare baseline predictions of LR estimator to ground truth of boston data
y_pred = lr.predict(X_test)
_preds_df = pd.DataFrame(dict(observed=y_test, predicted=y_pred))
_preds_df.head()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment