Skin cancer is one of the life threatening diseases and there is mostly no chance of remission from skin cancer if diagnosed in the last stage. The three major types of skin cancers are basal cell carcinoma, squamous cell carcinoma, and melanoma. Among these three, melanoma skin cancer is dangerous and acute in nature. Dermatologists use various techniques for diagnosing the malignant, in which the popular and reliable clinical method is dermatoscopy. The manual inference of the disease condition from the dermatoscopy images requires intensive knowledge and experience in the related field. Also, there will be an unavoidable degree of variability in image analysis occurs as long as the diagnostics procedure relies on human visual perception. Thus recently, image processing and machine learning algorithms have been applied for the accurate diagnoses of skin cancers from the dermatoscopic images. Thus, the goal of the proposed work is to automatically segment and classify the dermatoscopy skin lesion image with the help of image processing and machine learning algorithms. The proposed approach classifies the skin lesion image as benign or malignant melanoma with 90% accuracy, 91% sensitivity, 86% specificity, and 93% precision.