Skip to content

Instantly share code, notes, and snippets.

@DiogoRibeiro7
Created April 15, 2019 17:41
Show Gist options
  • Save DiogoRibeiro7/4a31c7940ed2672286547b243b35084c to your computer and use it in GitHub Desktop.
Save DiogoRibeiro7/4a31c7940ed2672286547b243b35084c to your computer and use it in GitHub Desktop.
X = processed_df.drop(['survived'], axis=1).values
y = processed_df['survived'].values
X_train, X_test, y_train, y_test = cross_validation.train_test_split(X,y,test_size=0.2)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment