(self, C=0.01)
| 5 | |
| 6 | class Regularizer(object): |
| 7 | def __init__(self, C=0.01): |
| 8 | self.C = C |
| 9 | self._grad = elementwise_grad(self._penalty) |
| 10 | |
| 11 | def _penalty(self, weights): |
| 12 | raise NotImplementedError() |
nothing calls this directly
no outgoing calls
no test coverage detected