Automated Diagnosis of Breast Cancer on Medical Images