code: def setup_class(cls):
      data = heart.load()
      data.endog = np.asarray(data.endog)
      data.exog = np.asarray(data.exog)
      endog = np.log10(data.endog)
      exog = add_constant(data.exog)
      cls.mod1 = emplikeAFT(endog, exog, data.censors)
      cls.res1 = cls.mod1.fit()
      cls.res2 = AFTRes()
  
file_path: statsmodels/statsmodels/emplike/tests/test_aft.py
imports: import numpy
  from numpy.testing import assert_almost_equal
  import pytest
  from statsmodels.datasets import heart
  from statsmodels.emplike.aft_el import emplikeAFT
  from statsmodels.tools import add_constant
  from .results.el_results import AFTRes
label_desc: Use image node_id 1 for calling the GenRes obj's underlying member method code with example usage: obj.setup_class(cls) without return types