(self)
| 123 | """Binary logistic regression with gradient descent optimizer.""" |
| 124 | |
| 125 | def init_cost(self): |
| 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))) |
nothing calls this directly
no outgoing calls
no test coverage detected