Skip to content

Difficulty figuring out valid values for fairness_metrics argument in metric_scores function #29

@FrieseWoudloper

Description

@FrieseWoudloper

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentation 📖Improvements or additions to documentation

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions