model_performance {cheem} | R Documentation |
Extract higher level model performance statistics
Description
Internal function, used downstream in cheem_ls.
Usage
model_performance(y, pred, label = "label")
Arguments
y |
Observed response, required by ranger models. |
pred |
A (n, 1) vector of the predicted values for each observation.
Typically obtainable with |
label |
Optionally provide a character label to store reminder text for the type of model and local explanation used. Defaults to "label". |
Value
A data.frame of model performance statistics.
[Package cheem version 0.4.0.0 Index]