Learn R Programming

classifly (version 0.4.1)

explore: 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 generate_data

advantage

only display boundaries

...

other arguments not currently used

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.

Details

It generates a data set filling the design space, finds class boundaries (if desired) and then displays in a new ggobi instance.

See Also

generate_classification_data, http://had.co.nz/classifly

Examples

Run this code
# NOT RUN {
if (require("e1071")) {
bsvm <- best.svm(Species~., data = iris, gamma = 2^(-1:1),
  cost = 2^(2:+ 4), probability=TRUE)
explore(bsvm, iris)
}
# }

Run the code above in your browser using DataLab