tof_assess_model_new_data: Compute a trained elastic net model's performance metrics...

View source: R/modeling_helpers.R

tof_assess_model_new_dataR Documentation

Compute a trained elastic net model's performance metrics using new_data.

Description

Compute a trained elastic net model's performance metrics using new_data.

Usage

tof_assess_model_new_data(tof_model, new_data)

Arguments

tof_model

A 'tof_model' trained using tof_train_model

new_data

A tibble of new observations that should be used to evaluate the ‘tof_model'’s performance.

Value

A list of performance metrics whose components depend on the model type.


keyes-timothy/tidytof documentation built on Aug. 28, 2024, 8:37 a.m.