kernlab (version 0.9-4)

rvm-class: Class "rvm"

Description

Relevance Vector Machine Class

Arguments

Objects from the Class

Objects can be created by calls of the form new("rvm", ...). or by calling the rvm function.

See Also

rvm, ksvm-class

Examples

Run this code
# 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)

Run the code above in your browser using DataCamp Workspace