Skip to content

Instantly share code, notes, and snippets.

@techwithshadab
Last active August 2, 2019 18:27
Show Gist options
  • Save techwithshadab/4f8d5788f2aa3b4404d0af31bcc0647c to your computer and use it in GitHub Desktop.
Save techwithshadab/4f8d5788f2aa3b4404d0af31bcc0647c to your computer and use it in GitHub Desktop.
from sklearn.model_selection import train_test_split
X_train, X_test, y_train, y_test = train_test_split(mar_budget,subs_gained,random_state=42,
train_size=0.8, test_size=0.2)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment