code: def add(self, model):
          
          if isinstance(model, (Regressor, Classifier)):
              self.models.append(model)
          else:
              raise ValueError('Unrecognized estimator.')
docs: Adds a single model.
  
          Parameters
          ----------
          model : `Estimator`