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

Function derivative_V

ann_class/regression.py:64–65  ·  view source on GitHub ↗
(Z, Y, Yhat)

Source from the content-addressed store, hash-verified

62
63# how to train the params
64def derivative_V(Z, Y, Yhat):
65 return (Y - Yhat).dot(Z)
66
67def derivative_c(Y, Yhat):
68 return (Y - Yhat).sum()

Callers 1

updateFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected