Najwa Aulia Fauzi
Universitas Negeri Malang

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

Found 1 Documents
Search

A Comparison of the KNN and Random Forest Algorithms for Predicting Clothing Size Compatibility Based on Anthropometric Data Putra Aji Ardiansyah; Sulton Hakim; Aura Medy Aisyah; Najwa Aulia Fauzi; Nurul Hidayati; Muhammad Zaki Wiryawan
Jurnal Media Computer Science Vol 5 No 4 (2026): Oktober
Publisher : LPPJPHKI Universitas Dehasen Bengkulu

Show Abstract | Download Original | Original Source | Check in Google Scholar | DOI: 10.37676/jmcs.v5i4.13372

Abstract

The rapid development of fashion e-commerce has increased the need for an accurate clothing size recommendation system to reduce size discrepancies when shopping online. Mistakes in selecting clothing sizes often lead to customer dissatisfaction and product returns because consumers cannot try on clothes directly before making a purchase. Therefore, an automatic clothing size prediction system based on anthropometric data is needed to improve the accuracy of clothing size recommendations. This study aims to compare the performance of the K- Nearest Neighbor (KNN) and Random Forest algorithms in predicting clothing sizes based on anthropometric data. The dataset used consists of several anthropometric attributes such as gender, height, weight, and clothing size labels. The research stages include data preprocessing, data normalization, data sharing, model training, and model evaluation. The evaluation was carried out using accuracy, precision, recall, F1-score, and confusion matrix metrics. The results of the study show that both algorithms are capable of classifying clothing sizes well. However, the Random Forest algorithm shows better classification performance and prediction stability than the K-Nearest Neighbor algorithm. The results of this study are expected to contribute to the development of machine learning-based clothing size recommendation systems on fashion e-commerce platforms