A list with the most typical noPrototypes instances is returned. The list has the following attributes.
prototypes
vector with indexes of the most typical instances
clustering
vector with class assignments for typical instances in vector instances
levels
the names of the class values.
Details
The function uses predict.CoreModel(model, dataset) for prediction of the dataset with
model. Based on the returned probabilities, it selects the noPrototypes instances with highest probabilities for each class to be
typical representatives of that class, i.e., prototypes. The prototypes can be
visualized by calling e.g.,
plot(model, dataset, rfGraphType="prototypes", noPrototypes = 10).
References
Leo Breiman: Random Forests. Machine Learning Journal, 45:5-32, 2001