Custom deep learning loss functions with Keras for R | Hacker News Reader