| regression_metrics | R Documentation |
Regression Metrics
regression_metrics(true, predicted, na.rm = TRUE, sample = NULL)
true |
Numeric vector: True values. |
predicted |
Numeric vector: Predicted values. |
na.rm |
Logical: If TRUE, remove NA values before computation. |
sample |
Optional Character {"Training", "Validation", "Test", "Calibrated Training", "Calibrated Validation", "Calibrated Test"}: Sample the metrics describe. |
RegressionMetrics object.
EDG
true <- rnorm(100)
predicted <- true + rnorm(100, sd = 0.5)
regression_metrics(true, predicted)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.