Comparative Analysis of K-Nearest Neighbors and Decision Tree Methods in Determining Students’ Purchase Interest in MacBook Laptops

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.

Authors

Institutions

Publication Details

Journal
International Journal Of Science Technology & Management
Published
2024-09-30
DOI
https://doi.org/10.46729/ijstm.v5i5.1169
Primary Topic
Data Mining and Machine Learning Applications
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Comparative Analysis of K-Nearest Neighbors and Decision Tree Methods in Determining Students’ Purchase Interest in MacBook Laptops

Volvo Sihombing, Deci Irmayani, Intan Fadilla Hasibuan
International Journal Of Science Technology & Management
Data Mining and Machine Learning Applications
article

Comparative Analysis of K-Nearest Neighbors and Decision Tree Methods in Determining Students’ Purchase Interest in MacBook Laptops

Volvo Sihombing, Deci Irmayani, Intan Fadilla Hasibuan
article en

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.

International Journal Of Science Technology & ManagementVol. 5(5)
Universitas Al-washliyah Labuhanbatu (ID), Universitas Labuhanbatu (ID)
Openalex Percentile: Top 71%
Data Mining and Machine Learning Applications
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.