code · freeuipathdeterministicmirrors uipath.eval BinaryClassificationEvaluator / MulticlassClassificationEvaluator

Classification match

Classification match checks that a predicted label equals the expected label after normalisation. It mirrors UiPath's Binary and Multiclass classification evaluators and is the per-item input to accuracy, precision, recall and F1.

how it works // frame by frame

What the evaluator does

Normalise and compare. Aggregate the results into a confusion matrix to get precision, recall and F1 per class.

frame 1/4 · the two inputs
predicted
billing
expected
billing
1.normalise
2.compare
3.feed into the confusion matrix
correctscore 1
runs in code · $0 · ~0 ms · deterministic
when to use it

Reach for it when

  • Intent routing, sentiment, ticket categorisation, any labelling task.
  • Building precision/recall dashboards per class.

Not the right tool when

  • Labels are free text (use answer_similarity).

Watch out for

  • Label vocabularies must match exactly (Billing vs billing is handled, billing vs payments is not).
inputs and example

What to send

required fields
outputexpected
optional fields
none
in suites
CorrectnessEverything
result shape

score 0–1 computed in code, label, passed at an evaluator-specific threshold, no probabilities.

POST /api/v1/evaluateopen in console
{
  "evaluators": [
    "classification"
  ],
  "input": "Classify: 'My card was charged twice.'",
  "output": "billing",
  "expected": "billing"
}
expected

Correct.

rolling it up

Aggregate with

One result per item is a fact; a dataset of them is a metric. These are the aggregations that fit this evaluator's output shape.

related evaluators
questions people ask
How do I get precision and recall from classification results?
Aggregate the per-item matches into a confusion matrix; jeval's metrics pages show the formulas with a live widget.