OPTIMIZING REAL-TIME DYNAMIC PRICING STRATEGIES IN RETAIL AND E-COMMERCE USING MACHINE LEARNING MODELS
Pritom Das , College of Computer Science, Pacific States University, Los Angeles, CA, USA Tamanna Pervin , Department of Business Administration, International American University, Los Angeles, California, USA Biswanath Bhattacharjee , Department of Management Science and Quantitative Methods, Gannon University, USA Md Razaul Karim , Department of Information Technology & Computer Science, University of the Potomac, USA Nasrin Sultana , Department of Strategic Communication, Gannon University, USA Md. Sayham Khan , Department of Information Technology & Computer Science, University of the Potomac, USA Md Afjal Hosien , School of Information Technology, Washington University of Science & Technology, USA FNU Kamruzzaman , Department of Information Technology Project Management & Business Analytics, St. Francis College, USAAbstract
This study investigates the application of machine learning models for real-time dynamic pricing strategies in the retail and e-commerce sectors. We employed three prominent supervised machine learning models—Linear Regression, Random Forest, and Gradient Boosting Machines (GBM)—to predict optimal prices using a dataset sourced from Kaggle. The models were trained and evaluated with a 70:30 train-test split, while hyperparameter tuning was performed using grid search and cross-validation. The results indicate that the Gradient Boosting Machines (GBM) model consistently outperformed the other models, achieving the lowest Mean Absolute Error (MAE) and Root Mean Square Error (RMSE), and demonstrating a higher R-squared (R²) value. The comparative analysis highlights GBM's ability to capture complex interactions in dynamic pricing data, making it a robust choice for accurate price forecasting. The Random Forest model also delivered satisfactory results, balancing accuracy and computational efficiency, whereas the Linear Regression model showed higher prediction errors due to its limitations in modeling non-linear relationships. Real-time testing in a simulated environment confirmed the models' adaptability and responsiveness in a dynamic marketplace. These findings provide actionable insights for retail and e-commerce businesses, emphasizing the importance of model selection, hyperparameter optimization, and system integration to implement efficient dynamic pricing strategies. Future work should explore more extensive datasets and real-world applications to address seasonal variations, regional preferences, and consumer behavior, ensuring a more comprehensive and practical deployment of machine learning-driven dynamic pricing models.
Keywords
Dynamic Pricing, Machine Learning, Retail Pricing Optimization
References
Md Habibur Rahman, Ashim Chandra Das, Md Shujan Shak, Md Kafil Uddin, Md Imdadul Alam, Nafis Anjum, Md Nad Vi Al Bony, & Murshida Alam. (2024). TRANSFORMING CUSTOMER RETENTION IN FINTECH INDUSTRY THROUGH PREDICTIVE ANALYTICS AND MACHINE LEARNING. The American Journal of Engineering and Technology, 6(10), 150–163. https://doi.org/10.37547/tajet/Volume06Issue10-17
Chen, Y., Donaldson, J., & McMillan, M. S. (2001). Market Dynamics and Economic Impacts of Real-Time Pricing in Competitive Markets. Economics Review, 58(4), 567-590.
Clements, M. P., Harris, M. N., & Szafarz, A. (2004). Econometric Modeling of Dynamic Pricing Systems. Journal of Economic Surveys, 18(5), 715-750.
Friedman, J. H. (2001). Greedy Function Approximation: A Gradient Boosting Machine. The Annals of Statistics, 29(5), 1189-1232.
Gal-Or, E. (1985). Strategic Pricing of New Products in Markets with Network Externalities. Quarterly Journal of Economics, 100(2), 295-308.
Hyndman, R. J., & Athanasopoulos, G. (2018). Forecasting: Principles and Practice. OTexts.
Kannan, P. K., & Kopalle, P. K. (2001). Dynamic Pricing on the Internet: Optimization and Consumer Behavior. Marketing Science, 20(1), 42-61.
Kumar, A., Gupta, S., & Mehta, R. (2019). Real-Time Dynamic Pricing Strategies in Retail and E-commerce. International Journal of Machine Learning Research, 20(6), 456-473.
Lemke, A., Grinblatt, M., & Kannan, S. (2019). Ensemble Models for Competitive Market Pricing. Computational Economics, 30(4), 678-702.
McKinsey & Company. (2020). Artificial Intelligence in E-commerce and Retail Pricing Strategies.
Waller, D. S., & Leigh, T. W. (2009). Social Psychological Perspectives on Price Magnitude Effects. Advances in Consumer Research, 36(1), 494-500.
Yuan, Y., Zhang, T., & Huang, W. (2019). Cloud Integration for Scalable Dynamic Pricing Applications. IEEE Transactions on Cloud Computing, 7(4), 785-798.
Zhou, Y., Zhao, Y., & Zhang, X. (2017). Comparative Study of Machine Learning Models for Demand Forecasting in Retail. Journal of Business Analytics, 12(3), 233-250.
Md Habibur Rahman, Ashim Chandra Das, Md Shujan Shak, Md Kafil Uddin, Md Imdadul Alam, Nafis Anjum, Md Nad Vi Al Bony, & Murshida Alam. (2024). TRANSFORMING CUSTOMER RETENTION IN FINTECH INDUSTRY THROUGH PREDICTIVE ANALYTICS AND MACHINE LEARNING. The American Journal of Engineering and Technology, 6(10), 150–163. https://doi.org/10.37547/tajet/Volume06Issue10-17
Tauhedur Rahman, Md Kafil Uddin, Biswanath Bhattacharjee, Md Siam Taluckder, Sanjida Nowshin Mou, Pinky Akter, Md Shakhaowat Hossain, Md Rashel Miah, & Md Mohibur Rahman. (2024). BLOCKCHAIN APPLICATIONS IN BUSINESS OPERATIONS AND SUPPLY CHAIN MANAGEMENT BY MACHINE LEARNING. International Journal of Computer Science & Information System, 9(11), 17–30. https://doi.org/10.55640/ijcsis/Volume09Issue11-03
Md Jamil Ahmmed, Md Mohibur Rahman, Ashim Chandra Das, Pritom Das, Tamanna Pervin, Sadia Afrin, Sanjida Akter Tisha, Md Mehedi Hassan, & Nabila Rahman. (2024). COMPARATIVE ANALYSIS OF MACHINE LEARNING ALGORITHMS FOR BANKING FRAUD DETECTION: A STUDY ON PERFORMANCE, PRECISION, AND REAL-TIME APPLICATION. International Journal of Computer Science & Information System, 9(11), 31–44. https://doi.org/10.55640/ijcsis/Volume09Issue11-04
Bhandari, A., Cherukuri, A. K., & Kamalov, F. (2023). Machine learning and blockchain integration for security applications. In Big Data Analytics and Intelligent Systems for Cyber Threat Intelligence (pp. 129-173). River Publishers.
Diro, A., Chilamkurti, N., Nguyen, V. D., & Heyne, W. (2021). A comprehensive study of anomaly detection schemes in IoT networks using machine learning algorithms. Sensors, 21(24), 8320.
Nafis Anjum, Md Nad Vi Al Bony, Murshida Alam, Mehedi Hasan, Salma Akter, Zannatun Ferdus, Md Sayem Ul Haque, Radha Das, & Sadia Sultana. (2024). COMPARATIVE ANALYSIS OF SENTIMENT ANALYSIS MODELS ON BANKING INVESTMENT IMPACT BY MACHINE LEARNING ALGORITHM. International Journal of Computer Science & Information System, 9(11), 5–16. https://doi.org/10.55640/ijcsis/Volume09Issue11-02
Shahbazi, Z., & Byun, Y. C. (2021). Integration of blockchain, IoT and machine learning for multistage quality control and enhancing security in smart manufacturing. Sensors, 21(4), 1467.
Das, A. C., Mozumder, M. S. A., Hasan, M. A., Bhuiyan, M., Islam, M. R., Hossain, M. N., ... & Alam, M. I. (2024). MACHINE LEARNING APPROACHES FOR DEMAND FORECASTING: THE IMPACT OF CUSTOMER SATISFACTION ON PREDICTION ACCURACY. The American Journal of Engineering and Technology, 6(10), 42-53.
Al Mamun, A., Hossain, M. S., Rishad, S. S. I., Rahman, M. M., Tisha, S. A., Shakil, F., ... & Sultana, S. (2024). MACHINE LEARNING FOR STOCK MARKET SECURITY MEASUREMENT: A COMPARATIVE ANALYSIS OF SUPERVISED, UNSUPERVISED, AND DEEP LEARNING MODELS. International journal of networks and security, 4(01), 22-32.
Akter, S., Mahmud, F., Rahman, T., Ahmmed, M. J., Uddin, M. K., Alam, M. I., ... & Jui, A. H. (2024). A COMPREHENSIVE STUDY OF MACHINE LEARNING APPROACHES FOR CUSTOMER SENTIMENT ANALYSIS IN BANKING SECTOR. The American Journal of Engineering and Technology, 6(10), 100-111.
Shahid, R., Mozumder, M. A. S., Sweet, M. M. R., Hasan, M., Alam, M., Rahman, M. A., ... & Islam, M. R. (2024). Predicting Customer Loyalty in the Airline Industry: A Machine Learning Approach Integrating Sentiment Analysis and User Experience. International Journal on Computational Engineering, 1(2), 50-54.
Md Risalat Hossain Ontor, Asif Iqbal, Emon Ahmed, Tanvirahmedshuvo, & Ashequr Rahman. (2024). LEVERAGING DIGITAL TRANSFORMATION AND SOCIAL MEDIA ANALYTICS FOR OPTIMIZING US FASHION BRANDS’ PERFORMANCE: A MACHINE LEARNING APPROACH. International Journal of Computer Science & Information System, 9(11), 45–56. https://doi.org/10.55640/ijcsis/Volume09Issue11-05
Rahman, A., Iqbal, A., Ahmed, E., & Ontor, M. R. H. (2024). PRIVACY-PRESERVING MACHINE LEARNING: TECHNIQUES, CHALLENGES, AND FUTURE DIRECTIONS IN SAFEGUARDING PERSONAL DATA MANAGEMENT. International journal of business and management sciences, 4(12), 18-32.
COMPARATIVE PERFORMANCE ANALYSIS OF MACHINE LEARNING ALGORITHMS FOR BUSINESS INTELLIGENCE: A STUDY ON CLASSIFICATION AND REGRESSION MODELS. (2024). International Journal of Business and Management Sciences, 4(11), 06-18. https://doi.org/10.55640/ijbms-04-11-02
Naznin, R., Sarkar, M. A. I., Asaduzzaman, M., Akter, S., Mou, S. N., Miah, M. R., ... & Sajal, A. (2024). ENHANCING SMALL BUSINESS MANAGEMENT THROUGH MACHINE LEARNING: A COMPARATIVE STUDY OF PREDICTIVE MODELS FOR CUSTOMER RETENTION, FINANCIAL FORECASTING, AND INVENTORY OPTIMIZATION. International Interdisciplinary Business Economics Advancement Journal, 5(11), 21-32.
Md Jamil Ahmmed, Md Mohibur Rahman, Ashim Chandra Das, Pritom Das, Tamanna Pervin, Sadia Afrin, Sanjida Akter Tisha, Md Mehedi Hassan, & Nabila Rahman. (2024). COMPARATIVE ANALYSIS OF MACHINE LEARNING ALGORITHMS FOR BANKING FRAUD DETECTION: A STUDY ON PERFORMANCE, PRECISION, AND REAL-TIME APPLICATION. International Journal of Computer Science & Information System, 9(11), 31–44. https://doi.org/10.55640/ijcsis/Volume09Issue11-04
Arif, M., Ahmed, M. P., Al Mamun, A., Uddin, M. K., Mahmud, F., Rahman, T., ... & Helal, M. (2024). DYNAMIC PRICING IN FINANCIAL TECHNOLOGY: EVALUATING MACHINE LEARNING SOLUTIONS FOR MARKET ADAPTABILITY. International Interdisciplinary Business Economics Advancement Journal, 5(10), 13-27.
Iqbal, A., Ahmed, E., Rahman, A., & Ontor, M. R. H. (2024). ENHANCING FRAUD DETECTION AND ANOMALY DETECTION IN RETAIL BANKING USING GENERATIVE AI AND MACHINE LEARNING MODELS. International journal of networks and security, 4(01), 33-43.
Rahman, M. M., Akhi, S. S., Hossain, S., Ayub, M. I., Siddique, M. T., Nath, A., ... & Hassan, M. M. (2024). EVALUATING MACHINE LEARNING MODELS FOR OPTIMAL CUSTOMER SEGMENTATION IN BANKING: A COMPARATIVE STUDY. The American Journal of Engineering and Technology, 6(12), 68-83.
Bhattacharjee, B., Mou, S. N., Hossain, M. S., Rahman, M. K., Hassan, M. M., Rahman, N., ... & Haque, M. S. U. (2024). MACHINE LEARNING FOR COST ESTIMATION AND FORECASTING IN BANKING: A COMPARATIVE ANALYSIS OF ALGORITHMS. International journal of business and management sciences, 4(12), 6-17.
Article Statistics
Copyright License
Copyright (c) 2024 Pritom Das, Tamanna Pervin, Biswanath Bhattacharjee, Md Razaul Karim, Nasrin Sultana, Md. Sayham Khan, Md Afjal Hosien, FNU Kamruzzaman

This work is licensed under a Creative Commons Attribution 4.0 International License.
Authors retain the copyright of their manuscripts, and all Open Access articles are disseminated under the terms of the Creative Commons Attribution License 4.0 (CC-BY), which licenses unrestricted use, distribution, and reproduction in any medium, provided that the original work is appropriately cited. The use of general descriptive names, trade names, trademarks, and so forth in this publication, even if not specifically identified, does not imply that these names are not protected by the relevant laws and regulations.