assess: Assess the predictions from the SPEAR model using a variety...

View source: R/2_helpers.R

assessR Documentation

Assess the predictions from the SPEAR model using a variety of metrics. Utilizes the 'yardstick' package under the 'tidymodels' umbrella.

Description

Assess the predictions from the SPEAR model using a variety of metrics. Utilizes the 'yardstick' package under the 'tidymodels' umbrella.

Usage

assess(data = "train", cv = TRUE)

Arguments

data

Which dataset to use? Can be any dataset listed under '$data$____'. Defaults to '"train"'.

cv

If 'data = "train"', get factor scores generated from '$run.cv.spear'? If '$run.spear' was used or if 'data != "train"' this parameter is ignored. Defaults to 'TRUE'.


jgygi/SPEAR documentation built on July 5, 2023, 5:35 p.m.