https://medium.com/@monocosmo77/research-on-nonsmooth-optimization-part1-machine-learning-2024-0a4c8cef2cbd