I use kernlab and randomforest for classification.
I was wondering when I was comparing the output of (type = prob) with the output of (type = class).
How are the thresholds determined? (>0.5 ? >=0.5 ?)
Does it change depending on the package?
Where should I look for the source code? ( r-source stats::predict ??)
thank you