View source: R/metric_error_checking.R
function containing all of the error catching for calculating model metrics This includes vectors being of the correct length and type
1 2 3 4 5 6 7 | metric_error_checking_nofamily(
actual,
predicted,
weight = NULL,
na.rm = FALSE,
rebase = FALSE
)
|
actual |
Array[Numeric] - Values we are aiming to predict. |
predicted |
Array[Numeric] - Values that we have predicted. |
weight |
Optional: Array[Numeric] - Weighting of predictions. If NULL even weighting is used |
na.rm |
Optional: boolean - If |
rebase |
Optional: boolean - If |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.