A programming framework for agentic AI
suppress printing data split type (#1126)
Xiaobo Xiaeae65ac22b7e
diff --git a/flaml/automl/automl.py b/flaml/automl/automl.pyindex e37e7abde..7e9e50d08 100644--- a/flaml/automl/automl.py+++ b/flaml/automl/automl.py@@ -1683,7 +1683,8 @@ class AutoML(BaseEstimator):self._state.fit_kwargs,self._state.groups,)- logger.info(f"Data split method: {self._split_type}")+ if X_val is not None:+ logger.info(f"Data split method: {self._split_type}")eval_method = self._decide_eval_method(eval_method, time_budget)self._state.eval_method = eval_methodlogger.info("Evaluation method: {}".format(eval_method))