Claim Missing Document
Check
Articles

Found 1 Documents
Search

Comparative Analysis Of K-Nearest Neighbors And Decision Tree Methods In Determining Students’ Purchase Interest In Macbook Laptops Fadilla Hasibuan, Intan; Irmayani, Deci; Sihombing, Volvo
International Journal of Science, Technology & Management Vol. 4 No. 5 (2024): September 2024
Publisher : Publisher Cv. Inara

Show Abstract | Download Original | Original Source | Check in Google Scholar | DOI: 10.46729/ijstm.v4i5.1169

Abstract

In the context of increasingly competitive technology markets, companies need to know consumer preferences accurately to optimize product offerings and increase sales. Two classification methods that are often used in data mining, namely K-Nearest Neighbors and Decision Tree, have their own advantages and disadvantages. This study proposes a solution that involves processing student data using both classification methods to identify the most accurate and effective method for identifying purchase intentions. This study aims to compare the performance of the two methods in determining student purchase intentions for MacBook laptops. The research methodology includes collecting data from 100 students covering various factors such as user experience, design and portability, technical specifications, price, and security. This data is then classified using the K-Nearest Neighbors and Decision Tree methods. Furthermore, a confusion matrix is used to provide a more detailed picture of the performance of the two methods. The results of the study show that the Decision Tree method has a higher accuracy (91%) compared to K-Nearest Neighbors (88%). In addition, Decision Tree excels in other metrics such as precision (87.18% vs. 85.71%), recall (89.47% vs. 85.71%), specificity (91.94% vs. 89.66%), and F1-Score (88.31% vs. 85.71%). The decision tree also has a higher NPV value and lower FPR and FNR rates than K-Nearest Neighbors, indicating that it is superior in avoiding misclassification. The study's conclusion is that the Decision Tree method is more effective and accurate than K-Nearest Neighbors in determining students' purchase intentions for MacBook laptops. The decision tree shows better performance in almost all evaluation metrics, making it a more reliable method to use in consumer data analysis. The results of this study are expected to help companies choose a more appropriate and effective analysis method for their marketing strategies, as well as provide a basis for further research in the field of consumer purchase intention classification.