gausspr-class | R Documentation |
The Gaussian Processes object class
Objects can be created by calls of the form new("gausspr", ...)
.
or by calling the gausspr
function
tol
:Object of class "numeric"
contains
tolerance of termination criteria
kernelf
:Object of class "kfunction"
contains
the kernel function used
kpar
:Object of class "list"
contains the
kernel parameter used
kcall
:Object of class "list"
contains the used
function call
type
:Object of class "character"
contains
type of problem
terms
:Object of class "ANY"
contains the
terms representation of the symbolic model used (when using a formula)
xmatrix
:Object of class "input"
containing
the data matrix used
ymatrix
:Object of class "output"
containing the
response matrix
fitted
:Object of class "output"
containing the
fitted values
lev
:Object of class "vector"
containing the
levels of the response (in case of classification)
nclass
:Object of class "numeric"
containing
the number of classes (in case of classification)
alpha
:Object of class "listI"
containing the
computes alpha values
alphaindex
Object of class "list"
containing
the indexes for the alphas in various classes (in multi-class
problems).
sol
Object of class "matrix"
containing the solution to the Gaussian Process formulation, it is used to compute the variance in regression problems.
scaling
Object of class "ANY"
containing
the scaling coefficients of the data (when case scaled = TRUE
is used).
nvar
:Object of class "numeric"
containing the
computed variance
error
:Object of class "numeric"
containing the
training error
cross
:Object of class "numeric"
containing the
cross validation error
n.action
:Object of class "ANY"
containing the
action performed in NA
signature(object = "gausspr")
: returns the alpha
vector
signature(object = "gausspr")
: returns the cross
validation error
signature(object = "gausspr")
: returns the
training error
signature(object = "vm")
: returns the fitted values
signature(object = "gausspr")
: returns the call performed
signature(object = "gausspr")
: returns the
kernel function used
signature(object = "gausspr")
: returns the kernel
parameter used
signature(object = "gausspr")
: returns the
response levels (in classification)
signature(object = "gausspr")
: returns the type
of problem
signature(object = "gausspr")
: returns the
data matrix used
signature(object = "gausspr")
: returns the
response matrix used
signature(object = "gausspr")
: returns the
scaling coefficients of the data (when scaled = TRUE
is used)
Alexandros Karatzoglou
alexandros.karatzoglou@ci.tuwien.ac.at
gausspr
,
ksvm-class
,
vm-class
# train model
data(iris)
test <- gausspr(Species~.,data=iris,var=2)
test
alpha(test)
error(test)
lev(test)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.