Skip to content

Commit

Permalink
Fix'
Browse files Browse the repository at this point in the history
  • Loading branch information
kasyanovse committed Sep 6, 2023
1 parent 5993b33 commit cfa4e58
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
6 changes: 6 additions & 0 deletions fedot/api/api_utils/assumptions/task_assumptions.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ def builders(self):
PipelineBuilder()
.add_branch('polyfit', 'lagged')
.grow_branches(None, 'ridge')
<<<<<<< Updated upstream
<<<<<<< Updated upstream
.join_branches('ridge'),
'smoothing_ar':
Expand All @@ -68,13 +69,18 @@ def builders(self):
.add_branch('gru', 'lagged')
=======
<<<<<<< Updated upstream
=======
>>>>>>> Stashed changes
.join_branches('ridge')
=======
.join_branches('ridge'),
'gru':
PipelineBuilder()
.add_sequence('lagged', 'gru')
>>>>>>> Stashed changes
<<<<<<< Updated upstream
>>>>>>> Stashed changes
=======
>>>>>>> Stashed changes
}

Expand Down
1 change: 0 additions & 1 deletion fedot/core/pipelines/ts_wrappers.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,6 @@ def in_sample_ts_forecast(pipeline, input_data: Union[InputData, MultiModalData]
f" and data length {input_data.idx.shape[0]}"))

final_forecast = np.zeros((number_of_iterations, forecast_length))
is_multimodal = isinstance(input_data, MultiModalData)
for i in range(number_of_iterations):
data = input_data.slice(-(i + 1) * forecast_length,
-i * forecast_length if i != 0 else None,
Expand Down

0 comments on commit cfa4e58

Please sign in to comment.