MCPcopy Create free account
hub / github.com/FlyingFeather/DEA-SQL / F1

Function F1

hardness_eval.py:636–639  ·  view source on GitHub ↗
(acc, rec)

Source from the content-addressed store, hash-verified

634
635
636def F1(acc, rec):
637 if (acc + rec) == 0:
638 return 0
639 return (2. * acc * rec) / (acc + rec)
640
641
642def get_scores(count, pred_total, label_total):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected