Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

You can also add annotations in the LABELING section and then click on “RECALC MATRIX” button. This will recalculate the confidence matrix without needing to retrain the model. You can find more in the recalculating matrix section of this page.

This page will explain the differences in how confusion matrix works in each module where it is available.

Recalculating Matrix

If you want to better see how a trained model detects or classifies the defects, you can go back into labeling and annotate more images and press “RECALC STATISTICS“ button. This will update the confusion matrix with the data from the new annotations withou the need to retrain the model.

...

Note

However the “RECALC MATRIX“ function isn’t available in the Surface Detection and OCR modules.

Anomaly Detector confusion matrix

In anomaly detector, the confusion matrix is directly visible without the need to click on any additional buttons:

...

Since Anomaly only splits images between OK and NG, the confusion matrix only has those two classes.

Info

In the Anomaly Detector module, the “RECALC STATISTICS” button updates not only the confusion matrix, but also the threshold value.

Classifier confusion matrix

The classifier confusion matrix can be accessed by clicking on the “CONFUSION MATRIX“ button:

...

The classifier confusion matrix looks like this and works exactly as was described in module confusion matrix section.

...

Detector confusion matrix

Surface Detector confusion matrix

OCR confusion matrix