clustering of medical images based on machine learning, analysis of the algorith