Crate caffe2op_apmeter

source ·

Structs

  • | APMeter computes Average Precision | for binary or multi-class classification. | | It takes two inputs: prediction scores | P of size (n_samples x n_classes), and | true labels Y of size (n_samples x n_classes). | | It returns a single float number per | class for the average precision of that | class. |