add the machine learning algorithm for KMeans and PCA;