Efficient approximate leave-one-out cross-validation for bml models
Source:R/posterior-methods.R
loo.bml.RdPSIS-LOO via the loo package, computed from the monitored pointwise
log-likelihood. Available for gaussian and bernoulli families fitted with
monitor = TRUE. Compare models with loo::loo_compare().
Usage
# S3 method for class 'bml'
loo(x, ...)Arguments
- x
A fitted
bmlmodel.- ...
Passed to
loo::loo.matrix().