code: def test_auto_prophet_save_load(self):
      data, expect_horizon = get_data()
      auto_prophet = AutoProphet(
          metric="mse",
          changepoint_prior_scale=hp.loguniform(0.001, 0.5),
          seasonality_prior_scale=hp.loguniform(0.01, 10),
          holidays_prior_scale=hp.loguniform(0.01, 10),
          seasonality_mode=hp.choice(["additive", "multiplicative"]),
          changepoint_range=hp.uniform(0.8, 0.95),
      )
  
      auto_prophet.fit(
          data=data,
          expect_horizon=expect_horizon,
          n_sampling=1,
      )
      with tempfile.TemporaryDirectory() as tmp_dir_name:
          ckpt_name = os.path.join(tmp_dir_name, "json")
          auto_prophet.save(ckpt_name)
          pred = auto_prophet.predict(horizon=10, freq="D")
          auto_prophet.restore(ckpt_name)
          pred_old = auto_prophet.predict(horizon=10, freq="D")
          new_auto_prophet = AutoProphet(load_dir=ckpt_name)
          pred_new = new_auto_prophet.predict(horizon=10, freq="D")
          np.testing.assert_almost_equal(
              pred.yhat.values, pred_new.yhat.values
          )
          np.testing.assert_almost_equal(
              pred.yhat.values, pred_old.yhat.values
          )
  
file_path: BigDL/python/chronos/test/bigdl/chronos/autots/model/test_auto_prophet.py
imports: from bigdl.chronos.utils import LazyImport
  import os
  import numpy
  import pandas
  import tempfile
  from unittest import TestCase
  from ...None import op_distributed, op_diff_set_all
label_desc: Use image node_id 5 for calling the TestAutoProphet obj's underlying member method code with example usage: obj.test_auto_prophet_save_load() without return types