mirror of
https://github.com/microsoft/autogen.git
synced 2026-04-20 03:02:16 -04: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:
@@ -2566,6 +2566,11 @@ class AutoML(BaseEstimator):
|
||||
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
|
||||
# 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:
|
||||
import ray
|
||||
|
||||
|
||||
Reference in New Issue
Block a user