Automatic WML segmentation and quantification using a machine learning approach