Update app.py
Browse files
app.py
CHANGED
|
@@ -127,12 +127,12 @@ A CNN predicts a label and confidence score for each chunk.
|
|
| 127 |
The final prediction is determined by:
|
| 128 |
1. **Majority vote**, the class predicted most frequently across chunks.
|
| 129 |
2. **Confidence tie-breaker**, if classes tie, the model selects the one with the **highest total confidence** across its chunks.
|
| 130 |
-
3. **Final confidence**
|
| 131 |
|
| 132 |
The JSON output shows the final label, its confidence, and all per-chunk predictions.
|
| 133 |
|
| 134 |
Classes you can classify them:
|
| 135 |
-
|
| 136 |
. **Chainsaw**
|
| 137 |
. **Clock Tick**
|
| 138 |
. **Cow**
|
|
|
|
| 127 |
The final prediction is determined by:
|
| 128 |
1. **Majority vote**, the class predicted most frequently across chunks.
|
| 129 |
2. **Confidence tie-breaker**, if classes tie, the model selects the one with the **highest total confidence** across its chunks.
|
| 130 |
+
3. **Final confidence**, the average confidence of all chunks belonging to the final class.
|
| 131 |
|
| 132 |
The JSON output shows the final label, its confidence, and all per-chunk predictions.
|
| 133 |
|
| 134 |
Classes you can classify them:
|
| 135 |
+
**Baby Cry**
|
| 136 |
. **Chainsaw**
|
| 137 |
. **Clock Tick**
|
| 138 |
. **Cow**
|