How to create a custom loss function in Keras | Hacker News Reader