bob.measure.correctly_classified_positives

bob.measure.correctly_classified_positives((object)positives, (float)threshold) → numpy.ndarray :

This method returns a blitz::Array composed of booleans that pin-point which positives where correctly classified in a ‘positive’ score sample, given a threshold. It runs the formula: foreach (element k in positive) if positive[k] >= threshold: returnValue[k] = true else: returnValue[k] = false