| 142 | } |
| 143 | |
| 144 | double getAccuracy(int label) |
| 145 | { |
| 146 | return ((double)getTruePositives(label) + |
| 147 | (double)getTrueNegatives(label)) / |
| 148 | (double)m_confusionMatrix.topRows(m_dim).sum(); |
| 149 | } |
| 150 | |
| 151 | double getOverallAccuracy() |
| 152 | { |
nothing calls this directly
no test coverage detected