[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
+1 -1
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]) "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. # Get a dataframe for analyzing trial results.
df = analysis.results_df df = analysis.results_df