bvto: Bias-Variance Trade-Off

Description Usage Arguments Examples

View source: R/bvto.R

Description

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

Usage

1
bvto(truth, estimate)

Arguments

truth

test data vector or baseline accuractruth to test against.

estimate

predicted vector

Examples

1
2
3
4
5
# Sample data
test <- rnorm(25, 80, 35)
predicted <- rnorm(25, 80, 50)

mlf::bvto(test, predicted)

mlf documentation built on June 25, 2018, 9:01 a.m.