private void updateWorkerConfusionMatrix(String workerName) {
Worker w = this.workers.get(workerName);
ConfusionMatrix cm = new ConfusionMatrix(this.categories.values());
cm.empty();
// Scan all objects and change the confusion matrix for each worker
// using the class probability for each object
for (AssignedLabel al : w.getAssignedLabels()) {