MCPcopy Create free account
hub / github.com/alexrame/fishr / run_acc

Method run_acc

domainbed/model_selection.py:96–100  ·  view source on GitHub ↗
(self, run_records)

Source from the content-addressed store, hash-verified

94
95 @classmethod
96 def run_acc(self, run_records):
97 test_records = get_test_records(run_records)
98 if not len(test_records):
99 return None
100 return test_records.map(self._step_acc).argmax('val_acc')
101
102class LeaveOneOutSelectionMethod(SelectionMethod):
103 """Picks (hparams, step) by leave-one-out cross validation."""

Callers

nothing calls this directly

Calls 3

get_test_recordsFunction · 0.85
argmaxMethod · 0.80
mapMethod · 0.80

Tested by

no test coverage detected