pre-settings finding hr patterns via kmeans analysis