mirror of
				https://github.com/microsoft/autogen.git
				synced 2025-11-04 11:49:45 +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 (#850)
* Added an info reminding user that if no time_budget and no max_iter is specified, then effectively zero-shot AutoML is used * moved message to line 2818 * Update flaml/automl/automl.py Co-authored-by: Chi Wang <wang.chi@microsoft.com> * Update flaml/automl/automl.py Co-authored-by: Chi Wang <wang.chi@microsoft.com> Co-authored-by: Chi Wang <wang.chi@microsoft.com> Co-authored-by: Qingyun Wu <qingyun.wu@psu.edu>
This commit is contained in:
		
							parent
							
								
									2b203ca694
								
							
						
					
					
						commit
						b2d51b648c
					
				@ -2566,6 +2566,7 @@ 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 self._use_ray is not False:
 | 
			
		||||
            import ray
 | 
			
		||||
 | 
			
		||||
@ -2816,6 +2817,7 @@ class AutoML(BaseEstimator):
 | 
			
		||||
            logger.warning(
 | 
			
		||||
                "No search budget is provided via time_budget or max_iter."
 | 
			
		||||
                " Training only one model per estimator."
 | 
			
		||||
                " Zero-shot AutoML is used for certain tasks and estimators."                
 | 
			
		||||
                " To tune hyperparameters for each estimator,"
 | 
			
		||||
                " please provide budget either via time_budget or max_iter."
 | 
			
		||||
            )
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user