https://medium.com/@monocosmo77/how-sufficient-dimension-reduction-works-part9-machine-learning-2023-404b3eaff18a