https://medium.com/@monocosmo77/how-sufficient-dimension-reduction-works-part7-machine-learning-2023-541dde1dc395