Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/rushter/MLAlgorithms
/ _loss
Method
_loss
mla/linear_models.py:46–47 ·
view source on GitHub ↗
(self, w)
Source
from the content-addressed store, hash-verified
44
self.cost_func = None
45
46
def
_loss(self, w):
47
raise
NotImplementedError()
48
49
def
init_cost(self):
50
raise
NotImplementedError()
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected