sklearn.metrics
.get_scorer¶
-
sklearn.metrics.
get_scorer
(scoring)[source]¶ Get a scorer from string.
Read more in the User Guide.
- Parameters
scoring : str | callable
scoring method as string. If callable it is returned as is.
- Returns
scorer : callable
The scorer.