Investigating the challenges and solutions of applying non-differentiable loss functions in supervised learning tasks.