Advanced level · Module 4: Routing and Specialist Agents · Lesson 3 of 3
Evaluating Routing
Learners measure routing accuracy with a confusion matrix, link routing errors to final outcomes and tune thresholds.
In this lesson you will
- Measure routing accuracy per route
- Tune thresholds using outcome data
Key concepts
routing confusion matrixper-route accuracycost of misroutingthreshold tuningfallback rate
The lesson
Label the correct route for each evaluation task and build a confusion matrix of actual versus chosen routes. Per-route accuracy shows which routes are confused.
Misrouting costs differ: sending a data question to the policy specialist wastes time; sending a complaint to an automated agent may harm a person. Weight errors by their cost.
Tune the confidence threshold by balancing the fallback rate (more human work) against misrouting (more errors).
Step by step
- Label routes for 40 evaluation tasks.
- Build the routing confusion matrix.
- Estimate the cost of each type of misroute.
- Choose a threshold and justify it.
Practice activity
Write a routing evaluation with a tuned threshold.
Expected result: A confusion matrix, weighted error analysis and a justified threshold.
Check your understanding
-
What does a routing confusion matrix show?
Show answer
Which routes are chosen for each correct route.
-
What is the trade-off when raising the confidence threshold?
Show answer
Fewer misroutes but more requests sent to the fallback or humans.
Further learning
Taught live by an instructor — online or in person. Free course lessons are for self-study and do not lead to a certificate — see registration options.