Skip to content

Instantly share code, notes, and snippets.

@AyishaR
Created February 13, 2021 12:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save AyishaR/b371a35ebb0b484b98b6b2401c1c8b85 to your computer and use it in GitHub Desktop.
Save AyishaR/b371a35ebb0b484b98b6b2401c1c8b85 to your computer and use it in GitHub Desktop.
# Splitting into X (input) and y (output)
Xtrain, ytrain = np.array(train_df[input_columns]), np.array(train_df[output_columns])
Xval, yval = np.array(val_df[input_columns]), np.array(val_df[output_columns])
Xtest, ytest = np.array(test_df[input_columns]).astype('float16'), np.array(test_df[output_columns])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment