code: def setup_class(cls, true, endog, atol=1e-5, rtol=1e-7, **kwargs):
      cls.model = markov_regression.MarkovRegression(endog, **kwargs)
      cls.true = true
      cls.result = cls.model.smooth(cls.true["params"])
      cls.atol = atol
      cls.rtol = rtol
  
imports: import os
  import warnings
  import numpy
  from numpy.testing import assert_allclose, assert_raises
  import pandas
  import pytest
  from statsmodels.tsa.regime_switching import markov_switching, markov_regression
label_desc: Use image node_id 1 for calling the MarkovRegression obj's underlying member method code with example usage: obj.setup_class(cls, true, endog, atol, rtol) without return types