Dimension reduction and clustering have long been the focus of AI/ML. Reference, Bishops book an early 2000's classic, Pattern Recognition and Machine Learning, chapter 9.1 is k-means clustering.
http://stpk.cs.rtu.lv/sites/all/files/stpk/materiali/mi/arti...
http://web.mit.edu/~6.863/www/spring2009/readings/gold67limi...