(self, indices)
| 45 | self.k_fold = KFold(n_splits=n_splits, shuffle=shuffle) |
| 46 | |
| 47 | def split(self, indices): |
| 48 | if self.n_splits > 1: |
| 49 | return self.k_fold.split(indices) |
| 50 | else: |
| 51 | return [(indices, indices)] |
| 52 | |
| 53 | |
| 54 | def calculate_roc(thresholds, |
no outgoing calls
no test coverage detected