(self, w)
| 126 | self.cost_func = binary_crossentropy |
| 127 | |
| 128 | def _loss(self, w): |
| 129 | loss = self.cost_func(self.y, self.sigmoid(np.dot(self.X, w))) |
| 130 | return self._add_penalty(loss, w) |
| 131 | |
| 132 | @staticmethod |
| 133 | def sigmoid(x): |
nothing calls this directly
no test coverage detected