:returns: {str: [float] -> float} A dictionary where keys are the names of submetrics and values are functions that aggregate a list of metrics
(self)
| 157 | return {"acc": int(pred == gold)} |
| 158 | |
| 159 | def aggregation(self): |
| 160 | """ |
| 161 | :returns: {str: [float] -> float} |
| 162 | A dictionary where keys are the names of submetrics and values are |
| 163 | functions that aggregate a list of metrics |
| 164 | """ |
| 165 | return {"acc": mean} |
| 166 | |
| 167 | def higher_is_better(self): |
| 168 | """ |
nothing calls this directly
no outgoing calls
no test coverage detected