class_docstr: This is a temporary base model from ETS, here I just copy everything I need
  from statespace.mlemodel.MLEModel
class_docstr_tok: ["This","is","a","temporary","base","model","from","ETS",",","here","I","just","copy","everything","I","need","from","statespace.mlemodel.MLEModel"]
code: def __init__(
      self,
      endog,
      exog=None,
      dates=None,
      freq=None,
      missing="none",
      **kwargs,
  ):
      # TODO: this was changed from the original, requires some work when
      # using this as base class for state space and exponential smoothing
      super().__init__(
          endog=endog,
          exog=exog,
          dates=dates,
          freq=freq,
          missing=missing,
      )
  
      # Store kwargs to recreate model
      self._init_kwargs = kwargs
  
      # Prepared the endog array: C-ordered, shape=(nobs x k_endog)
      self.endog, self.exog = self.prepare_data(self.data)
      self.use_pandas = isinstance(self.data, PandasData)
  
      # Dimensions
      self.nobs = self.endog.shape[0]
  
      # Setup holder for fixed parameters
      self._has_fixed_params = False
      self._fixed_params = None
      self._params_index = None
      self._fixed_params_index = None
      self._free_params_index = None
  
imports: from collections import OrderedDict
  import contextlib
  import warnings
  import numpy
  import pandas
  from scipy.stats import norm
  from statsmodels.base.data import PandasData
  from statsmodels.tools.decorators import cache_readonly
  from statsmodels.tools.eval_measures import aic, aicc, bic, hqic
  from statsmodels.tools.sm_exceptions import PrecisionWarning
  from statsmodels.tools.numdiff import _get_epsilon, approx_fprime, approx_fprime_cs, approx_hess_cs
  from statsmodels.tools.tools import pinv_extended
  import statsmodels.tsa.base.tsa_model
  from statsmodels.tsa.statespace.tools import _safe_cond
label_desc: Use image node_id 1 to create a new StateSpaceMLEModel object from inherited base classes: tsbase with example: obj = StateSpaceMLEModel(endog, exog, dates, freq, missing)