evaluate_single: Run one or more metrics on outputs.

View source: R/evaluate.R

evaluate_singleR Documentation

Run one or more metrics on outputs.

Description

This is an internal function. Users should call the wrapper function evaluate. Here "single" refers to a single output (and thus a single method, though not necessarily a single index). The metrics provided are run and saved together in a file.

Usage

evaluate_single(metrics, model, output, draws = NULL)

Arguments

metrics

a list of Metric objects

model

a Model object

output

a Output object

draws

(optional) a Draws object or NULL


simulator documentation built on Feb. 16, 2023, 9:34 p.m.