Class "rvm"
Relevance Vector Machine Class class
Objects can be created by calls of the form new("rvm", ...)
. or by calling the rvm
function.
tol
:: Object of class "numeric"
contains tolerance of termination criteria used.kernelf
:: Object of class "kfunction"
contains the kernel function usedkpar
:: Object of class "list"
contains the hyperparameter usedkcall
:: Object of class "call"
contains the function calltype
:: Object of class "character"
contains type of problemterms
:: Object of class "ANY"
containing the terms representation of the symbolic model used (when using a formula interface)xmatrix
:: Object of class "matrix"
contains the data matrix used during computationymatrix
:: Object of class "output"
contains the response matrixfitted
:: Object of class "output"
with the fitted values, (predict on training set).lev
:: Object of class "vector"
contains the levels of the response (in classification)nclass
:: Object of class "numeric"
contains the number of classes (in classification)alpha
:: Object of class "listI"
containing the the resulting alpha vectorcoef
:: Object of class "ANY"
containing the the resulting model parametersnvar
:: Object of class "numeric"
containing the calculated variance (in case of regression)mlike
:: Object of class "numeric"
containing the computed maximum likelihoodRVindex
:: Object of class "vector"
containing the indexes of the resulting relevance vectorsnRV
:: Object of class "numeric"
containing the number of relevance vectorscross
:: Object of class "numeric"
containing the resulting cross validation errorerror
:: Object of class "numeric"
containing the training errorn.action
:: Object of class "ANY"
containing the action performed on NAsignature(object = "rvm")
: returns the index of the relevance vectorssignature(object = "rvm")
: returns the resulting alpha vectorsignature(object = "rvm")
: returns the resulting cross validation errorsignature(object = "rvm")
: returns the training errorsignature(object = "vm")
: returns the fitted valuessignature(object = "rvm")
: returns the function callsignature(object = "rvm")
: returns the used kernel functionsignature(object = "rvm")
: returns the parameters of the kernel functionsignature(object = "rvm")
: returns the levels of the response (in classification)signature(object = "rvm")
: returns the estimated maximum likelihoodsignature(object = "rvm")
: returns the calculated variance (in regression)signature(object = "rvm")
: returns the type of problemsignature(object = "rvm")
: returns the data matrix used during computationsignature(object = "rvm")
: returns the used responseAlexandros Karatzoglou
alexandros.karatzoglou@ci.tuwien.ac.at
rvm
, ksvm-class
# create data x <- seq(-20,20,0.1) y <- sin(x)/x + rnorm(401,sd=0.05) # train relevance vector machine foo <- rvm(x, y) foo alpha(foo) RVindex(foo) fitted(foo) kernelf(foo) nvar(foo) ## show slots slotNames(foo)
Useful links