plot.rvbm {rpud}R Documentation

Diagnostics Plots for Variational Bayesian Multiclass Probit Regression

Description

The plot.rvbm method plots the history of marginal likelihood lower bound, predictive likelihood, test error and estimated covariance parameters during the iterations of the Gaussian process computation.

Usage

## S3 method for class 'rvbm'
plot(x, ...)

Arguments

x

An S3 object that inherits from the class rvbm.

...

Not used.

Note

This is a clone of the plotDiagnostics method in vbmp.

Author(s)

Chi Yau
chi.yau@r-tutor.com

See Also

rvbm, vbmp

Examples

## 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) 
)

plot(model.rvbm)


## End(Not run)

[Package rpud version 0.7.1 Index]