International Journal of Information Technology and Computer Science Applications (IJITCSA)
Vol. 4 No. 2 (2026): May - August 2026

Clustering and Sales Prediction Using K-Means and Simple Linear Regression

Tia Aulia (Universitas Bhayangkara Jakarta Raya)
Wowon Priatna (Universitas Bhayangkara Jakarta Raya)
Muhammad Yasir (Universitas Bhayangkara Jakarta Raya)



Article Info

Publish Date
23 Jun 2026

Abstract

CV. Cipta Usaha Selaras faces challenges in identifying customer purchasing patterns and accurately projecting sales values. The importance of this research lies in the company’s need for data-driven marketing strategies and efficient operational planning. This study employs the K-Means algorithm to cluster customers based on purchase frequency and total transaction value, as well as Simple Linear Regression to predict total purchases based on transaction frequency. The data analyzed consists of 358 sales transaction entries from the year 2024. The clustering results reveal three customer segments with distinct characteristics, with a Silhouette Score of 0.7913, indicating good segmentation quality. The regression model produced an equation with a coefficient of determination (R²) of 0.6910, a MAE of IDR 213 million, and a MSE of IDR 206 trillion. These results indicate that the applied approach provides a reasonably representative overview of customer purchasing behavior. This research offers a significant contribution to data-driven decision-making within the company, particularly in the development of marketing strategies and estimation of potential revenue.

Copyrights © 2026






Journal Info

Abbrev

jitcsa

Publisher

Subject

Computer Science & IT Decision Sciences, Operations Research & Management Education Engineering

Description

he Journal of Information Technology and Computer Science Applications (JITCSA) is an information technology and computer science publication. Applications from both fields for solving real cases are also welcome. JITCSA accepts research articles, systematic reviews, literature studies, and other ...