scikit-learn v0.19.2 Other versions
Please cite us if you use the software.
sklearn.metrics
sklearn.metrics.
get_scorer
Get a scorer from string
scoring : str | callable
scoring method as string. If callable it is returned as is.
scorer : callable
The scorer.