antirez / antirez/neural-redis
Mathmatics problem in the code, emergency!!!
- Dominant language
- C
- Stars
- 2.2k
- Forks
- 100
- PR merge metrics
- No merged PRs in 30d
Description
Dear antirez:
Thank you very much for sharing this amazing code. And I have a problem to figure out or I can not sleep.
In function float AnnGlobalError(struct Ann *net, float *desired), Root Mean Square (RMS) error is used to record the loss, which means:

thus, I suppose in function AnnCalculateOutputError(struct Ann *net, float *desired) should be the derivation, which means:

but in your real implementation, it is like this(let n = classification number):

And I do integration on your real implementation to get the real loss function:

can you explain this a little bit for me??
what is the real loss function in your code??
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.