Description Usage Arguments Value
This function evaluates the posterior predictive distribution for a univariate TMoG model
1 | postPredTmog(res, test, pts, upper, lower, realDens)
|
res |
list of results containing weight (wt), mean (mn), and covariance (cv) matrix for each cluster |
test |
test set where columns are the individual observations and rows are the dimension |
pts |
grid points to draw the density distribution |
upper |
upper bound of constraints, only use for unit square |
lower |
lower bound of constraints, only use for unit square |
realDens |
real density values at points |
list of prediction at points, prediction of tests, along with error bars
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.