This paper presents an enhanced breast cancer recognition method using a modified genetic search algorithm (MGSA) in conjunction with rotation forest for feature selection, aiming to optimize attributes that classify benign and malignant tumors. The proposed MGSA reduces search space by eliminating bad candidate chromosomes, improving the accuracy of machine learning models, particularly the Naïve Bayes classifier. Experimental results show that this model yields a classification accuracy of 96.93%, outperforming traditional methods with fewer attributes.