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.

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call

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.