summary.rvbm {rpud} | R Documentation |
This method gives summary statistics of
the Gaussian process model created with rvbm
.
## S3 method for class 'rvbm'
summary(object, ...)
object |
An S3 object that inherits from the class |
... |
Not used. |
An S3 object of type summary.rvbm
that contains the following:
Kc: Number of response categories.
covParams: Estimated theta covariance parameters.
predLik: Predictive log likelihood of the fitted model.
predError: Percentage of the prediction errors.
predClass: Predicted class membership of the test data.
This replaces the covParams
, predLik
,
predError
, and predClass
methods in vbmp
.
Chi Yau
chi.yau@r-tutor.com
rvbm
, vbmp
## Not run:
library(rpud)
x <- rvbm.sample.train$X
y <- rvbm.sample.train$t.class
model.rvbm <- rvbm(
x, y, x, y,
theta = rep(1, ncol(x)),
control = list(
sKernelType="gaussian",
bThetaEstimate=TRUE,
bMonitor=TRUE,
maxIts=12,
InfoLevel=1)
)
summary(model.rvbm)
## End(Not run)