K -medoid cluster creation