classify {classifly}R Documentation

Classify

Description

Common interface to extract predict classification from a variety of classification objects

Usage

classify(model, data)

Arguments

model model object
data data set used in model

Details

If the classification method can produce a matrix of posterior probabilities (see posterior), then that will be used to calculate the advantage. Otherwise, the classify method will be used and the advantage calculated using a k-nearest neighbours approach.

Author(s)

Hadley Wickham <h.wickham@gmail.com>


[Package classifly version 0.2.3 Index]