Calculate classifier accuracy

Hello, I trained some classifier (SVM, K, RT) and I want to calculate their accuracy in a test set. How can I do it?
I can see training accuracy but, of coursem is not reliable

Hi @Francesco-Martino,

Maybe you could export the labels (masks) from the classification using the TileExporter (https://qupath.readthedocs.io/en/latest/docs/advanced/exporting_annotations.html#labeled-tiles) and calculate the accuracy from these and your ground truth in another tool? That would allow you to calculate the accuracy exactly the way you want it.

1 Like