Dian Safitri
Universitas Almuslim

Published : 1 Documents Claim Missing Document
Claim Missing Document
Check
Articles

Found 1 Documents
Search

Klasifikasi Smartphone Berdasarkan Performa dan Harga Menggunakan Metode Algoritma K-Nearest Neighbor (KNN) Dian Safitri; Sriwinar; Hannan Asrawi; Imam Muslem
Jurnal Ilmu Komputer Aceh Vol 3 No 2 (2026): Jurnal Ilmu Komputer Aceh
Publisher : Fakultas Ilmu Komputer Universitas Almuslim

Show Abstract | Download Original | Original Source | Check in Google Scholar | DOI: 10.51179/ilka.v3i2.53

Abstract

The rapid development of smartphones has led to a wide variety of specifications and price ranges, making it difficult for consumers to choose devices objectively. Performance differences influenced by hardware specifications and pricing require a data-driven classification approach. This study aims to classify smartphones based on performance and price using the K-Nearest Neighbor (KNN) algorithm. The dataset consists of 981 smartphone records obtained from Kaggle, including attributes such as processor speed, number of cores, RAM, internal storage, battery capacity, camera resolution, rating, and price. Data preprocessing includes handling missing values and feature normalization using StandardScaler. Smartphones are categorized into three classes: Budget, Midrange, and Flagship. The model evaluation uses confusion matrix, accuracy, precision, recall, and F1-score. Experimental results show that the KNN algorithm achieves an accuracy of 92%, indicating that it is effective for smartphone classification problems.