Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/rushter/MLAlgorithms
/ init_cost
Method
init_cost
mla/linear_models.py:118–119 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
116
return
self._add_penalty(loss, w)
117
118
def
init_cost(self):
119
self.cost_func = mean_squared_error
120
121
122
class
LogisticRegression(BasicRegression):
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected