DOC fix some docstring/parameter list mismatches 

(particularly in metrics and bayes)
See #2062 for a list and a script to fetch them
I don't mind if it is. It it's fast, it could even be run in Travis...

On 29 December 2014 at 08:12, ragv <notifications@github.com> wrote:

>  In test_docstring_parameters.py
> <https://github.com/scikit-learn/scikit-learn/pull/2084#discussion-diff-22300332>
> :
>
> > +                    encountered.append(method)
> > +                    check_parameters_match(method)
> > +            if hasattr(cls, '__call__'):
> > +                check_parameters_match(cls.__call__)
> > +
> > +        functions = inspect.getmembers(module, inspect.isfunction)
> > +        for fname, func in functions:
> > +            if func in encountered:
> > +                continue
> > +            else:
> > +                encountered.append(func)
> > +                check_parameters_match(func)
> > +
> > +
> > +if __name__ == '__main__':
> > +    test_docstring_parameters()
>
> @jnothman <https://github.com/jnothman> Is this script supposed to be
> included along with the fix for #2062
> <https://github.com/scikit-learn/scikit-learn/issues/2062>?
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/scikit-learn/scikit-learn/pull/2084/files#r22300332>.
>