https://medium.com/@monocosmo77/how-sufficient-dimension-reduction-works-part8-machine-learning-2023-3890da70b4da