Skip to content

Latest commit

 

History

History
68 lines (46 loc) · 1.04 KB

make_classification_metric.md

File metadata and controls

68 lines (46 loc) · 1.04 KB

TFSimilarity.callbacks.make_classification_metric

Convert classification metric from str name to object if needed.

TFSimilarity.callbacks.make_classification_metric(
    name: str = 

Args

metric ClassificationMetric() or metric name.

Raises

ValueError Unknown metric name: metric, typo?

Returns

ClassificationMetric Instantiated metric if needed.