(self, run_records)
| 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 | |
| 102 | class LeaveOneOutSelectionMethod(SelectionMethod): |
| 103 | """Picks (hparams, step) by leave-one-out cross validation.""" |
nothing calls this directly
no test coverage detected