explore | R Documentation |
The default method currently works for classification functions.
explore(model, data, n = 10000, method = "nonaligned", advantage = TRUE, ...)
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 |
It generates a data set filling the design space, finds class boundaries (if desired) and then displays in a new ggobi instance.
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.
generate_classification_data
,
http://had.co.nz/classifly
if (require("e1071")) { bsvm <- best.svm(Species~., data = iris, gamma = 2^(-1:1), cost = 2^(2:+ 4), probability=TRUE) explore(bsvm, iris) }
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.