code: def predict(self, X, *args, **kwargs):
      try:
          return self.fitted_.predict(X, *args, **kwargs)
      except AttributeError:
          raise ValueError(
              "{0} is not fitted to data".format(
                  self.__class__.__name__
              )
          )
  
file_path: pandas-ml/pandas_ml/smaccessors/base.py
imports: import pandas
  from pandas_ml.core import base
label_desc: Use image node_id 3 for calling the StatsModelsRegressor obj's underlying member method code with example usage: obj.predict(X) and returns: self