MCPcopy Create free account
hub / github.com/OpenBitSys/BitDistiller / matthews_corrcoef

Function matthews_corrcoef

test/general/lm_eval/metrics.py:32–36  ·  view source on GitHub ↗
(items)

Source from the content-addressed store, hash-verified

30
31
32def matthews_corrcoef(items):
33 unzipped_list = list(zip(*items))
34 golds = unzipped_list[0]
35 preds = unzipped_list[1]
36 return sklearn.metrics.matthews_corrcoef(golds, preds)
37
38
39def f1_score(items):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected