vm-class {kernlab} | R Documentation |
An S4 VIRTUAL class used as a base for the various vector machine classes in kernlab
Objects from the class cannot be created directly but only contained in other classes.
alpha
:"listI"
containing the
resulting alpha vector (list in case of multiclass classification) (support vectors)type
:"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
:"function"
containing
the kernel functionkpar
:"list"
containing the
kernel function parameters (hyperparameters)kcall
:"call"
containing the function callterms
:"ANY"
containing the
terms representation of the symbolic model used (when using a formula)xmatrix
:"input"
the data
matrix used during computations (support vectors) (possibly scaled and whithout NA)ymatrix
:"output"
the response matrix/vector fitted
:"output"
with the fitted values,
predictions using the training set.lev
:"vector"
with the levels of the
response (in the case of classifiaction)nclass
:"numeric"
containing
the number of classes (in the case of classification)error
:"vector"
containing the
training errorcross
:"vector"
containing the
cross-validation error n.action
:"ANY"
containing the
action performed for NA signature(object = "vm")
: returns the complete
alpha vector (wit zero values)signature(object = "vm")
: returns the
cross-validation error signature(object = "vm")
: returns the training
error signature(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 classification signature(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 vector
Alexandros Karatzoglou
alexandros.karatzolgou@ci.tuwien.ac.at
ksvm-class
,
rvm-class
,
gausspr-class