Skip to contents

Retrieve a confusion matrix from a fitted ODA model

Usage

oda_confusion(fit, split = c("train", "loo"), weighted = FALSE)

Arguments

fit

An oda_fit object.

split

One of "train" or "loo".

weighted

Logical; if TRUE return the priors-weighted confusion. Weighted LOO confusion is not stored separately.

Value

The confusion object stored on the fit, or NULL.