Hi if someone of you is familiar with python code and understand this equation.
Is someone able to make a derivative or backward of this in python code?
I can not figure it out....
Here i show you what i mean on another function i already made:
This is forward:
mean(((labels - prediction) ** 2))
And this is backward or derivation:
N = labels.shape[0]
first_grad = -2*(labels - prediction) / N
Is someone able to make a derivative or backward of this in python code?
I can not figure it out....
Here i show you what i mean on another function i already made:
This is forward:
mean(((labels - prediction) ** 2))
And this is backward or derivation:
N = labels.shape[0]
first_grad = -2*(labels - prediction) / N
Last edited: