class_docstr: A pipeline for time series forecasting.
docstr: Incremental Fitting
  
  :param input_df: the input dataframe
  :param validation_df: the validation dataframe
  :param uncertainty: whether to calculate uncertainty
  :param epochs: number of epochs to train
  :param user_config: user configurations
  :return:
docstr_tok: ["Incremental","Fitting",":","param","input_df",":","the","input","dataframe",":","param","validation_df",":","the","validation","dataframe",":","param","uncertainty",":","whether","to","calculate","uncertainty",":","param","epochs",":","number","of","epochs","to","train",":","param","user_config",":","user","configurations",":","return",":"]
code: def fit(
      self,
      input_df,
      validation_df=None,
      uncertainty: bool = False,
      epochs=1,
      **user_config,
  ):
      """
      Incremental Fitting
  
      :param input_df: the input dataframe
      :param validation_df: the validation dataframe
      :param uncertainty: whether to calculate uncertainty
      :param epochs: number of epochs to train
      :param user_config: user configurations
      :return:
      """
      # TODO refactor automl.Pipeline fit methods to merge the two
      # maybe use another method to apply configs.
      # distinguish between incremental and fit from scratch
      self.uncertainty = uncertainty
      if user_config:
          self.internal.fit_with_fixed_configs(
              input_df=input_df,
              validation_df=validation_df,
              mc=uncertainty,
              epoch_num=epochs,
              **user_config,
          )
      else:
          self.internal.fit(
              input_df=input_df,
              validation_df=validation_df,
              mc=uncertainty,
              epoch_num=epochs,
          )
  
file_path: analytics-zoo/pyzoo/zoo/chronos/autots/deprecated/forecast.py
imports: from zoo.chronos.autots.deprecated.regression.time_sequence_predictor import TimeSequencePredictor
  from zoo.chronos.autots.deprecated.config.recipe import *
  from zoo.chronos.autots.deprecated.pipeline.time_sequence import load_ts_pipeline
  from zoo.chronos.utils import deprecated
label_desc: Use image node_id 4 for calling the TSPipeline obj's underlying member method code with example usage: obj.fit(input_df, validation_df, uncertainty, epochs) without return types