It was difficult for me to figure out valid values for the fairness_metrics argument for the function metric_scores. The Usage section of the help says:
metric_scores(x, fairness_metrics = fairness_check_metrics())
However, fairness_check_metrics is a helper function that is not exposed. So I don't think it should be mentioned.
Also the Arguments section says:
fairness_metrics character, vector with fairness metric names. Default metrics are ones in fairness_check plot
However, the plot doesn't give the exact valid argument values.
From the Examples section:
ms <- metric_scores(fobject, fairness_metrics = c("TPR","STP","ACC"))
The meaning of TPR and ACC I could easily guess, but for me it wasn't immediately clear what STP stands for.
So maybe it would be better to explicitly state all valid values, including a full description?
It was difficult for me to figure out valid values for the
fairness_metricsargument for the functionmetric_scores. The Usage section of the help says:However,
fairness_check_metricsis a helper function that is not exposed. So I don't think it should be mentioned.Also the Arguments section says:
However, the plot doesn't give the exact valid argument values.
From the Examples section:
The meaning of TPR and ACC I could easily guess, but for me it wasn't immediately clear what STP stands for.
So maybe it would be better to explicitly state all valid values, including a full description?