Description Usage Arguments Value Examples
View source: R/lambda_functions.R
This function produces the predictive performance for a regression model using various common performance metrics such as MSE, R-squared, or Correlation coefficients.
1 | performance(y_obs, y_pred, measures = c("NRMSE", "NMAE", "PCC"))
|
y_obs |
Observed response values |
y_pred |
Predicted response values |
measures |
Performance measures. One can specify a single measure or a vector containing multiple measures in terms of common error or similarity metrics. The available options are roughly divided into 3 categories -
Defaults to |
A vector containing the performance metric values.
1 2 3 4 5 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.