Accuracy
It represents the ratio of correctly classified samples to the total number of samples. It is defined as:
accuracy = (tp + tn)/(tp + tn + fp + fn)
Example
from odin.classes import Metrics
my_metric = Metrics.ACCURACY
# use my_metric as 'metric' parameter in the analyses
Tasks supported
Binary Classification | Single-label Classification | Multi-label Classification | Object Detection | Instance Segmentation |
---|---|---|---|---|
yes | yes | yes | no | no |