https://medium.com/@monocosmo77/how-sufficient-dimension-reduction-works-part6-machine-learning-2023-26888abb6011