UndefinedMetricWarning#
- exception scikitplot.corpus.UndefinedMetricWarning[source]#
A metric is undefined for some queries and was scored by
zero_division.Notes
Raised with
zero_division="warn", which scores an undefined value as0.0, as scikit-learn does for precision and recall. It is distinct fromsklearn.exceptions.UndefinedMetricWarning, so a filter for one does not silence the other.- Annotation:
Unrecognized objtype:
exception