Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/lazyprogrammer/machine_learning_examples
/ derivative_b2
Function
derivative_b2
ann_class/xor_donut.py:44–45 ·
view source on GitHub ↗
(T, Y)
Source
from the content-addressed store, hash-verified
42
return
(T - Y).dot(Z)
43
44
def
derivative_b2(T, Y):
45
return
(T - Y).sum()
46
47
48
def
derivative_w1(X, Z, T, Y, W2):
Callers
2
test_xor
Function · 0.70
test_donut
Function · 0.70
Calls
no outgoing calls
Tested by
2
test_xor
Function · 0.56
test_donut
Function · 0.56