From a4518d0d358d0aed4fe473df94955e7c4c16059d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Arne=20K=C3=BCderle?= Date: Thu, 14 Sep 2023 14:49:09 +0200 Subject: [PATCH] Fixed docs warnings --- tpcp/optimize/optuna.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tpcp/optimize/optuna.py b/tpcp/optimize/optuna.py index c20ff7d..6b6cd9d 100644 --- a/tpcp/optimize/optuna.py +++ b/tpcp/optimize/optuna.py @@ -86,11 +86,11 @@ class _CustomOptunaOptimize(BaseOptimize[PipelineT, DatasetT]): @property def search_results_(self) -> Dict[str, Sequence[Any]]: - """Detailed results of the study. + r"""Detailed results of the study. This basically contains the same information as `self.study_.trials_dataframe()`, with some small modifications: - - columns starting with "params_" are renamed to "param_" + - columns starting with "params\_" are renamed to "param\_" - a new column called "params" containing all parameters as dict is added - "value" is renamed to score" - the score of pruned trials is set to `np.nan`