'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`'

def predict(self, X):

    return numpy.full(len(X), self.mean)
