MCPcopy Index your code
hub / github.com/clips/pattern / recall

Function recall

pattern/metrics.py:154–157  ·  view source on GitHub ↗

Returns the percentage of positive cases correctly classified as positive.

(classify=lambda document:False, documents=[], average=None)

Source from the content-addressed store, hash-verified

152 return test(classify, documents, average)[1]
153
154def recall(classify=lambda document:False, documents=[], average=None):
155 """ Returns the percentage of positive cases correctly classified as positive.
156 """
157 return test(classify, documents, average)[2]
158
159def F1(classify=lambda document:False, documents=[], average=None):
160 """ Returns the harmonic mean of precision and recall.

Callers 1

sensitivityFunction · 0.85

Calls 1

testFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…