Skip to content

Commit

Permalink
Automated autopep8 fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
autopep8 bot committed Nov 28, 2024
1 parent 5a91d69 commit 061f8ac
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 2 additions & 2 deletions fedot_ind/api/utils/checkers_collections.py
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ def _transformation_for_other_task(self, data_list):

have_predict_horizon = Either(value=False, monoid=[True, len(self.industrial_task_params) == 0]).either(
left_function=lambda l: self.industrial_task_params['data_type'] == 'time_series' and
'detection_window' in self.industrial_task_params.keys(),
'detection_window' in self.industrial_task_params.keys(),
right_function=lambda r: r)

task = Either(
Expand Down Expand Up @@ -218,7 +218,7 @@ def _process_input_data(self):
have_ts_strategy = 'learning_strategy' in self.industrial_context_manager.industrial_strategy_params.keys()
default_tabular_fedot = self.industrial_context_manager.is_default_fedot_context
if default_tabular_fedot and have_ts_strategy:
repo = IndustrialModels().setup_repository()
IndustrialModels().setup_repository()
current_strategy = self.industrial_context_manager.industrial_strategy_params['learning_strategy']
self.input_data.features = self.convert_ts_method[current_strategy](self.input_data).predict
return self.input_data
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
from typing import Union

import numpy as np
import pandas as pd
from fedot.core.data.data import InputData


Expand Down

0 comments on commit 061f8ac

Please sign in to comment.