Skip to content

Commit 1dbac11

Browse files
Update regression-example-ames-no-preproc-val-set.py
Update the parameter value for purge_model_storage_files based on updated API. best_model_found = cerebros.get_best_model(purge_model_storage_files='slate')
1 parent 47dae8b commit 1dbac11

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

regression-example-ames-no-preproc-val-set.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ def hash_based_split(df, # Pandas dataframe
219219
result = cerebros.run_random_search()
220220

221221
print("Best model: (May need to re-initialize weights, and retrain with early stopping callback)")
222-
best_model_found = cerebros.get_best_model(purge_model_storage_files=True)
222+
best_model_found = cerebros.get_best_model(purge_model_storage_files='slate')
223223
print(best_model_found.summary())
224224

225225

0 commit comments

Comments
 (0)