suppress printing data split type (#1126)

* first commit

* second update

* third update

---------

Co-authored-by: “xiaoboxia” <“xiaoboxia.uni@gmail.com”>
Co-authored-by: Shaokun <shaokunzhang529@gmail.com>
Co-authored-by: “skzhang1” <“shaokunzhang529@gmail.com”>
This commit is contained in:
Xiaobo Xia
2023-07-17 09:02:10 -04:00
committed by GitHub
parent 297a1ea9e0
commit eae65ac22b

View File

@@ -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_method
logger.info("Evaluation method: {}".format(eval_method))