code: def predict(self, dataframe):
          
          if self.mean > 0.5:
              return numpy.ones(dataframe.shape[0])
          else:
              return numpy.zeros(dataframe.shape[0])
docs: See :ref:`Base Estimator for Naive _naive_base_predict`