Model Evaluation
Evaluating an Audio model
Check your Audio model on the testing set, read the confusion matrix and try it live with your microphone.
Try it in StudioOn this page
Goal
By the end of this page you will know how well your model recognises sounds it has never heard, and you will have tried it live.
Step 1: Model testing
Model testing runs your Classification or Transfer Learning model on every clip in the testing set.
- Open Model testing in the left menu.
- Select Classify all. Studio shows, for example, 48 of 55 classified correctly, and the Model Accuracy.
- Target Model shows which trained model and precision were used.
- Look at the Confusion Matrix. Rows are the actual class, columns the predicted class.
- Click a cell to list the recordings in it, and play them to hear what went wrong.
- Select a sample to see its Expected label, the Model Prediction and the Confidence for each label.
How to read the confusion matrix
| Predicted yes | Predicted no | Predicted noise | |
|---|---|---|---|
| Actual yes | 18 | 2 | 0 |
| Actual no | 1 | 17 | 2 |
| Actual noise | 0 | 0 | 15 |
The bold diagonal shows correct predictions. Here yes is sometimes heard as no: record more yes and no clips with different voices.
Step 2: Live classification
- Open Live classification and allow the browser to use your microphone. Choose the Input Mic if you have more than one.
- Select Start Live Stream. Studio listens continuously in a 1-second sliding window at 16 kHz and shows the Classification Output and a Confidence Breakdown.
- Speak or play your sounds and watch the prediction.
- Select Stop Live Stream when you are done.
You can also test one stored clip under Test Stored Sample.
Live settings
| Setting | Default | What it does |
|---|---|---|
| Gate Threshold (model confidence) | 65 % | A prediction below this confidence is not shown as a detection. |
| Silence Gate (RMS) | 450 | Sound quieter than this level is treated as silence and not sent to the model. Live Mic RMS shows your current level. |
| Trigger Cooldown | 800 ms | Waiting time before the same detection can trigger again. |
| Anomaly Gate | 4.5 | For Anomaly Detection models: scores above this show Acoustic Anomaly Flagged. |
Step 3: Evaluation page
The Evaluation page summarises the trained model: its accuracy and the training graphs.
Evaluating Anomaly Detection
Anomaly Detection models do not name sounds, so they have no confusion matrix. Use:
- the Anomaly explorer on the training page, to see the score of each validation sample against the Anomaly threshold, and
- Live classification with the Anomaly Gate, to test new sounds.
Result
You know the model's accuracy on new clips, which sounds it confuses, and how it behaves live.