(self, X)
return numpy.full(len(X), self.mean)
Return predictions (that is, the same mean value) for each given
        instance in `X`.

        :param X: data for which to make predictions
        :type X: :obj:`numpy.ndarray`
        :return: a vector of predictions
        :rtype: :obj:`numpy.ndarray`
Return predictions (that is, the same mean value) for each given
        instance in `X`.
Return predictions ( that is the same mean value ) for each given instance in X .
def predict(self, X):
        """
        Return predictions (that is, the same mean value) for each given
        instance in `X`.

        :param X: data for which to make predictions
        :type X: :obj:`numpy.ndarray`
        :return: a vector of predictions
        :rtype: :obj:`numpy.ndarray`
        """
        return numpy.full(len(X), self.mean)
def predict ( self , X ) : return numpy . full ( len ( X ) , self . mean )