From 521091c5c521f58dba72e67b4b99f5d9e8f87358 Mon Sep 17 00:00:00 2001 From: Andrey Stebenkov Date: Mon, 26 Feb 2024 17:43:10 +0300 Subject: [PATCH] @Nunkyl requested fixes --- fedot/api/main.py | 16 ++++++++-------- fedot/utilities/composer_timer.py | 12 ++++++------ 2 files changed, 14 insertions(+), 14 deletions(-) diff --git a/fedot/api/main.py b/fedot/api/main.py index 0f5f322dbf..e607eb088f 100644 --- a/fedot/api/main.py +++ b/fedot/api/main.py @@ -513,18 +513,18 @@ def explain(self, features: FeaturesType = None, return explainer def return_report(self) -> pd.DataFrame: - """ Functions returns report of time-consuming. + """ Function returns a report on time consumption. - The following steps are presented in this report: + The following steps are presented in this report: - 'Data Definition (fit)': Time spent on data definition in fit(). - 'Data Preprocessing': Total time spent on preprocessing data, includes fitting and predicting stages. - - 'Fitting (summary)': Total time spent for Composing, Tuning and Training Inference. - - 'Composing': Time spent on searching best pipeline. - - 'Train Inference': Time spent on training the found pipeline during composing. - - 'Tuning (composing)': Time spent on hyperparameters tuning in whole fitting, if `with_tune` is True. + - 'Fitting (summary)': Total time spent on Composing, Tuning and Training Inference. + - 'Composing': Time spent on searching for the best pipeline. + - 'Train Inference': Time spent on training the pipeline found during composing. + - 'Tuning (composing)': Time spent on hyperparameters tuning in the whole fitting, if with_tune is True. - 'Tuning (after)': Time spent on .tune() (hyperparameters tuning) after composing. - - 'Data Definition (predict)'. Time spent on data definition in predict(). - - 'Predicting'. Time spent for predicting (inference). + - 'Data Definition (predict)': Time spent on data definition in predict(). + - 'Predicting': Time spent on predicting (inference). """ report = fedot_composer_timer.report diff --git a/fedot/utilities/composer_timer.py b/fedot/utilities/composer_timer.py index 7f5906adda..a23595cd06 100644 --- a/fedot/utilities/composer_timer.py +++ b/fedot/utilities/composer_timer.py @@ -91,13 +91,13 @@ def report(self) -> dict: """ Return dict with the next columns: - 'Data Definition (fit)': Time spent on data definition in fit(). - 'Data Preprocessing': Total time spent on preprocessing data, includes fitting and predicting stages. - - 'Fitting (summary)': Total time spent for Composing, Tuning and Training Inference. - - 'Composing': Time spent on searching best pipeline. - - 'Train Inference': Time spent on training the found pipeline during composing. - - 'Tuning (composing)': Time spent on hyperparameters tuning in whole fitting, if `with_tune` is True. + - 'Fitting (summary)': Total time spent on Composing, Tuning and Training Inference. + - 'Composing': Time spent on searching for the best pipeline. + - 'Train Inference': Time spent on training the pipeline found during composing. + - 'Tuning (composing)': Time spent on hyperparameters tuning in whole fitting, if with_tune is True. - 'Tuning (after)': Time spent on .tune() (hyperparameters tuning) after composing. - - 'Data Definition (predict)'. Time spent on data definition in predict(). - - 'Predicting'. Time spent for predicting (inference). + - 'Data Definition (predict)': Time spent on data definition in predict(). + - 'Predicting': Time spent on predicting (inference). """ output = {