code: def ts_ets_pipeline():
      """
      Return pipeline with the following structure:
  
      .. image:: img_ts_pipelines/ts_ets_pipeline.png
        :width: 55%
  
      Where cut - cut part of dataset and ets - exponential smoothing
      """
      pip_builder = (
          PipelineBuilder()
          .add_node("cut")
          .add_node(
              "ets",
              params={
                  "error": "add",
                  "trend": "add",
                  "seasonal": "add",
                  "damped_trend": False,
                  "seasonal_periods": 20,
              },
          )
      )
      pipeline = pip_builder.build()
      return pipeline
  
file_path: FEDOT/examples/simple/time_series_forecasting/ts_pipelines.py
imports: from fedot.core.pipelines.pipeline_builder import PipelineBuilder
label_desc: Use image node_id 1 for calling a global function with example usage: ts_ets_pipeline() and returns: pipeline