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

Function derivative_b1

ann_class/backprop.py:95–96  ·  view source on GitHub ↗
(T, Y, W2, Z)

Source from the content-addressed store, hash-verified

93
94
95def derivative_b1(T, Y, W2, Z):
96 return ((T - Y).dot(W2.T) * Z * (1 - Z)).sum(axis=0)
97
98
99def cost(T, Y):

Callers 1

mainFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected