MCPcopy Index your code
hub / github.com/rushter/MLAlgorithms / init_cost

Method init_cost

mla/linear_models.py:49–50  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

47 raise NotImplementedError()
48
49 def init_cost(self):
50 raise NotImplementedError()
51
52 def _add_penalty(self, loss, w):
53 """Apply regularization to the loss."""

Callers 1

fitMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected