Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
Indexed
MCP
copy
Index your code
hub
/
github.com/lazyprogrammer/machine_learning_examples
/ gradb
Function
gradb
ann_class2/util.py:186–187 ·
view source on GitHub ↗
(t, y)
Source
from the content-addressed store, hash-verified
184
185
186
def
gradb(t, y):
187
return
(t - y).sum(axis=0)
188
189
190
def
y2indicator(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