code: def test_save_restore_future_equal_1(self):
      target_col = "values"
      metrics = ["mse", "r2"]
      future_seq_len = 1
      train_df, test_df, tsp, test_sample_num = self.get_input_tsp(
          future_seq_len, target_col
      )
      pipeline = tsp.fit(train_df, test_df)
      y_pred = pipeline.predict(test_df)
      mse, rs = pipeline.evaluate(test_df, metrics=metrics)
      print(
          "Evaluation result: Mean square error is: {}, R square is: {}.".format(
              mse, rs
          )
      )
  
      dirname = tempfile.mkdtemp(prefix="saved_pipeline")
      try:
          save_pipeline_file = os.path.join(dirname, "my.ppl")
          pipeline.save(save_pipeline_file)
          assert os.path.isfile(save_pipeline_file)
          new_pipeline = load_ts_pipeline(save_pipeline_file)
          assert new_pipeline.config is not None
          assert isinstance(new_pipeline.model, TimeSequenceModel)
          new_pipeline.describe()
          new_pred = new_pipeline.predict(test_df)
          assert_array_almost_equal(
              y_pred[target_col].values,
              new_pred[target_col].values,
              decimal=2,
          )
      finally:
          shutil.rmtree(dirname)
  
      new_pipeline.fit(train_df, epoch_num=1)
      new_mse, new_rs = new_pipeline.evaluate(
          test_df, metrics=["mse", "r2"]
      )
      print(
          "Evaluation result after restore and fit: "
          "Mean square error is: {}, R square is: {}.".format(
              new_mse, new_rs
          )
      )
  
imports: import shutil
  import tempfile
  import pytest
  from test.zoo.pipeline.utils.test_utils import ZooTestCase
  from zoo.chronos.autots.deprecated.pipeline.time_sequence import load_ts_pipeline
  from zoo.chronos.autots.deprecated.regression.time_sequence_predictor import TimeSequencePredictor
  from zoo.chronos.autots.deprecated.feature.time_sequence import TimeSequenceFeatureTransformer
  from zoo.chronos.autots.deprecated.model.time_sequence import TimeSequenceModel
  from zoo.orca.automl.metrics import Evaluator
  from zoo.chronos.autots.deprecated.config.recipe import *
  import numpy
  import pandas
  from numpy.testing import assert_array_almost_equal
  import os
label_desc: Use image node_id 4 for calling the TestTimeSequencePipeline obj's underlying member method code with example usage: obj.test_save_restore_future_equal_1() without return types