MCPcopy
hub / github.com/Audio-AGI/AudioSep / __init__

Method __init__

models/CLAP/open_clip/loss.py:356–360  ·  view source on GitHub ↗
(self, metric_names=["map", "acc", "mauc"])

Source from the content-addressed store, hash-verified

354
355class LPMetrics(object):
356 def __init__(self, metric_names=["map", "acc", "mauc"]):
357 self.metrics = []
358 for name in metric_names:
359 self.metrics.append(self.get_metric(name))
360 self.metric_names = metric_names
361
362 def get_metric(self, name):
363 if name == "map":

Callers

nothing calls this directly

Calls 2

get_metricMethod · 0.95
appendMethod · 0.80

Tested by

no test coverage detected