MCPcopy Create free account
hub / github.com/lazyprogrammer/machine_learning_examples / derivative_w2

Function derivative_w2

ann_class/xor_donut.py:40–42  ·  view source on GitHub ↗
(Z, T, Y)

Source from the content-addressed store, hash-verified

38
39
40def derivative_w2(Z, T, Y):
41 # Z is (N, M)
42 return (T - Y).dot(Z)
43
44def derivative_b2(T, Y):
45 return (T - Y).sum()

Callers 2

test_xorFunction · 0.70
test_donutFunction · 0.70

Calls

no outgoing calls

Tested by 2

test_xorFunction · 0.56
test_donutFunction · 0.56