Skip to content

Commit

Permalink
@Nunkyl requested fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
aPovidlo committed Feb 26, 2024
1 parent 85e1f06 commit 521091c
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 14 deletions.
16 changes: 8 additions & 8 deletions fedot/api/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
12 changes: 6 additions & 6 deletions fedot/utilities/composer_timer.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {
Expand Down

0 comments on commit 521091c

Please sign in to comment.