Results and deployment
Evaluation metrics
What accuracy, precision, recall, F1, mAP and the other scores in Studio actually mean.
On this page
The idea in one minute
A metric is a number that says how good a model is. Different tasks need different metrics, so Studio shows each model only the metrics that fit it.
| Model | Main metrics in Studio |
|---|---|
| Motion classification | Accuracy per window and per recording, confusion matrix |
| Motion regression | MAE (mean absolute error) |
| Audio classification | Accuracy, confusion matrix |
| Audio anomaly detection | Anomaly score compared with a threshold |
| NanoVision | Precision, recall and F1 on grid cells |
| Vision Pro, EdgeDetect Lite | mAP@50 and other COCO detection scores |
| FaceRec-Edge | Precision, recall, F1 and a confusion matrix |
Accuracy
The share of predictions that were right. 90 correct out of 100 is 90 % accuracy. Easy to read, but it can mislead when labels are unbalanced.
Precision, recall and F1
Imagine a model that looks for helmets.
- Precision: of everything the model called a helmet, how much really was one?
- Recall: of all the real helmets, how many did the model find?
- F1: one number that balances precision and recall.
Confusion matrix
A table with the real labels on one side and the predicted labels on the other. The diagonal counts the correct answers; everything else shows which labels get mixed up.
| Real ↓ / Predicted → | wave | shake | idle |
|---|---|---|---|
| wave | 18 | 2 | 0 |
| shake | 1 | 19 | 0 |
| idle | 0 | 0 | 20 |
Here wave is sometimes mistaken for shake. Recording more varied waves would help.
Per window and per recording (Motion)
A Motion recording is cut into many windows. Studio reports:
- Per window: how many windows got the right label.
- Per recording: each recording gets the label most of its windows voted for, then those are counted.
IoU and mAP (box detection)
IoU (intersection over union) measures how well a predicted box overlaps the real box: 1 means a perfect match, 0 means no overlap. mAP@50 counts a detection as correct when its IoU is at least 0.5, then averages the precision over all labels.
Cell metrics (NanoVision)
NanoVision marks object centres on a grid, not boxes, so IoU and mAP don't apply. Studio checks each grid cell instead and reports precision, recall and F1 on those cells.
MAE (regression)
Mean absolute error is the average distance between the predicted and real numbers. Lower is better. An MAE of 0.5 when predicting speed in km/h means predictions are off by half a km/h on average.
Anomaly score (Audio anomaly detection)
The model gives each sound a score. A score above the threshold means "unusual". Raising the threshold gives fewer false alarms but may miss real problems.