|
International Journal of Computer Applications
Foundation of Computer Science (FCS), NY, USA
|
| Volume 187 - Issue 150 |
| Published: October 2026 |
| Authors: Aera K. Leboulluec, Janhavi Datye |
10.5120/ijcace1f239605a5
|
Aera K. Leboulluec, Janhavi Datye . A Machine Learning-based Decision Framework for Demand Forecasting and Price Optimization in Competitive E-Commerce Environments. International Journal of Computer Applications. 187, 150 (October 2026), 10-17. DOI=10.5120/ijcace1f239605a5
@article{ 10.5120/ijcace1f239605a5,
author = { Aera K. Leboulluec,Janhavi Datye },
title = { A Machine Learning-based Decision Framework for Demand Forecasting and Price Optimization in Competitive E-Commerce Environments },
journal = { International Journal of Computer Applications },
year = { 2026 },
volume = { 187 },
number = { 150 },
pages = { 10-17 },
doi = { 10.5120/ijcace1f239605a5 },
publisher = { Foundation of Computer Science (FCS), NY, USA }
}
%0 Journal Article
%D 2026
%A Aera K. Leboulluec
%A Janhavi Datye
%T A Machine Learning-based Decision Framework for Demand Forecasting and Price Optimization in Competitive E-Commerce Environments%T
%J International Journal of Computer Applications
%V 187
%N 150
%P 10-17
%R 10.5120/ijcace1f239605a5
%I Foundation of Computer Science (FCS), NY, USA
The growth of e-commerce has made accurate demand forecasting and well-judged discount decisions central to pricing strategy. This study develops and evaluates a machine learning framework that forecasts order-level demand and uses the forecast to identify revenue-maximizing discount levels. The analysis uses a publicly available dataset of 30,600 Indian e-commerce orders spanning 36 months (January 2023 – December 2025), covering eight product categories and five geographic zones. Four regression models (Linear Regression, Ridge Regression, Random Forest, and XGBoost) were tuned with time-series cross-validation on the first 30 months, evaluated on the final six months, and compared with two simple baselines. XGBoost produced the most accurate demand forecast (MAE = 12.83 units, R² = 0.413), reducing error by 21.4% compared with a naive baseline, although its advantage over Linear Regression was small (1.7%). A revenue benchmark showed that the near-perfect accuracy obtained when units sold is used as an input (R² = 0.999) reflects the identity revenue = price × units rather than forecasting skill; without units sold, a two-stage demand × price forecast achieved R² = 0.663. SHAP analysis identified sales events, customer age, geographic zone, and discount depth as the main drivers of demand, while product price level, category, and calendar month had little effect. A discount simulation showed that revenue peaks at moderate discounts of roughly 20–45% and that deeper discounts consistently reduce revenue.