I use the keras package in R and would like to define a custom loss function.
While I managed to find a few examples ( one of them ), there was nothing about how to debug my own loss function. That is, even if I earned, I can verify that it is functioning properly (for example, take some y_true
and y_pred
and go computing)?
I tried to add an instruction print
inside the function, but nothing worked.
source
share