Created
July 2, 2018 15:05
-
-
Save WillKoehrsen/68dd8ae9723a791c660d5bbf3b5d1734 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import csv | |
# File to save first results | |
out_file = 'gbm_trials.csv' | |
of_connection = open(out_file, 'w') | |
writer = csv.writer(of_connection) | |
# Write the headers to the file | |
writer.writerow(['loss', 'params', 'iteration', 'estimators', 'train_time']) | |
of_connection.close() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment