Precision and recall

In the literature, two other measures are often used, namely

**precision**- : defined as

**recall**- : is basically the true positive rate

>> [e,f] = dd_error(z,w)Here

Finally, a derived performance criterion using the precision and recall is the measure, defined as:

This can be computed using

>> x = target_class(gendatb([50 0]),'1'); >> w = svdd(x,0.1); >> z = oc_set(gendatb(200),'1'); >> dd_f1(x,w) >> dd_f1(x*w) >> x*w*dd_f1

David M.J. Tax 2006-07-26