Learn R Programming

mlf (version 1.2.1)

bvto: 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

Run this code
# NOT RUN {
# Sample data
test <- rnorm(25, 80, 35)
predicted <- rnorm(25, 80, 50)

mlf::bvto(test, predicted)
# }

Run the code above in your browser using DataLab