explore {classifly} | R Documentation |
Default method for exploring objects
Description
The default method currently works for classification functions.
Usage
explore(model, data, n = 10000, method = "nonaligned", advantage = TRUE, ...)
Arguments
model |
classification object |
data |
data set used with classifier |
n |
number of points to generate when searching for boundaries |
method |
method to generate points, see |
advantage |
only display boundaries |
... |
other arguments not currently used |
Details
It generates a data set filling the design space, finds class boundaries (if desired) and then displays in a new ggobi instance.
Value
A invisible
data frame of class classifly
that contains all the simulated and true data. This can be saved and
then printed later to open with rggobi.
See Also
generate_classification_data
,
http://had.co.nz/classifly
Examples
if (require("e1071")) {
bsvm <- best.svm(Species~., data = iris, gamma = 2^(-1:1),
cost = 2^(2:+ 4), probability=TRUE)
explore(bsvm, iris)
}
[Package classifly version 0.4.1 Index]