> I think that I prefer this design to the one that was there before
(multiple classes) :)

But this has been changed back and forth, now. As I understand, originally
we had metrics with decoration, then a single-class scorer with a
greater_is_better attribute, then separate classes... Now we're trying each
all over again.


On 5 February 2014 00:38, Gael Varoquaux <notifications@github.com> wrote:

>  In sklearn/metrics/scorer.py:
>
> >
> >
> > -class _BaseScorer(six.with_metaclass(ABCMeta, object)):
> > -    def __init__(self, score_func, sign, kwargs):
> > -        self._kwargs = kwargs
> > -        self._score_func = score_func
> > -        self._sign = sign
> > +class _Scorer(object):
>
> I think that I prefer this design to the one that was there before
> (multiple classes) :)
>
> --
> Reply to this email directly or view it on GitHub<https://github.com/scikit-learn/scikit-learn/pull/2759/files#r9420159>
> .
>