https://medium.com/@monocosmo77/use-cases-of-moore-penrose-inverse-part4-machine-learning-da73c3448cf8