code: def test_predict_with_uncertainty(self):
      target_col = "values"
      future_seq_len = np.random.randint(2, 6)
      train_df, test_df, tsp, test_sample_num = self.get_input_tsp(
          future_seq_len, target_col
      )
  
      # test future_seq_len = 3
      pipeline = tsp.fit(train_df, mc=True, validation_df=test_df)
      y_out, y_pred_uncertainty = pipeline.predict_with_uncertainty(
          test_df, n_iter=2
      )
      assert y_out.shape == (
          test_sample_num - default_past_seq_len + 1,
          future_seq_len + 1,
      )
      assert y_pred_uncertainty.shape == (
          test_sample_num - default_past_seq_len + 1,
          future_seq_len,
      )
      assert np.any(y_pred_uncertainty)
  
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 7 for calling the TestTimeSequencePipeline obj's underlying member method code with example usage: obj.test_predict_with_uncertainty() without return types