map {bnclassify} | R Documentation |
Assigns instances to the most likely class.
Description
Ties are resolved randomly.
Usage
map(pred)
Arguments
pred |
A numeric matrix. Each row corresponds to class posterior probabilities for an instance. |
Value
a factor with the same levels as the class variable.
[Package bnclassify version 0.4.8 Index]