compute ap for exemplar dpm