Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save Tathagatd96/5cbf9120b6afa9c51c69ab64dfa25417 to your computer and use it in GitHub Desktop.
Save Tathagatd96/5cbf9120b6afa9c51c69ab64dfa25417 to your computer and use it in GitHub Desktop.
y_val= df["medianHouseValue"]
x_data=df.drop("medianHouseValue",axis=1)
X_train, X_eval,y_train,y_eval=train_test_split(x_data,y_val,test_size=0.3,random_state=101)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment