dimensionality reduction in machine learning example