File size: 81 Bytes
d08dd00
 
 
 
1
2
3
4
5


def mean_accuracy(preds, labels):
    return {'acc': (preds == labels).mean()}