powered by
Estimates squared bias by decomposing model prediction error.
get_bias(truth, estimate)
test data vector or baseline accuracy to test against.
predicted vector
# NOT RUN { # Sample data test <- rnorm(25, 80, 35) predicted <- rnorm(25, 80, 50) mlf::get_bias(test, predicted) # }
Run the code above in your browser using DataLab