Skip to content

Instantly share code, notes, and snippets.

@carlleston
Created October 25, 2019 23:38
Show Gist options
  • Save carlleston/da84a93299b0bd94ef7deac517b0ccf8 to your computer and use it in GitHub Desktop.
Save carlleston/da84a93299b0bd94ef7deac517b0ccf8 to your computer and use it in GitHub Desktop.
X = df[['GDP','UnemploymentRate']]
y = df['Revenue']
X_train, X_test, y_train, y_test = train_test_split(X, y, test_size=0.2, random_state=0)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment