Abstract
This study aims to examine and compare the performances of Random Forest (RF) and k-Nearest Neighbor (k-NN) algorithms used for classification based on certain geometric features. For the purpose of the analysis, the Breast Cancer Wisconsin (BCW) public dataset is used. BCW dataset contains features like area, perimeter, radius, compactness, and symmetry computed from 357 benign, and 212 malignant breast images, respectively. Three different experiments related to the size of training and testing datasets for classification are conducted and different accuracy values are obtained. The best accuracy of 91.9% for RF and 91.3% for kNN, respectively, are reached when 30% of the entire dataset is used as testing dataset. For all experiments, the RF classifier outperformed the kNN.
Talk to us
Join us for a 30 min session where you can share your feedback and ask us any queries you have
More From: Annals of the ”Dunarea de Jos” University of Galati Fascicle II Mathematics Physics Theoretical Mechanics
Disclaimer: All third-party content on this website/platform is and will remain the property of their respective owners and is provided on "as is" basis without any warranties, express or implied. Use of third-party content does not indicate any affiliation, sponsorship with or endorsement by them. Any references to third-party content is to identify the corresponding services and shall be considered fair use under The CopyrightLaw.