:returns: {str: [float] -> float} A dictionary where keys are the names of submetrics and values are functions that aggregate a list of metrics
(self)
| 125 | return {"acc": pred == gold} |
| 126 | |
| 127 | def aggregation(self): |
| 128 | """ |
| 129 | :returns: {str: [float] -> float} |
| 130 | A dictionary where keys are the names of submetrics and values are |
| 131 | functions that aggregate a list of metrics |
| 132 | """ |
| 133 | return {"acc": mean} |
| 134 | |
| 135 | def higher_is_better(self): |
| 136 | """ |
nothing calls this directly
no outgoing calls
no test coverage detected