https://medium.com/@monocosmo77/research-on-nonsmooth-optimization-part2-machine-learning-2024-588c34bd7d61