Skip to content

DOC clarify the use of label in P/R/F metric family #1989

@jnothman

Description

@jnothman

The labels parameter to precision_recall_fscore_support is described in the docstring as "array of labels". Things that are unclear to me:

  • it is only tested with permutations of the range of labels. In this case, it only applies to average=None and that should be stated.
  • may it be used to limit the set of labels used? if so, this affects other averages, but really must be tested for all and documented.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions