class_docstr: additive model with non-parametric, smoothed components
  
  Parameters
  ----------
  exog : ndarray
  smoothers : None or list of smoother instances
      smoother instances not yet checked
  weights : None or ndarray
  family : None or family instance
      I think only used because of shared results with GAM and subclassing.
      If None, then Gaussian is used.
docstr: condition to continue iteration loop
  
  Parameters
  ----------
  tol
  
  Returns
  -------
  cont : bool
      If true, then iteration should be continued.
docstr_tok: ["condition","to","continue","iteration","loop","Parameters","--","--","--","--","--","tol","Returns","--","--","--","-","cont",":","bool","If","true",",","then","iteration","should","be","continued","."]
code: def cont(self):
      """condition to continue iteration loop
  
      Parameters
      ----------
      tol
  
      Returns
      -------
      cont : bool
          If true, then iteration should be continued.
  
      """
      self.iter += 1  # moved here to always count, not necessary
      if DEBUG:
          print(self.iter, self.results.Y.shape)
          print(
              self.results.predict(self.exog).shape, self.weights.shape
          )
      curdev = (
          ((self.results.Y - self.results.predict(self.exog)) ** 2)
          * self.weights
      ).sum()
  
      if self.iter > self.maxiter:  # kill it, no max iterationoption
          return False
      if np.fabs((self.dev - curdev) / curdev) < self.rtol:
          self.dev = curdev
          return False
  
      # self.iter += 1
      self.dev = curdev
      return True
  
imports: import numpy
  from statsmodels.genmod import families
  from statsmodels.sandbox.nonparametric.smoothers import PolySmoother
  from statsmodels.genmod.generalized_linear_model import GLM
  from statsmodels.tools.sm_exceptions import IterationLimitWarning, iteration_limit_doc
  import warnings
label_desc: Use image node_id 4 for calling the AdditiveModel obj's underlying member method code with example usage: obj.cont() and returns: True, False, False