Arguments
- y
Vector of observations or ground-truths.
- y_hat
Vector of predictions.
- square_bias
Whether to return the square bias (bool); defaults to FALSE
.
- na.rm
A logical value indicating whether NA
values should be stripped before the computation proceeds.
Value
The (square) bias of the predictions y_hat
for y
.