Skip to content

Instantly share code, notes, and snippets.

@edenau
Last active December 27, 2019 16:41
Show Gist options
  • Save edenau/95fa2ebc761b5a2ce3b5bc6389eec9d9 to your computer and use it in GitHub Desktop.
Save edenau/95fa2ebc761b5a2ce3b5bc6389eec9d9 to your computer and use it in GitHub Desktop.
train_ratio = 0.7
num_train_datum = int(train_ratio*X_num_col)
X_raw_train = X_raw[:,0:num_train_datum]
X_raw_test = X_raw[:,num_train_datum:]
y_raw_train = y_raw[:,0:num_train_datum]
y_raw_test = y_raw[:,num_train_datum:]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment