Description Usage Arguments Details See Also Examples
bias
computes the average amount by which actual
is greater than
predicted
.
1 | bias(actual, predicted)
|
actual |
The ground truth numeric vector. |
predicted |
The predicted numeric vector, where each element in the vector
is a prediction for the corresponding element in |
If a model is unbiased bias(actual, predicted)
should be close to zero.
Bias is calculated by taking the average of (actual
- predicted
).
1 2 3 |
[1] 0.01666667
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.