Returns the percentage of correct positive classifications.
(classify=lambda document:False, documents=[], average=None)
| 147 | return test(classify, documents, average)[0] |
| 148 | |
| 149 | def precision(classify=lambda document:False, documents=[], average=None): |
| 150 | """ Returns the percentage of correct positive classifications. |
| 151 | """ |
| 152 | return test(classify, documents, average)[1] |
| 153 | |
| 154 | def recall(classify=lambda document:False, documents=[], average=None): |
| 155 | """ Returns the percentage of positive cases correctly classified as positive. |
nothing calls this directly
no test coverage detected
searching dependent graphs…