International Journal for Applied Information Management
Vol. 5 No. 2 (2025): Regular Issue: July 2025

Analyzing Customer Spending Based on Transactional Data Using the Random Forest Algorithm

Siddique, Quba (Unknown)
Wahid, Arif Muamar (Unknown)



Article Info

Publish Date
01 May 2025

Abstract

This study explores customer spending behavior using transactional data from a retail dataset, employing a Random Forest Regressor to predict the total amount spent by customers. The dataset includes various customer attributes such as age, gender, and product category, alongside transactional details including quantity purchased and price per unit. Through Exploratory Data Analysis (EDA), it was found that Price and Quantity were the most significant factors influencing total spending, with other features like Age, Gender, and Product Category playing a minimal role in predicting spending behavior. The model achieved perfect accuracy, with an R-squared value of 1.000, indicating that it explained all the variance in customer spending. The findings suggest that transactional features, particularly Price and Quantity, are the key drivers of customer spending, and retailers can optimize their marketing and sales strategies by focusing on these factors. This study also highlights the importance of data preprocessing and feature engineering in enhancing model performance, though the results were limited by the lack of external and behavioral features. Future research could further explore the impact of customer loyalty, external factors, and more complex algorithms to improve predictive accuracy.

Copyrights © 2025






Journal Info

Abbrev

ijaim

Publisher

Subject

Humanities Decision Sciences, Operations Research & Management Economics, Econometrics & Finance Environmental Science Social Sciences

Description

Journal menerbitkan penelitian tentang semua aspek manajemen informasi. Informasi dilihat di sini secara luas untuk mencakup tidak hanya produk/layanan dan proses tetapi juga pasar, dan organisasi serta informasi sosial. Ini termasuk studi tentang proses secara keseluruhan atau tahap individu, ...