Erreur absolue moyenne 🌐
Mean absolute error
🌐
Mean absolute errorluz_metric_mae.Rd
Calcule l'erreur absolue moyenne.
Voir également
Autres métriques de luz:
luz_metric_accuracy()
,
luz_metric_binary_accuracy_with_logits()
,
luz_metric_binary_accuracy()
,
luz_metric_binary_auroc()
,
luz_metric_mse()
,
luz_metric_multiclass_auroc()
,
luz_metric_rmse()
,
luz_metric()
Exemples
if (torch::torch_is_installed()) {
library(torch)
metric <- luz_metric_mae()
metric <- metric$new()
metric$update(torch_randn(100), torch_randn(100))
metric$compute()
}
#> Error in luz_metric_mae(): impossible de trouver la fonction "luz_metric_mae"