Skip to content

Main content

Multilabel Item Excess Prediction Count

Return unique explicitly predicted labels absent from the actual-label set while preserving prediction order.

Loading tool…

Description

List distinct supplied predicted labels absent from actual labels.

Classification terms depend on label vocabularies, decision thresholds and denominator definitions. One class recall is not a full balanced-accuracy metric, and a row or column total is not automatically a precision or recall denominator. Empty or zero-total cases need an explicit defined flag or convention.

List distinct supplied predicted labels absent from actual labels.

When to use this tool

Use Multilabel Item Excess Prediction Count when you already have predictedLabels, actualLabels and need to list distinct supplied predicted labels absent from actual labels.

How to use the tool and how it works

  1. Enter predictedLabels, actualLabels. Follow any array-alignment requirements below. Use the units and conventions below.
  2. Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
  3. Read extraPredictedLabels, extraCount. Use the output convention below.

Deduplicate predictedLabels in first-occurrence order, keep labels not literally in actualLabels, and return the list and count.1

Input fieldMeaning and unitsAccepted input
predictedLabelsPredicted LabelsRequired. Array of text; maximum UTF-16 length 8192; maximum items 256.
actualLabelsActual LabelsRequired. Array of text; maximum UTF-16 length 8192; maximum items 256.
Output fieldInterpretationReturned shape
extraPredictedLabelsDistinct predicted labels absent from actualLabels, in first-occurrence order.Required. Array of text; maximum UTF-16 length 8192; maximum items 256.
extraCountExtra CountRequired. Safe integer.
json
{
  "input": {
    "predictedLabels": [
      "A",
      "B",
      "B",
      "C"
    ],
    "actualLabels": [
      "B",
      "D"
    ]
  },
  "output": {
    "extraPredictedLabels": [
      "A",
      "C"
    ],
    "extraCount": 2
  }
}

Limitations and assumptions

  • Empty labels/lists are accepted. This is one item's extra-label set, not false-positive rate, a full multilabel metric, label validity or actual ground truth.
  • Inputs must satisfy both the field types and the cross-field conditions above. Invalid input causes an error; a successful false flag or documented placeholder is a different result.

Alternative or Complementary methods

Evaluate the complete prediction set, confusion structure and decision policy. Report missingness, class scope and uncertainty with the full metric; local threshold flags or one-cell fractions cannot characterize overall model performance.

References

  1. Calculation and input contract: classification/multilabel-item-excess-prediction-count — tool.io

Similar or alternative tools