Skip to content

Instantly share code, notes, and snippets.

@securetorobert
Created June 14, 2020 00:22
Show Gist options
  • Save securetorobert/6f3733a510f4b22bd970a1ee618400ad to your computer and use it in GitHub Desktop.
Save securetorobert/6f3733a510f4b22bd970a1ee618400ad to your computer and use it in GitHub Desktop.
Extract predictors and labels from boston
predictors = train_df[['rm']]
target = train_df['medv']
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment