COMPARATIVE ANALYSIS OF NAÏVE BAYES AND K-NEAREST NEIGHBORS ALGORITHMS IN PREDICTING PUBLIC INTEREST IN ELECTRIC MOTORCYCLES

ARIEF SYAHPUTRA, NPM 2009100009 (2024) COMPARATIVE ANALYSIS OF NAÏVE BAYES AND K-NEAREST NEIGHBORS ALGORITHMS IN PREDICTING PUBLIC INTEREST IN ELECTRIC MOTORCYCLES. Tugas_Akhir (Artikel) International Journal of Science, Technology & Management, 5 (4). pp. 888-897. ISSN 2722 – 4015 (online)

[img] Text
COVER DAN LEMBAR PENGESAHAN.pdf

Download (2MB)
[img] Text
LoA Arief Syahputra.pdf

Download (510kB)
[img] Text
ARTIKEL.pdf

Download (555kB)

Abstract

Concerns about global warming and the need for sustainable transport solutions have led to the emergence of electric vehicles as an alternative to conventional vehicles. These vehicles offer cleaner and more efficient transportation, especially in urban areas. However, high costs in some countries, such as Indonesia, hinder their adoption. Electric motorcycle companies use previously recorded data to predict customer interest in purchasing their products. Based on these forecasts, business owners make decisions about the quantity of goods to supply. Researchers are increasingly using machine learning algorithms to study consumer behavior and predict demand for a variety of products, including electric motorcycles. The researchers have used this data-based method to analyze large amounts of consumer data, including online survey responses and reviews, as well as other sources. The study aims to perform a comparative analysis of the performance of the Naïve Bayes and K-Nearest Neighbors algorithms to predict public interest in electric motorcycles in Labuhanbatu district. We will perform a comparative analysis based on the performance evaluation matrix (accuracy, precision, recall, and f1 score) to determine the most suitable algorithm. The phases of the research methods included: data collection, exploratory data analysis, data preprocessing, splitting data, implementation of naïve bayes and k-nearest neighbors, and evaluation. The results showed that Naïve Bayes achieved an accuracy of 31.13%, precision of 83.33%, recall of 4.63%, and f1-score of 8.77%. In contrast, K-Nearest Neighbors attains an accuracy of 71.52% and a precision of 71.52%, recall 100%, and f1 score of 83,40%. According to the research results, K nearest neighbors showed much better results in terms of accuracy, recall, and F1 scores. These results demonstrate that K-nearest neighbor is more effective in detecting public interest in electric motorcycles, and it strikes a better balance between identifying all positive cases and avoiding predictive errors. Keywords : Electric Motorcycles, K-Nearest Neighbors, Prediction, Machine Learning and Naïve Bayes.

Item Type: Article
Uncontrolled Keywords: Electric Motorcycles, K-Nearest Neighbors, Prediction, Machine Learning and Naïve Bayes.
Subjects: Z Bibliography. Library Science. Information Resources > ZA Information resources
Z Bibliography. Library Science. Information Resources > ZA Information resources > ZA4050 Electronic information resources
Divisions: Fakultas Sains Dan Teknologi > Sistem Informasi
Depositing User: Unnamed user with email repository@ulb.ac.id
Date Deposited: 30 Sep 2024 09:32
Last Modified: 30 Sep 2024 09:32
URI: http://repository.ulb.ac.id/id/eprint/1153

Actions (login required)

View Item View Item