class_docstr: Class used for filling in the gaps in time series
  
  Args:
      gap_value: value, which mask gap elements in array
      pipeline: TsForecastingPipeline object for filling in the gaps
class_docstr_tok: ["Class","used","for","filling","in","the","gaps","in","time","series","Args",":","gap_value",":","value",",","which","mask","gap","elements","in","array","pipeline",":","TsForecastingPipeline","object","for","filling","in","the","gaps"]
code: def __init__(self, gap_value, pipeline):
      super().__init__(gap_value)
      self.pipeline = pipeline
  
      # At least 6 elements needed to train pipeline with lagged transformation
      self.min_train_ts_length = 6
  
imports: from copy import deepcopy
  from typing import List, Union
  import numpy
  from golem.core.log import default_log
  from scipy import interpolate
  from fedot.core.data.data import InputData
  from fedot.core.repository.dataset_types import DataTypesEnum
  from fedot.core.repository.tasks import Task, TaskTypesEnum, TsForecastingParams
label_desc: Use image node_id 1 to create a new ModelGapFiller object from inherited base classes: SimpleGapFiller with example: obj = ModelGapFiller(gap_value, pipeline)