predict.LogitBoost: Prediction Based on LogitBoost Classification Algorithm
Description
Prediction or Testing using logitboost classification algorithmUsage
predict.LogitBoost(object, xtest, type = c("class", "raw"), nIter=NA, ...)
Value
If type = "class" (default) label of the class with maximal probability is
returned for each sample. If type = "raw", the a-posterior probabilities for
each class are returned.Details
Logitboost algorithm relies on a voting scheme to make classifications. Many
(nIter
of them) week classifiers are applied to each sample and their
findings are used as votes to make the final classification. The class with
the most votes "wins". However, with this scheme it is common for two cases
have a tie (the same number of votes), especially if number of iterations is
even. In that case NA is returned, instead of a label.See Also
LogitBoost
has training half of LogitBoost codeExamples
Run this code# See LogitBoost example}
<keyword>classif</keyword>
Run the code above in your browser using DataLab