mirror of
https://github.com/microsoft/autogen.git
synced 2025-11-11 15:24:16 +00:00
Added an info reminding user that if no time_budget and no max_iter is specified, then effectively zero-shot AutoML is used
This commit is contained in:
parent
232c356a4b
commit
f6aa8eed3f
@ -2566,6 +2566,11 @@ class AutoML(BaseEstimator):
|
|||||||
self._use_ray = use_ray or n_concurrent_trials > 1
|
self._use_ray = use_ray or n_concurrent_trials > 1
|
||||||
# use the following condition if we have an estimation of average_trial_time and average_trial_overhead
|
# use the following condition if we have an estimation of average_trial_time and average_trial_overhead
|
||||||
# self._use_ray = use_ray or n_concurrent_trials > ( average_trail_time + average_trial_overhead) / (average_trial_time)
|
# self._use_ray = use_ray or n_concurrent_trials > ( average_trail_time + average_trial_overhead) / (average_trial_time)
|
||||||
|
|
||||||
|
# If no time_budget and no max_iter is specified, then effectively zero-shot AutoML is used.
|
||||||
|
if time_budget is -1 and max_iter is None:
|
||||||
|
logger.info('Neither time_budegt nor max_iter is specified, zero-shot ML is used. ')
|
||||||
|
|
||||||
if self._use_ray is not False:
|
if self._use_ray is not False:
|
||||||
import ray
|
import ray
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user