https://medium.com/@monocosmo77/working-with-ehresmann-manifold-method-part8-machine-learning-2024-edffac25ef01