(self, data)
return MeanModel(dist)
Construct a :obj:`MeanModel` by computing the mean value of the given
        data.

        :param data: data table
        :type data: Orange.data.Table
        :return: regression model, which always returns mean value
        :rtype: :obj:`MeanModel`
Construct a :obj:`MeanModel` by computing the mean value of the given
        data.
Construct a : obj : MeanModel by computing the mean value of the given data .
def fit_storage(self, data):
        """
        Construct a :obj:`MeanModel` by computing the mean value of the given
        data.

        :param data: data table
        :type data: Orange.data.Table
        :return: regression model, which always returns mean value
        :rtype: :obj:`MeanModel`
        """
        if not data.domain.has_continuous_class:
            raise ValueError("regression.MeanLearner expects a domain with a "
                             "(single) numeric variable.")
        dist = distribution.get_distribution(data, data.domain.class_var)
        return MeanModel(dist)
def fit_storage ( self , data ) : if not data . domain . has_continuous_class : raise ValueError ( "regression.MeanLearner expects a domain with a " "(single) numeric variable." ) dist = distribution . get_distribution ( data , data . domain . class_var ) return MeanModel ( dist )