get_resids_binary: Binary classifier residuals, variance and errors.

View source: R/utils_analysis.R

get_resids_binaryR Documentation

Binary classifier residuals, variance and errors.

Description

Retrieves working binary residuals (get_resids_binary()), outcome variance (get_var_binary()) and fit errors (get_errors_binary(): MAE, MSE, RMSE and pseudo-R-squared).

Usage

get_resids_binary(data, classes)

get_var_binary(data)

get_errors_binary(data, classes)

Arguments

data

a data frame with .outcome and .fitted columns.

classes

a vector with the class order.

Value

a numeric or a tibble with the statistic values.


PiotrTymoszuk/caretExtra documentation built on Oct. 15, 2023, 10:03 p.m.