evaluate_linear | R Documentation |
Compute MAE and MSE, given predictions and true targets. Outputs columnwise average.
evaluate_linear(y_true, y_pred, label_names = NULL)
y_true |
Matrix of true labels. |
y_pred |
Matrix of predictions. |
label_names |
Names of corresponding labels. Length must be equal to number of columns of |
A list of evaluation results.
y_true <- matrix(rnorm(n = 12), ncol = 3)
y_pred <- matrix(rnorm(n = 12), ncol = 3)
evaluate_linear(y_true, y_pred)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.