How can I define custom loss functions in Hyperas?
I am running a 4 dense layers architecture with 3 outputs. For the loss, i would like to define it as:
Loss
( (Output1 Error) / max[Output1_pred, Output1_true] ) +
( (Output2 Error) / max[Output2_pred, Output2_true] ) +
( (Output3 Error) / max[Output3_pred, Output3_true] )
Is this trivial to accomplish? How can I index y_pred and y_true in such a case?