(self, X)
| 10 | self.class_prob = y.sum() / len(y) |
| 11 | |
| 12 | def predict(self, X): |
| 13 | pred = np.empty(X.shape[0], dtype=np.float64) |
| 14 | pred.fill(self.class_prob) |
| 15 | return pred |
| 16 | |
| 17 | |
| 18 | class MeanBaseEstimator: |
nothing calls this directly
no outgoing calls
no test coverage detected