(self, X=None)
| 29 | raise NotImplementedError() |
| 30 | |
| 31 | def _predict(self, X=None): |
| 32 | predictions = [self._predict_x(x) for x in X] |
| 33 | |
| 34 | return np.array(predictions) |
| 35 | |
| 36 | def _predict_x(self, x): |
| 37 | """Predict the label of a single instance x.""" |
nothing calls this directly
no test coverage detected