Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/lazyprogrammer/machine_learning_examples
/ gradW
Function
gradW
ann_class2/util.py:182–183 ·
view source on GitHub ↗
(t, y, X)
Source
from the content-addressed store, hash-verified
180
181
182
def
gradW(t, y, X):
183
return
X.T.dot(t - y)
184
185
186
def
gradb(t, y):
Callers
3
main
Function · 0.90
benchmark_full
Function · 0.85
benchmark_pca
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected