(self, metric_names=["map", "acc", "mauc"])
| 354 | |
| 355 | class 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": |
nothing calls this directly
no test coverage detected