Skip to content

Instantly share code, notes, and snippets.

@burnpiro
Created Aug 6, 2020
Embed
What would you like to do?
unnormalized_train_data = extract_data(path_to_train_file)
normalized_train_data, train_scale = preproc_data(unnormalized_train_data, norm_cols, scale_cols)
// Create and train model
unnormalized_test_data = extract_data(path_to_test_file)
normalized_test_data, _ = preproc_data(unnormalized_test_data, norm_cols, scale_cols, train_scale)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment