[docs] Add mode to Ray Tune quick start (#14023)

This commit is contained in:
Crissman Loomis 2021-02-11 05:41:45 +09:00 committed by GitHub
parent 75fbd48edd
commit 05ab75fbe1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -132,7 +132,7 @@ This example runs a parallel grid search to optimize an example objective functi
"beta": tune.choice([1, 2, 3])
})
print("Best config: ", analysis.get_best_config(metric="mean_loss"))
print("Best config: ", analysis.get_best_config(metric="mean_loss", mode="min"))
# Get a dataframe for analyzing trial results.
df = analysis.results_df