bvto {mlf}R Documentation

Bias-Variance Trade-Off

Description

Provides estimated error decomposition from model predictions (mse, bias, variance).

Usage

bvto(truth, estimate)

Arguments

truth

test data vector or baseline accuractruth to test against.

estimate

predicted vector

Examples

# Sample data
test <- rnorm(25, 80, 35)
predicted <- rnorm(25, 80, 50)

mlf::bvto(test, predicted)

[Package mlf version 1.2.1 Index]