Segmentation Algorithms In Machine Learning