Optimal quantization applied to Sliced Inverse Regression