mirror of
https://github.com/wassname/ray.git
synced 2026-09-10 12:38:43 +08:00
[tune] Tune experiment analysis improvements (#10645)
Co-authored-by: Richard Liaw <rliaw@berkeley.edu>
This commit is contained in:
co-authored by
Richard Liaw
parent
d9c68fca5c
commit
d7c7aba99c
@@ -285,8 +285,10 @@ class BayesOptSearch(Searcher):
|
||||
analysis (ExperimentAnalysis): Optionally, the previous analysis
|
||||
to integrate.
|
||||
"""
|
||||
for (_, report), params in zip(analysis.dataframe().iterrows(),
|
||||
analysis.get_all_configs().values()):
|
||||
for (_, report), params in zip(
|
||||
analysis.dataframe(metric=self._metric,
|
||||
mode=self._mode).iterrows(),
|
||||
analysis.get_all_configs().values()):
|
||||
# We add the obtained results to the
|
||||
# gaussian process optimizer
|
||||
self._register_result(params, report)
|
||||
|
||||
Reference in New Issue
Block a user