Class "vm"
An S4 VIRTUAL class used as a base for the various vector machine classes in kernlab
class
Objects from the class cannot be created directly but only contained in other classes.
alpha
:: Object of class "listI"
containing the resulting alpha vector (list in case of multiclass classification) (support vectors)type
:: Object of class "character"
containing the vector machine type e.g., ("C-svc", "nu-svc", "C-bsvc", "spoc-svc", "one-svc", "eps-svr", "nu-svr", "eps-bsvr")kernelf
:: Object of class "function"
containing the kernel functionkpar
:: Object of class "list"
containing the kernel function parameters (hyperparameters)kcall
:: Object of class "call"
containing the function callterms
:: Object of class "ANY"
containing the terms representation of the symbolic model used (when using a formula)xmatrix
:: Object of class "input"
the data matrix used during computations (support vectors) (possibly scaled and without NA)ymatrix
:: Object of class "output"
the response matrix/vectorfitted
:: Object of class "output"
with the fitted values, predictions using the training set.lev
:: Object of class "vector"
with the levels of the response (in the case of classification)nclass
:: Object of class "numeric"
containing the number of classes (in the case of classification)error
:: Object of class "vector"
containing the training errorcross
:: Object of class "vector"
containing the cross-validation errorn.action
:: Object of class "ANY"
containing the action performed for NAsignature(object = "vm")
: returns the complete alpha vector (wit zero values)signature(object = "vm")
: returns the cross-validation errorsignature(object = "vm")
: returns the training errorsignature(object = "vm")
: returns the fitted values (predict on training set)signature(object = "vm")
: returns the kernel functionsignature(object = "vm")
: returns the kernel parameters (hyperparameters)signature(object = "vm")
: returns the levels in case of classificationsignature(object="vm")
: returns the function callsignature(object = "vm")
: returns the problem typesignature(object = "vm")
: returns the data matrix used(support vectors)signature(object = "vm")
: returns the response vectorAlexandros Karatzoglou
alexandros.karatzolgou@ci.tuwien.ac.at
ksvm-class
, rvm-class
, gausspr-class
Useful links