pdollar / toolbox

Piotr's Image & Video Matlab Toolbox
850 stars 499 forks source link

How to cast the output of adaBoostApply as a probability? #17

Open cslxiao opened 8 years ago

cslxiao commented 8 years ago

The comments say that the output of adaBoostApply hs is a log ratio (.5_log(p/(1-p)), so I can derive the probability as p = exp(2_hs)/(1+exp(2*hs)) But when I calculate p in this way, the output is kind of weird, so I doubt whether it is correct?