sklearn.metrics.get_scorer(scoring)
[source]
Get a scorer from string
Parameters: |
scoring : str | callable scoring method as string. If callable it is returned as is. |
---|---|
Returns: |
scorer : callable The scorer. |
© 2007–2017 The scikit-learn developers
Licensed under the 3-clause BSD License.
http://scikit-learn.org/stable/modules/generated/sklearn.metrics.get_scorer.html