HomeDocsAPI Reference
Kumo.ai
Docs

metrics

metrics: List[str] (Optional)

Description

This field specifies the metrics to use for evaluating your model. Available metrics vary per task, with incompatible metrics resulting in a validation error.

Supported Task Types

  • All

Available Extra Metrics

Task TypeOptions
Binary Classificationacc,auroc, auprc, ap, f1,ndcg, ndcg@k,precision,precision@k,recall,recall@k; for k = 1, 10, and 100
Multiclass Classificationacc, f1, precision, recall
Multilabel Classificationacc,f1, precision, recall; auroc,auprc, ap supported only with suffixes _macro, _micro, and _per_label
Link Predictionf1@k, map@k, mrr@k, ndcg@k, precision@k, recall@k; for k = 1, 10, and 100
Regressionmae, mape, mse, rmse, smape

Example

In the case of link prediction, the default metrics are map@1/10/100, but you can use metrics: [map@12] to report map@12.