code: def get_simple_pipeline():
      node_lagged_1 = PipelineNode("lagged")
      node_lagged_1.parameters = {"window_size": 20}
  
      node_smooth = PipelineNode("smoothing")
      node_lagged_2 = PipelineNode("lagged", nodes_from=[node_smooth])
      node_lagged_2.parameters = {"window_size": 10}
  
      node_ridge = PipelineNode("ridge", nodes_from=[node_lagged_1])
      node_lasso = PipelineNode("lasso", nodes_from=[node_lagged_2])
  
      node_final = PipelineNode(
          "ridge", nodes_from=[node_ridge, node_lasso]
      )
      pipeline = Pipeline(node_final)
      return pipeline
  
file_path: FEDOT/test/unit/tasks/test_multi_ts_forecast.py
imports: from typing import Optional
  import numpy
  from fedot.core.data.data import InputData
  from fedot.core.data.data_split import train_test_data_setup
  from fedot.core.pipelines.node import PipelineNode
  from fedot.core.pipelines.pipeline import Pipeline
  from fedot.core.repository.tasks import Task, TaskTypesEnum, TsForecastingParams
  from fedot.core.utils import fedot_project_root
label_desc: Use image node_id 2 for calling a global function with example usage: get_simple_pipeline() and returns: pipeline