| 112 | } |
| 113 | |
| 114 | double getSensitivity(int label) |
| 115 | { |
| 116 | if ((getTruePositives(label) + getFalseNegatives(label)) == 0) |
| 117 | return 0.0; |
| 118 | else |
| 119 | return (double)getTruePositives(label) / |
| 120 | ((double)getTruePositives(label) + |
| 121 | (double)getFalseNegatives(label)); |
| 122 | } |
| 123 | |
| 124 | double getSpecificity(int label) |
| 125 | { |
nothing calls this directly
no test coverage detected