posterior_crossvalidation {MetricGraph} | R Documentation |
Leave-one-out crossvalidation for graph_lme
models assuming observations at
the vertices of metric graphs
Description
Leave-one-out crossvalidation for graph_lme
models assuming observations at
the vertices of metric graphs
Usage
posterior_crossvalidation(object, factor = 1, tibble = TRUE)
Arguments
object |
A fitted model using the |
factor |
Which factor to multiply the scores. The default is 1. |
tibble |
Return the scores as a |
Value
Vector with the posterior expectations and variances as well as mean absolute error (MAE), root mean squared errors (RMSE), and three negatively oriented proper scoring rules: log-score, CRPS, and scaled CRPS.
[Package MetricGraph version 1.3.0 Index]