Skip to main content
PLOS One logoLink to PLOS One
. 2025 May 6;20(5):e0321854. doi: 10.1371/journal.pone.0321854

Application of machine learning in predicting consumer behavior and precision marketing

Jin Lin 1,*
Editor: Evans Otieno Omondi2
PMCID: PMC12054852  PMID: 40327711

Abstract

with the intensification of market competition and the complexity of consumer behavior, enterprises are faced with the challenge of how to accurately identify potential customers and improve user conversion rate. This paper aims to study the application of machine learning in consumer behavior prediction and precision marketing. Four models, namely support vector machine (SVM), extreme gradient boosting (XGBoost), categorical boosting (CatBoost), and backpropagation artificial neural network (BPANN), are mainly used to predict consumers’ purchase intention, and the performance of these models in different scenarios is verified through experiments. The results show that CatBoost and XGBoost have the best prediction results when dealing with complex features and large-scale data, F1 scores are 0.93 and 0.92 respectively, and CatBoost’s ROC AUC reaches the highest value of 0.985. while SVM has an advantage in accuracy rate, but slightly underperformance when dealing with large-scale data. Through feature importance analysis, we identify the significant impact of page views, residence time and other features on purchasing behavior. Based on the model prediction results, this paper proposes the specific application of optimization marketing strategies such as recommendation system, dynamic pricing and personalized advertising. Future research could improve the predictive power of the model by introducing more kinds of unstructured data, such as consumer reviews, images, videos, and social media data. In addition, the use of deep learning models, such as Transformers or Self-Attention Mechanisms, can better capture complex patterns in long time series data.

1 Introduction

With the intensification of market competition, consumer behavior becomes more and more complex. Traditional marketing methods often struggle to cope with this complexity [1,2]. Traditional marketing models are often too rigid, based on historical data and static analysis, to respond to rapidly changing market demands. For example, the 4P model (product, price, promotion, channel) cannot effectively handle multidimensional data on modern consumer behavior, especially in the context of large-scale, real-time data streams Consumer behavior is not only influenced by multiple factors such as culture, society and psychology, but also involves complex variables such as information overload, personalized demand and purchase motivation. With the intensification of market competition, enterprises are in urgent need of innovative means to accurately identify potential consumers and improve customer retention, so as to increase market share [3,4]. Precision marketing, as an effective way to attract and maintain customers through personalized communication, is becoming one of the core strategies of marketing[5].

The research of consumer behavior has always been the core issue in the field of marketing. In recent years, researchers have made use of behavioral economic models and psychological theories to deeply explore the decision-making process of consumers [6]. These models help enterprises better understand consumers’ purchase motivation, cognitive response and emotional attitude, and provide theoretical basis for the design of marketing strategies [7]. However, with the rapid development of digital technology, consumer behavior has gradually migrated from offline to online, and this change in behavior pattern has brought new challenges and opportunities for researchers and enterprises. Through social media, mobile devices, and e-commerce platforms, businesses have access to vast amounts of consumer behavior data, which provides a valuable resource for predicting consumer behavior.

In recent years, with the development of big data technology and artificial intelligence, the application of machine learning in marketing has shown great potential [8]. Machine learning algorithms can process vast amounts of consumer data to identify hidden patterns and trends, which in turn provide insights to businesses to help optimize marketing decisions. In precision marketing, machine learning can accurately predict consumers’ future behavior and develop personalized recommendation strategies by analyzing consumers’ historical behavior and interaction data [9,10]. Machine learning models such as SVM, XGBoost, CatBoost, and BPANN have proven their superiority in many fields, especially when dealing with large data and complex features. Studies have shown that the accuracy and scalability of XGBoost and CatBoost on large-scale data sets are significantly better than traditional algorithms [11], while SVM is ahead in accuracy and is especially suitable for the classification of high-dimensional features [12]. Zhao [13] reviewed the application of machine learning and artificial intelligence in precision marketing. Deep learning and natural language processing models can improve prediction accuracy by about 25% in consumer sentiment analysis. The article points out that CatBoost and XGBoost have become the mainstream models of e-commerce recommendation systems, which can effectively improve the conversion rate of personalized ads, up to 30%. Luo [14] explored the application of machine learning on e-commerce platforms, especially customer behavior prediction and personalized recommendations. Fang [15] reviews the latest applications of machine learning and artificial intelligence in marketing, especially in retail and e-commerce. The application of deep learning and reinforcement learning techniques in personalized recommendation systems has increased customer engagement by about 20%. Bucklin et al. [16] pointed out that machine learning can promote the automation and precision of marketing decisions by analyzing complex multidimensional data. Sahoo et al. [17] believe that machine learning can help enterprises automate complex marketing tasks, optimize resource allocation and improve return on marketing investment. In addition, using machine learning algorithms for consumer segmentation, companies are able to accurately identify high-value customer segments based on different buying preferences and behavior patterns, and tailor personalized marketing parties to these groups. Recommendation system is one of the most typical applications of machine learning in the field of marketing. By analyzing user behavior patterns, the recommendation system can provide personalized product recommendations to consumers, significantly improving customer conversion rates and satisfaction. Amazon and Netflix have significantly increased conversion rates through their recommendation systems, with Netflix’s personalized recommendation system increasing engagement by more than 30% [18]. In terms of market segmentation, through clustering algorithms, machine learning can divide consumers with different characteristics into multiple groups, enabling enterprises to develop targeted marketing strategies for each market segment, thus improving the effect of marketing [1923]. In addition to recommendation systems, machine learning is also widely used in dynamic pricing, customer segmentation and advertising [24,25]. For example, in e-commerce platforms, machine learning algorithms can analyze consumers’ purchase history and browsing behavior in real time, so as to adjust product pricing and attract more potential customers [26].

However, despite numerous studies exploring the application of different machine learning models in this field, the comprehensive advantages of models such as CatBoost and XGBoost in e-commerce data processing have not been fully explored. By comparing SVM, XGBoost, CatBoost and BPANN four mainstream machine learning models, this study explores their performance in large-scale and complex e-commerce data to fill this gap. The accuracy and generalization ability of these models in processing e-commerce behavior data are comprehensively evaluated, and specific insights are provided on how to select appropriate algorithms.

2 Methods and materials

In this study, the modeling process consists of several steps, including data collection, data preprocessing (including feature selection, etc.), model selection and training (including SVM, XGBoost, CatBoost, BPANN models), model evaluation and optimization.

2.1 Data collection

The data set used in this paper is the Online Shoppers Purchasing Intention Dataset (Version: 2016), which comes from the UCI machine learning library and contains 12,330 independent user sessions, which records the user’s behavior and environment information on the e-commerce platform. The data covers user engagement metrics such as page visits, stay times, bounce rates, exit rates, page value, etc. All data are anonymous user sessions over a year, avoiding bias for specific events or dates. The dataset contains 10 numerical types and 8 classification features, and the target variable is Revenue, which represents whether the user completes the purchase. The data set provides a good feature basis for user purchase behavior prediction and ensures the stability and effectiveness of the model.

2.2 Modeling algorithms

  • (1) Support Vector Machine

Support Vector Machine (SVM) distinguishes different classes by finding an optimal hyperplane in the feature space (as shown in Fig 1(a)), focusing on support vectors—data points closest to the hyperplane. By maximizing the margin between these points and the hyperplane, the model achieves better generalization performance[27]. In this study, we chose the SVM model because it has good generalization ability and is especially suitable for high-dimensional data and classification tasks [28]. finds the optimal hyperplane for classification, uses RBF kernel function, and makes full use of support vector to improve the generalization ability of the model.

Fig 1. Model diagram.

Fig 1

(a) SWM.(b) BPANN.

  • (2) XGBoost

XGBoost is a refined gradient boosting algorithm built on the GBDT framework, incorporating techniques to enhance performance and prevent overfitting, such as a regularization term in the loss function. The complexity of the model is controlled by the number of leaf nodes (T) and their weights (w):

L=i=1nL(yi,yi^)+k=1K(γTk+12λWk2) (1)

Shrinkage reduces the impact of each tree on the final model, improving convergence and generalization. XGBoost optimizes the complexity of the model by integrating learning and regularizing terms [29]. In large-scale data processing and complex feature analysis, XGBoost performs very well, and its processing speed and scalability are better than traditional models [30]. We chose XGBoost because its efficient parallelization and automated feature selection methods make it ideal for data mining tasks in the e-commerce field.

  • (3) CatBoost

CatBoost, short for “Categorical Boosting,” uses symmetric decision trees and the Ordered Target Statistic method, which calculates statistics based on historical data for each sample. A prior value reduces noise from low-frequency categories, allowing effective handling of categorical features:

xi,k=j=1p1[xσj,k=xσp,k]·Yj+a·pj=1p1[xσj,k=xσp,k]+a (2)

CatBoost, on the other hand, uses the ordered target statistics method of class features, which has advantages when dealing with high-dimensional class features. CatBoost’s accuracy and ability to handle complex categorical data make it highly effective for large datasets, outperforming other GBDT frameworks [31]. Previous studies have demonstrated the advantages of XGBoost and CatBoost in large-scale data processing and feature complexity analysis. Based on these studies, this paper further explores their application in e-commerce data.

  • (4) BPANN

Backpropagation Artificial Neural Network (BPANN) models complex nonlinear relationships through gradient descent (as shown in Fig 1(b)). The training process includes forward propagation, error calculation, backpropagation, and weight updating, iterating until the prediction error is minimized or the preset iteration limit is reached [32,33]. BPANN has been widely used in many fields, especially in the analysis of consumer behavior, which can effectively capture the non-linear decision-making mode of consumers [34]. Although its computational complexity is high, it still has important application value in dealing with complex nonlinear problems.

2.3 Data preprocessing and feature engineering

  • (1) Data preprocessing

First, categorical variables including month (Mth), visitor type (VT), weekend or not (Wknd) are encoded and converted to numeric data using LabelEncoder. For the rest of the numerical features, StandardScaler is used to standardize the range of values. Using IsolationForest, the contamination rate was set to 0.01, and extreme outliers were identified and removed to improve model stability and robustness. SMOTE method was used to up-sample the target variable Rev to deal with the class imbalance in the dataset. SMOTE method was used to deal with the category imbalance, SMOTE effectively avoids model bias due to sample imbalance by synthesizing new minority class samples to balance the dataset.

  • (2) Feature engineering

Variance filtering with a threshold of = 0.05 is performed to remove non-normal distribution data with skewness greater than 1, because these features have limited predictive contributions to the model. The mutual information method with a threshold of 0.05 is designed to retain the features that are strongly correlated with the target variable and remove the redundant information that is unrelated to the target variable. Finally, the features with absolute correlation score greater than 0.7 between the two features were deleted through the Pearson correlation coefficient. The features with smaller Rev correlation coefficient are preferentially deleted. Fig 2 is a Pearson heat map, showing the correlation coefficients among each characteristic parameter.

Fig 2. Pearson correlation coefficient matrix diagram.

Fig 2

2.4 Model training and optimization

After feature screening, the model was initially trained and optimized. SVM, XGBoost, CatBoost and BPANN nonlinear classification algorithms were used for training based on the amount of data and its data features. The training set and the test set were divided by 0.20 test_size, and 50 random numbers were set by a cyclic algorithm for data distribution. In order to comprehensively evaluate the performance of the model, we used ROC AUC, accuracy and recall rate. The ROC AUC measures the model’s performance at different thresholds, the accuracy rate reflects the proportion of models that predict correctly, while the recall rate represents the model’s ability to identify positive samples. These indicators together evaluate the effectiveness of the model in different application scenarios. In the process of model optimization, grid search and random search are used to optimize the hyperparameters. The hyperparameters were optimized using Grid Search and Random Search. Specific hyperparameters, such as the C value of SVM and max_depth of XGBoost, are listed in Table 1. RBF is used to build SVM, and the integrated XGBoost and CatBoost algorithms optimize parameters such as max_depth through random search to improve the accuracy of the model and the ability to process category features. In the optimization of BPANN, the number of neural network layers and the number of nodes in each layer are adjusted, and the early stop method is used to prevent overfitting. Hyperparameter optimization significantly improves the performance of the model, and the accuracy and recall rate of the model are significantly improved. Fig 3 shows the confusion matrix after hyperparameter optimization of CatBoost and SVM.

Table 1. Model parameter values.

argument SVM XGBoost CatBoost BPANN
epsilon 0.019
gamma 0.120
C 50.12
iterations 245
learning_rate 0.11 0.09
max_depth 4 8
subsample 0.8
hidden_layers 3
epochs 50

Fig 3. Confusion matrix.

Fig 3

(a) CatBoost. (b) SWM.

3 Results and discussion

3.1 Model performance evaluation and comparison

The fitting effects of the four models on the test set and the performance comparison of the model test set are shown in in Table 2 and Fig 4, respectively. CatBoost demonstrates the best overall performance across all metrics, with an accuracy rate of 93.4%, a recall rate of 93.5%, and the highest ROC AUC of 0.985. This model excels in handling large-scale and complex data tasks, making it particularly suitable for e-commerce data processing, where complex feature interactions and noise are prevalent. XGBoost, similar to CatBoost, performs well across all indicators, with a precision of 93.5%, a recall of 92.5%, and a ROC AUC of 0.984. XGBoost’s balanced performance and strong generalization ability make it another excellent choice for handling large datasets with complex features. While SVM achieves the highest precision (95.4%), it has a relatively low recall rate (88.6%) and performs well in minimizing false positives. However, its ability to identify positive samples is slightly weaker than that of CatBoost and XGBoost, which makes it more suitable for tasks where high accuracy is crucial, but not necessarily at the expense of recall. The BPANN model, though the least performing model in this comparison, still provides a balanced outcome with a precision of 90.1%, a recall of 90.2%, and a ROC AUC of 0.955. BPANN is particularly suited for tasks involving complex, nonlinear relationships, although its performance lags behind other models in large-scale tasks.

Table 2. The fitting effect of four models on the test set.

Models Precision Recall ROC AUC
SVM 0.954 0.886 0.977
XGBoost 0.935 0.925 0.984
CatBoost 0.934 0.935 0.985
BPANN 0.901 0.902 0.955

Fig 4. Model test set performance comparison.

Fig 4

By comparing the performance of SVM, XGBoost, CatBoost, and BPANN on the test set, we identified the advantages of each model in a specific context. CatBoost performed best, with a high ROC AUC value (0.985) on large-scale data and complex feature processing confirming its effectiveness in e-commerce data. CatBoost and XGBoost are the optimal choices, which are outstanding in the consumer behavior prediction and precision marketing scenarios of e-commerce. Both of them have excellent classification performance and anti-noise ability when dealing with large-scale data and high-dimensional features. Although SVM has obvious advantages in accuracy rate, it is more suitable for small-scale and high-dimensional tasks due to its low recall rate and efficiency in processing large-scale data. Although BPANN is slightly inferior in classification tasks, it has certain application value in tasks that need to deal with complex nonlinear relationships.

3.5 Feature importance analysis

The analysis relies on the importance score of each feature calculated by CatBoost during training to reflect the relative contribution of the feature to the model’s predictive power. By analyzing the importance of features, we can identify which user behaviors or environmental characteristics have the most influence on purchasing behavior

  • (1) Visual display of feature importance

As shown in Fig 5, the importance distribution of each feature to purchase behavior prediction can be clearly seen through the feature importance analysis of CatBoost model. Adm and PV were the two features that contributed the most to the predicted results, indicating that they played a crucial role in influencing user buying behavior. Other features, such as Mth and Prod, also have an impact on users’ purchase decisions to some extent.

Fig 5. CatBoost feature importance ranking of models.

Fig 5

  • (2) Analyze the most influential characteristics

The more Product pages users visit on the platform, it may indicate that users have a higher degree of trust in the platform, and the possibility of purchase will also increase. The increase in page views means that the user’s interest in the platform product is growing, so the likelihood of purchase is increased; Different months may correspond to specific marketing campaigns or shopping holidays, so this feature also contributes significantly to predicting users’ purchase behavior; The more pages that users visit directly related to the product, the higher their interest in the product, and the greater the likelihood of purchase.

  • (3) How to use feature importance to optimize marketing strategy

Improve user engagement: For features that have a large impact, such as page views and residence time, enterprises can extend the residence time of users on the platform by optimizing page layout, improving page loading speed, improving user experience, and so on, thereby increasing the possibility of purchase.

Personalized recommendation: The personalized recommendation system uses machine learning models (such as collaborative filtering, deep learning models, etc.) to provide customized recommendations by analyzing users’ historical behavior, interest preferences, and interactions with products. According to the categories and related pages of the products viewed by the user, the enterprise can recommend relevant products to the user through the personalized recommendation system. By analyzing user visits to product-related pages, you can significantly improve the accuracy and conversion rate of recommended products. Using machine learning algorithms, Netflix has increased user engagement and subscription rates through a personalized recommendation system, which is able to push relevant content based on a user’s viewing history and interests, significantly increasing user conversion rates.

Reduce bounce rate: For pages with high bounce rate, enterprises can reduce user bounce behavior by redesigning the page content or guiding users to more relevant content, thereby improving user purchase intention.

Optimize advertising: Feature importance analysis can also help enterprises determine the characteristics of high purchase intention users, so as to focus advertising resources, optimize advertising accuracy, and improve the use of marketing resources. Companies such as Amazon and Facebook use machine learning to deliver targeted advertising based on user behavior prediction, improving AD effectiveness and ROI. Based on a user’s browsing history, shopping preferences, and interest tags, advertisers can deliver relevant ads that significantly increase conversion rates and user engagement.

3.6 The optimization of marketing strategy

Based on the predictive model of consumer behavior, marketing strategies can be optimized in many ways. The personalized recommendation system uses machine learning models (such as collaborative filtering, deep learning models, etc.) to provide customized recommendations by analyzing users’ historical behavior, interest preferences, and interactions with products. For example, based on the user’s browsing history, the system can push similar products or items related to the user’s interests, thus improving the relevance and accuracy of recommendations; Dynamic pricing Automatically adjusts the price of goods or services by analyzing market demand, consumer behavior, and competitor pricing in real time. Machine learning algorithms can help businesses predict price movements and make adjustments based on factors such as users’ purchasing power, fluctuations in demand, seasonal changes, and more. At the same time, it can identify high loyalty users, and launch targeted membership programs and preferential activities to enhance brand stickiness. In addition, predictive models can help companies identify potential churn users, intervene in a timely manner through personalized offers and services, reduce churn, and ultimately increase user conversion and loyalty.

3.7 Conclusion and future scope

Through the application of SVM, XGBoost, CatBoost, and BPANN machine learning models in consumer behavior prediction, this paper successfully verifies the effectiveness of these models, particularly in the context of precision marketing within the e-commerce industry. The study aligns with the initial research questions and hypotheses that aimed to enhance consumer behavior prediction and optimize precision marketing strategies through machine learning. The findings confirm that CatBoost and XGBoost, due to their ability to handle large-scale data and complex features, are the best-performing models in terms of prediction accuracy and generalization ability, making them especially suitable for e-commerce applications. This directly aligns with the study’s objective of improving user conversion rates and the overall effectiveness of precision marketing. While SVM excels at high-precision tasks, its lower efficiency in handling large amounts of data makes it more suitable for small-scale and high-dimensional tasks, consistent with our hypothesis that SVM would be effective for tasks demanding high accuracy but less scalability. BPANN, on the other hand, provides valuable insights when dealing with nonlinear relationships but has some limitations in large-scale data processing, as anticipated in our research.

This study not only provides accurate consumer behavior prediction methods for e-commerce platforms but also demonstrates significant value in practical applications such as personalized recommendations, dynamic pricing, and precision marketing. The results show that by accurately predicting consumer behavior, businesses can improve the utilization efficiency of marketing resources, enhance user conversion rates, and gain a competitive edge in the increasingly fierce market competition, directly supporting the initial research objectives.

Additionally, the research provides valuable insights that can be applied to other industries, such as finance and healthcare, promoting the adoption of machine learning methods across various fields of society. The potential for machine learning in precision marketing extends beyond e-commerce, and future research can leverage more diverse data types, such as social media behavior, geolocation, and other unstructured data, to further improve model performance. For example, integrating social media behavior data can capture real-time user sentiment and intent, enhancing prediction accuracy by identifying consumer preferences and behavioral patterns that are not captured through traditional data sources. Incorporating deep learning and reinforcement learning techniques is a promising avenue for improving user behavior prediction. By integrating these advanced techniques, the model can learn more complex patterns, such as temporal behavior changes and sequential decision-making. However, challenges such as increased computational complexity, training time, and data requirements need to be addressed. In the context of reinforcement learning, the model would require real-time feedback to adjust its predictions and optimize marketing strategies dynamically.

This study uses static data sets and does not adequately capture dynamic changes in consumer behavior. This can affect how the model performs in real-world applications, especially in the face of rapidly changing market conditions. Future research could consider introducing real-time data to adapt the model to rapid changes in consumer behavior by dynamically updating it. Future work should address the limitations and gaps identified in this study. Model performance refinements can focus on overcoming challenges such as overfitting or improving scalability for even larger datasets. Additionally, alternative strategies, such as using ensemble models or feature selection techniques, could be explored to enhance model robustness and interpretability. This would provide a more comprehensive solution for businesses seeking to optimize consumer behavior prediction and precision marketing.

Data Availability

The data used in this study is from the publicly available dataset Online Shoppers Purchasing Intention Dataset (version: 2016), which comes from the UCI Machine Learning Library. link: https://archive.ics.uci.edu/ml/datasets/ Online+Shoppers+Purchasing+Intention+Dataset

Funding Statement

The author(s) received no specific funding for this work.

References

  • [1].Rust RT. The future of marketing. Int J Res Market. 2020;37(1):15–26. doi: 10.1016/j.ijresmar.2019.08.002 [DOI] [Google Scholar]
  • [2].Zhang C, Wang X, Cui AP, Han S. Linking big data analytical intelligence to customer relationship management performance. Ind Mark Manag. 2020;91:483–94. doi: 10.1016/j.indmarman.2020.10.012 [DOI] [Google Scholar]
  • [3].Davenport T. H., Ronanki R. Artificial intelligence for the real world: how to implement AI. Har Bus Rev. 2018;96(1):108–16. [Google Scholar]
  • [4].Blasco-Arcas L, Lee H-HM, Kastanakis MN, Alcañiz M, Reyes-Menendez A. The role of consumer data in marketing: a research agenda. J Bus Res. 2022;146:436–52. doi: 10.1016/j.jbusres.2022.03.054 [DOI] [Google Scholar]
  • [5].Wedel M, Kannan PK. Marketing analytics for data-rich environments. J Mark. 2016;80(6):97–121. doi: 10.1509/jm.15.0413 [DOI] [Google Scholar]
  • [6].White K, Habib R, Hardisty D. J. How to SHIFT consumer behaviors to be more sustainable: a literature review and guiding framework. J Mark. 2019;83(3):22–49. doi: 10.1177/0022242919825649 [DOI] [Google Scholar]
  • [7].Hoyer WD, Kroschke M, Schmitt B, Kraume K, Shankar V. Transforming the customer experience through new technologies. J Interact Mark. 2020; 51(1) 57–71. doi: 10.1016/j.intmar.2020.04.001 [DOI] [Google Scholar]
  • [8].Fang E., Wang F. Artificial intelligence in marketing: a review and research agenda. J Acad Mark Sci. 2022;50:137–58. [Google Scholar]
  • [9].Chang C, Wu J. Personalized recommendations based on consumer behavior analysis and artificial intelligence technologies: evidence from e-commerce. J Bus Res. 2018;91:215–23. [Google Scholar]
  • [10].Wang S, Zhang Y. Using machine learning models to optimize customer segmentation for targeted marketing. Int J Inform Manag. 2019;48:63–74. [Google Scholar]
  • [11].Wang S, Zhang Y. Machine learning in marketing: a review of current trends and future directions. J Market Sci. 2023;59(2):123–45. [Google Scholar]
  • [12].Kumar V, Shah A. Advances in machine learning for digital marketing: a comprehensive review. Mark Sci. 2024;42(1):101–20. [Google Scholar]
  • [13].Sharma A., Bhardwaj A. Emerging trends in machine learning for marketing analytics: a survey. Electron Commer Res Appl. 2024;55:101249. [Google Scholar]
  • [14].Zhao W., Chen K. AI and machine learning applications in marketing: a systematic review Market Intell Plan. 2024;42(1):88–110. [Google Scholar]
  • [15].Fang E, Wang F. Artificial intelligence and machine learning in marketing: emerging applications and research trends. J Bus Res. 2024;138:94–106. [Google Scholar]
  • [16].Shah D, Kumar V, Kim D. Managing customer relationships in the era of digital analytics. J Interact Market. 2020;50:26–42. [Google Scholar]
  • [17].Sahoo N, Kumar S. Machine learning for actionable insights in digital marketing. J Interact Market. 2018;44:26–39. [Google Scholar]
  • [18].Luo X, Toubia O. The effectiveness of AI in personalized marketing: a review of current literature and future trends. J Bus Res. 2021;126:461–72. [Google Scholar]
  • [19].Yao Y, Zhang G. AI-powered marketing analytics and its application in customer retention strategies J Bus Anal. 2021;4(2):135–49. [Google Scholar]
  • [20].Chen Y, Luo X, Palmatier RW. An attention-based view of customer analytics: data-driven targeting, artificial intelligence, and firm performance. J Market. 2021;85(3):170–89. [Google Scholar]
  • [21].Kumar A, Sharma R. Dynamic pricing and predictive analytics: a machine learning approach for optimizing revenue in e-commerce. Electron Commer Res Appl. 2020;42:101008. [Google Scholar]
  • [22].Li T, Hu G, Ye H. Customer segmentation and personalized marketing strategy based on machine learning in the digital economy. Inform Process Manag. 2022;59(4):102797. [Google Scholar]
  • [23].Liu T, Wang Y. Artificial intelligence and machine learning in E-commerce: trends and challenges. J Retail Consum Serv. 2023;71:103262. [Google Scholar]
  • [24].Sharma A, Bhardwaj A. Real-time bidding in programmatic advertising: a machine learning approach. Decis Support Syst. 2019;122:113078. [Google Scholar]
  • [25].Anderson E, Simester D. The impact of personalized marketing on consumer behavior: insights from AI models Market Sci. 2022;41(3):451–69. [Google Scholar]
  • [26].Du R, Wu J. Predicting consumer behavior in the digital age: the role of AI-driven analytics. Comput Hum Behav. 2020;102:125–35. [Google Scholar]
  • [27].Zha L, Ma K, Li G. An improved extreme learning machine with self-recurrent hidden layer. Adv Eng Inform. 2022;54:101736. doi: 10.1016/j.aei.2022.101736 [DOI] [Google Scholar]
  • [28].Cortes C, Vapnik V. Support-vector networks. Mach Learn. 1995;20(3):273–97. doi: 10.1007/bf00994018 [DOI] [Google Scholar]
  • [29].Chen T. Guestrin C. XGBoost: a scalable tree boosting system. Proceedings of the 22nd ACM SIGKDD International Conference on Knowledge Discovery and Data Mining. 2016. p. 785–94. [Google Scholar]
  • [30].Caruana R, Gehrke J. XGBoost: optimizing model complexity in predictive analytics. J Data Mining Pred Anal. 2023;17(4):349–67. [Google Scholar]
  • [31].Mienye ID, Sun Y. A survey of ensemble learning: concepts, algorithms, applications, and prospects. IEEE Access. 2022;10;99129–49. [Google Scholar]
  • [32].Marapelli B, Carie A, Islam SMN. Software effort estimation with use case points using ensemble machine learning models. International Conference on Electrical, Computer and Energy Technologies. IEEE; 2021. p. 1–6. [Google Scholar]
  • [33].Schirrmeister RT, Springenberg JT, Fiederer LDJ, Ball T, et al. Deep learning with convolutional neural networks for EEG decoding and visualization. Hum Brain Mapp. 2017;38(11):5391–420. doi: 10.1002/hbm.23730 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • [34].Hossain MS, Muhammad G, Alamri A. Smart healthcare monitoring: a voice pathology detection paradigm based on a deep learning algorithm. IEEE Access. 2019;7:3772–83. [Google Scholar]

Decision Letter 0

Zaher Mundher Yaseen

18 Dec 2024

PONE-D-24-55477Application of machine learning in predicting consumer behavior and precision marketingPLOS ONE

Dear Dr. LIN,

Thank you for submitting your manuscript to PLOS ONE. After careful consideration, we feel that it has merit but does not fully meet PLOS ONE’s publication criteria as it currently stands. Therefore, we invite you to submit a revised version of the manuscript that addresses the points raised during the review process.

Please submit your revised manuscript by Feb 01 2025 11:59PM. If you will need more time than this to complete your revisions, please reply to this message or contact the journal office at plosone@plos.org . When you're ready to submit your revision, log on to https://www.editorialmanager.com/pone/ and select the 'Submissions Needing Revision' folder to locate your manuscript file.

Please include the following items when submitting your revised manuscript:

  • A rebuttal letter that responds to each point raised by the academic editor and reviewer(s). You should upload this letter as a separate file labeled 'Response to Reviewers'.

  • A marked-up copy of your manuscript that highlights changes made to the original version. You should upload this as a separate file labeled 'Revised Manuscript with Track Changes'.

  • An unmarked version of your revised paper without tracked changes. You should upload this as a separate file labeled 'Manuscript'.

If you would like to make changes to your financial disclosure, please include your updated statement in your cover letter. Guidelines for resubmitting your figure files are available below the reviewer comments at the end of this letter.

If applicable, we recommend that you deposit your laboratory protocols in protocols.io to enhance the reproducibility of your results. Protocols.io assigns your protocol its own identifier (DOI) so that it can be cited independently in the future. For instructions see: https://journals.plos.org/plosone/s/submission-guidelines#loc-laboratory-protocols . Additionally, PLOS ONE offers an option for publishing peer-reviewed Lab Protocol articles, which describe protocols hosted on protocols.io. Read more information on sharing protocols at https://plos.org/protocols?utm_medium=editorial-email&utm_source=authorletters&utm_campaign=protocols .

We look forward to receiving your revised manuscript.

Kind regards,

Zaher Mundher Yaseen

Academic Editor

PLOS ONE

Journal Requirements:

When submitting your revision, we need you to address these additional requirements. 1. Please ensure that your manuscript meets PLOS ONE's style requirements, including those for file naming. The PLOS ONE style templates can be found at https://journals.plos.org/plosone/s/file?id=wjVg/PLOSOne_formatting_sample_main_body.pdf and https://journals.plos.org/plosone/s/file?id=ba62/PLOSOne_formatting_sample_title_authors_affiliations.pdf 2. PLOS requires an ORCID iD for the corresponding author in Editorial Manager on papers submitted after December 6th, 2016. Please ensure that you have an ORCID iD and that it is validated in Editorial Manager. To do this, go to ‘Update my Information’ (in the upper left-hand corner of the main menu), and click on the Fetch/Validate link next to the ORCID field. This will take you to the ORCID site and allow you to create a new iD or authenticate a pre-existing iD in Editorial Manager. 3. Please note that PLOS ONE has specific guidelines on code sharing for submissions in which author-generated code underpins the findings in the manuscript. In these cases, we expect all author-generated code to be made available without restrictions upon publication of the work. Please review our guidelines at https://journals.plos.org/plosone/s/materials-and-software-sharing#loc-sharing-code and ensure that your code is shared in a way that follows best practice and facilitates reproducibility and reuse. 4. We note that you have indicated that there are restrictions to data sharing for this study. PLOS only allows data to be available upon request if there are legal or ethical restrictions on sharing data publicly. For more information on unacceptable data access restrictions, please see http://journals.plos.org/plosone/s/data-availability#loc-unacceptable-data-access-restrictions.  Before we proceed with your manuscript, please address the following prompts: a) If there are ethical or legal restrictions on sharing a de-identified data set, please explain them in detail (e.g., data contain potentially identifying or sensitive patient information, data are owned by a third-party organization, etc.) and who has imposed them (e.g., a Research Ethics Committee or Institutional Review Board, etc.). Please also provide contact information for a data access committee, ethics committee, or other institutional body to which data requests may be sent. b) If there are no restrictions, please upload the minimal anonymized data set necessary to replicate your study findings to a stable, public repository and provide us with the relevant URLs, DOIs, or accession numbers. For a list of recommended repositories, please seehttps://journals.plos.org/plosone/s/recommended-repositories. You also have the option of uploading the data as Supporting Information files, but we would recommend depositing data directly to a data repository if possible. We will update your Data Availability statement on your behalf to reflect the information you provide. 5. In the online submission form, you indicated that [The data that support the findings of this study are available from the corresponding author upon reasonable request.]. All PLOS journals now require all data underlying the findings described in their manuscript to be freely available to other researchers, either 1. In a public repository, 2. Within the manuscript itself, or 3. Uploaded as supplementary information.This policy applies to all data except where public deposition would breach compliance with the protocol approved by your research ethics board. If your data cannot be made publicly available for ethical or legal reasons (e.g., public availability would compromise patient privacy), please explain your reasons on resubmission and your exemption request will be escalated for approval. 

[Note: HTML markup is below. Please do not edit.]

Reviewers' comments:

Reviewer's Responses to Questions

Comments to the Author

1. Is the manuscript technically sound, and do the data support the conclusions?

The manuscript must describe a technically sound piece of scientific research with data that supports the conclusions. Experiments must have been conducted rigorously, with appropriate controls, replication, and sample sizes. The conclusions must be drawn appropriately based on the data presented.

Reviewer #1: Partly

Reviewer #2: Partly

Reviewer #3: Yes

Reviewer #4: Partly

**********

2. Has the statistical analysis been performed appropriately and rigorously?

Reviewer #1: No

Reviewer #2: No

Reviewer #3: Yes

Reviewer #4: Yes

**********

3. Have the authors made all data underlying the findings in their manuscript fully available?

The PLOS Data policy requires authors to make all data underlying the findings described in their manuscript fully available without restriction, with rare exception (please refer to the Data Availability Statement in the manuscript PDF file). The data should be provided as part of the manuscript or its supporting information, or deposited to a public repository. For example, in addition to summary statistics, the data points behind means, medians and variance measures should be available. If there are restrictions on publicly sharing data—e.g. participant privacy or use of data from a third party—those must be specified.

Reviewer #1: Yes

Reviewer #2: No

Reviewer #3: Yes

Reviewer #4: Yes

**********

4. Is the manuscript presented in an intelligible fashion and written in standard English?

PLOS ONE does not copyedit accepted manuscripts, so the language in submitted articles must be clear, correct, and unambiguous. Any typographical or grammatical errors should be corrected at revision, so please note any specific errors here.

Reviewer #1: Yes

Reviewer #2: Yes

Reviewer #3: Yes

Reviewer #4: Yes

**********

5. Review Comments to the Author

Please use the space provided to explain your answers to the questions above. You may also include additional comments for the author, including concerns about dual publication, research ethics, or publication ethics. (Please upload your review as an attachment if it exceeds 20,000 characters)

Reviewer #1: 1. Originality

While some aspects show promise, it does not sufficiently demonstrate groundbreaking insights. The claims, while relevant, need further validation to establish originality and significance.

2. Technical Soundness

The manuscript employs specific methods or techniques, which seem appropriate on a surface level. However, the link between the data and conclusions lacks robustness. Some areas need clarification, especially in how findings directly support the stated outcomes.

3. Main Claims and Significance

The primary claims potentially impactful, their significance for the discipline is moderate. The work but does not convincingly position itself as transformative within the field.

4. Relationship to Literature

The paper demonstrates familiarity with existing literature but falls short in thoroughly contextualizing its contribution. These omissions detract from the paper's credibility and integration into the wider academic discourse.

5. Placement of Claims in Literature Context

The claims are not adequately framed within the context of existing literature. For instance, specific claim could be better supported by referencing to significant work. The discussion occasionally seems disconnected from the broader field.

6. Statistical Analysis

Statistical methods, including the analysis techniques, are employed but lack detailed explanation. The justification for the statistical choice is insufficient, and key assumptions are not thoroughly addressed. A more rigorous and transparent presentation of the analysis is needed to substantiate claims.

7. Potential for Resubmission

Despite its current shortcomings, the study has potential. Encouraging the authors to resubmit with revisions could elevate the work's quality and impact.

8. Data Availability

The paper does not clearly confirm that all underlying data are accessible. Transparent data sharing, including detailed datasets, would enhance the reproducibility and credibility of the findings.

9. Repository Information

No explicit mention is made of depositing data in public repositories. Providing accession numbers or repository links for specific data elements (e.g., genes, proteins, or other significant findings) is critical.

10. Methodology

The methodology appears reasonably designed but lacks sufficient theoretical underpinning in some areas. Specific steps of methodology need clearer justification. Without this, reproducibility and confidence in the results are compromised.

11. Reproducibility

Details of the methodology are insufficient to ensure reproducibility. Key parameters are omitted or underexplained.

12. Results

The results section is descriptive but occasionally unclear. Graphs and tables, while helpful, would benefit from additional commentary to elucidate their connection to the hypotheses and conclusions.

13. Implications for Research, Practice, and Society

The paper briefly touches on its implications but does not fully explore their relevance to research, practice, or society. Expanding on these would strengthen its practical and theoretical contributions.

14. Quality of Communication

The writing is technically accurate but lacks clarity in some areas. Sentence structure and jargon usage occasionally hinder accessibility. Simplifying language without sacrificing technical precision would improve communication.

15. Accessibility to Non-Specialists

The manuscript is primarily aimed at specialists, and non-specialists may find it difficult to engage with the content due to dense technical language and insufficient background context.

16. Standard English Usage

The manuscript generally adheres to standard English conventions but contains minor grammatical inconsistencies and awkward phrasing.

17. Comments to the Author

• Ensure all data and methodologies are transparently presented to facilitate reproducibility.

• Address gaps in the literature review and align claims more closely with existing studies.

• Enhance clarity in the statistical analysis section, providing rationale and assumptions for methods used.

• Expand on the societal and practical implications of the research findings.

The paper demonstrates potential but requires substantial revision to meet publication standards. Key areas needing attention include data transparency, methodological clarity, and integration with existing literature. Encouraging a resubmission after thorough revision is recommended.

Reviewer #2: ABSTRACT

1. Ensure all abbreviations in the abstract, such as SVM, XGBoost, CatBoost, and BPANN, are clearly defined upon first use for better readability and comprehension.

2. Include performance metrics like F1-score etc. in the abstract for better clarity and impact.

3. "Future research can further enhance the predictive power..." - This statement is overly generic and uninspiring. Specify actionable directions for future research, such as incorporating unstructured data (e.g., text, images) or experimenting with deep learning models like Transformers for consumer behavior analysis.

INTRODUCTION:

1. Please format citations in square brackets (e.g., “[19]”) as per the submission guidelines.

2. “Consumer behavior has become increasingly complex and unpredictable..." - This sentence reiterates what is already mentioned in the abstract without adding new information. Use this space to provide detailed background or evidence, such as specific challenges faced by industries.

3. "Traditional marketing models are unable to effectively cope with this change..." - This statement lacks support. Briefly explain why traditional models fail. For example, are they too rigid, or do they lack adaptability to real-time data?

4. Does not provide sufficient evidence or citations to justify the selection of the machine learning models (SVM, XGBoost, CatBoost, BPANN) over other alternatives. Including references to studies or benchmarks demonstrating the superior performance, efficiency, or suitability of these models for consumer behavior prediction tasks would strengthen the argument.

5. The introduction fail to address potential limitations, such as computational complexity, data quality issues, or overfitting risks. Discussing these would strengthen the credibility of your research.

6. Replace vague terms like "significant impact" and "great potential" with specific examples, data points, or case studies to ground your claims in reality.

7. The stated research objective, "to explore how to optimize consumer behavior prediction and precision marketing through machine learning," lacks originality and does not sufficiently highlight the study's unique contribution. To strengthen this section, clearly articulate the research gap.

8. Please provide a suitable comparison with other state-of-the-art models to highlight the strengths and limitations of your approach in relation to existing methodologies.

Modeling Algorithms:

1. The section titled "Modeling Algorithms" should be renamed to "Methods and Materials" to align with standard academic conventions.

2. Additionally, within this section, include a detailed subsection that thoroughly explains the methodology of the study. This should cover how each machine learning model (SVM, XGBoost, CatBoost, BPANN) is implemented, the data collection, data preprocessing steps, feature selection, model architecture, model training and testing . performance metrics and any other relevant aspects of the experimental setup.

3. Within the "Methods and Materials" section, for each machine learning algorithm used, provide a detailed explanation of why the selected model is the best choice for this study. Include supporting evidence from relevant literature or prior research that demonstrates the model's effectiveness in similar contexts.

4. For each machine learning algorithm used in the study, please include a visual representation (e.g., flowchart or diagram) of the algorithm’s implementation.

RESULTS AND DISCUSSION

1. The Results and Discussion section should focus on how the results relate to the hypothesis presented at the start of the study. It should provide a succinct explanation of the implications of the findings, particularly in relation to previous related studies. The detailed methodology, including Data Collection, Data Preprocessing, Feature Engineering, model training and OPtimization should be moved to the Methods and Materials section, as these describe the process rather than the outcomes. Please revise the manuscript to reflect this distinction.

2. Clarify the source of the dataset more explicitly. The mention of "UCI machine learning library" is sufficient, but you should also include the specific version or year to ensure reproducibility.

3. Please add a statistical metrics table (such as mean, standard deviation, etc.) to support the data analysis and provide a clearer summary of the key data characteristics.

4. Mention why SMOTE was chosen for addressing class imbalance and justify this choice with a brief explanation of its advantages.

5. It would be useful to explain why the threshold for variance filtering and mutual information was set to 0.05 and 0.05 respectively.

6. Clarify the performance metrics used (e.g., ROC AUC, accuracy, recall) and why they are important in assessing model performance.

7. Consider discussing the trade-offs between model accuracy and model interpretability.

8. Include more details on the comparison metrics for the models.

9. Provide clearer interpretations of results in Table 2 and Figure 3.

10. Add more context to the practical implications of feature importance analysis. How should companies act on these insights beyond the optimization suggestions?

11. The section on marketing strategy optimization seems theoretical. Provide examples or case studies where these strategies have been successfully implemented, or reference studies to support these suggestions.

12. Clarify the methodology used to optimize personalized recommendations, dynamic pricing, etc.

Conclusion and Prospect

1. The section can be renamed as "Conclusion and Future Scope".

2. The conclusion appropriately summarizes the key findings but could benefit from clearer connections to the research questions and hypotheses stated earlier in the paper. Emphasize how the findings align with the initial objectives of the study.

3. The suggestion to introduce additional data types such as social media behavior and geolocation is insightful but could be expanded. Explain how incorporating these data types could enhance model performance, and provide examples of their potential impact on prediction accuracy.

4. The mention of combining deep learning or reinforcement learning is promising. However, it would be beneficial to elaborate on how these advanced techniques could be integrated into the current model framework, and what challenges might be encountered when doing so.

5. The term "real-time decision optimization" could be clarified. It would be useful to specify which specific real-time applications, such as personalized recommendations, dynamic pricing, or user loyalty management, could benefit from the improved model.

6. The future scope mentions incorporating emerging technologies but should also emphasize how future work could address the limitations or gaps identified in the current study. This could include areas for refinement in model performance or alternative strategies to overcome challenges observed.

Reviewer #3: 1- In marketing we need to study about 4Ps at least ....what about product and placing data ? have you consider such a parameters in your modeling ?

2-Authers must put data collection as section two and make the results and discussion section four and methodology as a section three.

3-The literature review is very limited and need to be extended to include several other researches published in 2023-2024.

4-The methodology modeling flowchart is not presented and need to be added for the readers benefits.

5-The discussion is very shallow and need to be extended with other feature dimensions.

Reviewer #4: The manuscript titled “Application of Machine Learning in Predicting Consumer Behavior and Precision Marketing” addresses a highly relevant topic for today’s digital economy. The comparative evaluation of machine learning models—SVM, XGBoost, CatBoost, and BPANN—adds value by providing insights into consumer behavior prediction. The study’s feature importance analysis and its practical suggestions, such as personalized recommendations and dynamic pricing, are particularly noteworthy. That said, there are areas where the paper could be improved to enhance clarity, depth, and overall impact.

Clarify the research gap and intent in the introduction. While the introduction highlights the broader issues of consumer behavior and precision marketing, it does not clearly identify the specific research gap this study addresses. What problem in consumer behavior prediction does this work solve that others have not? Additionally, the paper needs a sharper focus on its novelty. For instance, what makes this comparison of models unique in the current landscape of machine learning applications? Explicitly stating these elements will position the study more clearly and strengthen its contribution.

Add a dedicated literature review section. Currently, there is no structured discussion of prior research, which makes it difficult to understand the groundwork that led to this study. A literature review should summarize recent advancements in machine learning for marketing, highlight key works, and point out gaps that justify the need for this research. Make sure to include references to recent studies from 2023 and 2024, as the field of machine learning and marketing is evolving rapidly. This will not only make the paper more current but also situate it within the broader academic conversation.

Include a clear methodology section before modeling. The paper jumps into describing the models without providing a proper methods section. This section should outline the research design, the choice of models, and why these specific techniques (SVM, XGBoost, CatBoost, BPANN) were chosen over alternatives like LightGBM or Random Forest. Additionally, elaborate on preprocessing decisions, such as feature selection, handling imbalanced data with SMOTE, and outlier removal. Providing detailed justifications here will improve the paper’s reproducibility and transparency.

Develop a discussion section to interpret the results. The results section does a good job of presenting the model performance and feature importance analysis, but it lacks a deeper discussion. Explain why CatBoost and XGBoost outperformed other models—what aspects of these techniques make them more suitable for handling complex e-commerce data? Also, compare your findings with similar works done in this area to highlight alignment or differences. To make this section more engaging for practitioners, consider incorporating feedback from real-life e-commerce marketers to frame the results in terms of their business impact, such as ROI improvement or customer segmentation strategies.

Add a limitations and implications section. It’s important to acknowledge the limitations of the study, such as the use of a static dataset that may not capture the dynamic nature of consumer behavior. Discuss how this could affect the results and what steps can be taken to address it in future research. On the implications side, connect the findings to practical applications—how can businesses use these models to improve marketing outcomes? This section would be particularly valuable for bridging the gap between research and industry practice.

Conclude with a strong conclusion section. The paper ends abruptly without summarizing the key findings or outlining future directions. A clear conclusion should highlight the main contributions of the study, such as the performance of CatBoost and XGBoost, and their potential for e-commerce applications. It should also suggest future work, like exploring deep learning approaches, real-time data analysis, or expanding the dataset to include other industries and consumer segments.

Consider integrating a theoretical framework. The study would benefit from being grounded in a marketing or behavioral theory to connect the findings to a broader context. For example, frameworks like Behavioral Economics (decision-making) or Customer Relationship Management (CRM) could add depth to the study. This would elevate the paper’s academic value and provide readers with a stronger conceptual understanding of the work.

Minor refinements for clarity and engagement. While the paper is generally clear, there are areas where the writing could be polished for better flow and readability. For instance, some figures and tables could benefit from more descriptive captions to help readers quickly understand the takeaways. Additionally, improving the grammar and refining terminology (e.g., "administrative pages") would make the paper more professional and accessible.

In summary, this paper tackles a critical and timely issue in precision marketing and demonstrates the value of machine learning models in predicting consumer behavior. The comparative analysis and practical insights are strengths of the study. To further improve its quality, I recommend clarifying the research gap, adding a literature review and methodology section, developing a robust discussion, and including practical business perspectives. With these refinements, the paper will be far more impactful for both academic researchers and industry professionals

**********

6. PLOS authors have the option to publish the peer review history of their article (what does this mean? ). If published, this will include your full peer review and any attached files.

If you choose “no”, your identity will remain anonymous but your review may still be made public.

Do you want your identity to be public for this peer review? For information about this choice, including consent withdrawal, please see our Privacy Policy .

Reviewer #1: No

Reviewer #2: No

Reviewer #3: No

Reviewer #4: No

**********

[NOTE: If reviewer comments were submitted as an attachment file, they will be attached to this email and accessible via the submission site. Please log into your account, locate the manuscript record, and check for the action link "View Attachments". If this link does not appear, there are no attachment files.]

While revising your submission, please upload your figure files to the Preflight Analysis and Conversion Engine (PACE) digital diagnostic tool, https://pacev2.apexcovantage.com/ . PACE helps ensure that figures meet PLOS requirements. To use PACE, you must first register as a user. Registration is free. Then, login and navigate to the UPLOAD tab, where you will find detailed instructions on how to use the tool. If you encounter any issues or have any questions when using PACE, please email PLOS at figures@plos.org . Please note that Supporting Information files do not need this step.

PLoS One. 2025 May 6;20(5):e0321854. doi: 10.1371/journal.pone.0321854.r003

Author response to Decision Letter 1


11 Jan 2025

Dear reviewers:

Thank you very much for reviewing our paper and your valuable suggestions. Your feedback is important for us to improve our work. We have carefully studied your comments and made detailed revisions to the paper based on your suggestions. Below are the responses to the specific questions and the description of the revisions.

Once again, we thank you for the time and effort you have put into our research and look forward to your further guidance!

Reviewer #1:

1. Originality

While some aspects show promise, it does not sufficiently demonstrate groundbreaking insights. The claims, while relevant, need further validation to establish originality and significance.

Author response: We recognize that although this study has made progress in predicting consumer behavior, it has not yet fully highlighted its originality. Therefore, in the introduction and conclusion, we further emphasize the innovation of this study, especially its advantages in processing large-scale and complex e-commerce data.

2. Technical Soundness

The manuscript employs specific methods or techniques, which seem appropriate on a surface level. However, the link between the data and conclusions lacks robustness. Some areas need clarification, especially in how findings directly support the stated outcomes.

Author response: We have further clarified how the data directly supports Model selection and conclusions in section 3.4 Model performance evaluation and comparison, and added a detailed comparison and discussion of the performance of individual models.

3. Main Claims and Significance

The primary claims potentially impactful, their significance for the discipline is moderate. The work but does not convincingly position itself as transformative within the field.

Author response: In the conclusion, we strengthen the paper's transformative discussion of precision marketing, especially its practical application and commercial value in the field of e-commerce.

4. Relationship to Literature

The paper demonstrates familiarity with existing literature but falls short in thoroughly contextualizing its contribution. These omissions detract from the paper's credibility and integration into the wider academic discourse.

Author response: We have strengthened the literature review in the introduction, and clearly pointed out the difference between this study and the existing literature, emphasizing its innovation.

5. Placement of Claims in Literature Context

The claims are not adequately framed within the context of existing literature. For instance, specific claim could be better supported by referencing to significant work. The discussion occasionally seems disconnected from the broader field.

Author response: We added additional citations to further compare the claims of this study with those in the existing literature.

6. Statistical Analysis

Statistical methods, including the analysis techniques, are employed but lack detailed explanation. The justification for the statistical choice is insufficient, and key assumptions are not thoroughly addressed. A more rigorous and transparent presentation of the analysis is needed to substantiate claims.

Author response: We have elaborated on the selection of statistical methods in section 3.4 Model performance evaluation and comparison, and explained how to evaluate model performance by multiple evaluation metrics (such as ROC AUC, accuracy, recall rate).

7. Potential for Resubmission

Despite its current shortcomings, the study has potential. Encouraging the authors to resubmit with revisions could elevate the work's quality and impact.

Author response: We have revised the paper based on the comments of the reviewers, especially in terms of data transparency, methodological clarity and literature integration, to ensure that the paper can better meet the publication criteria.

8. Data Availability

The paper does not clearly confirm that all underlying data are accessible. Transparent data sharing, including detailed datasets, would enhance the reproducibility and credibility of the findings.

Author response: We have added a data accessibility statement to the paper to ensure readers understand how to access research data.

9. Repository Information

No explicit mention is made of depositing data in public repositories. Providing accession numbers or repository links for specific data elements (e.g., genes, proteins, or other significant findings) is critical.

Author response: We have added a note about the data repository in the paper, providing specific information about the data storage.

10. Methodology

The methodology appears reasonably designed but lacks sufficient theoretical underpinning in some areas. Specific steps of methodology need clearer justification. Without this, reproducibility and confidence in the results are compromised.

Author response: We have added theoretical support for each method step in the methodological section and described each key step in the experimental process in more detail.

11. Reproducibility

Details of the methodology are insufficient to ensure reproducibility. Key parameters are omitted or underexplained.

Author response: We list all the important experimental parameters in detail in the methodological section and further explain the basis for their selection.

12. Results

The results section is descriptive but occasionally unclear. Graphs and tables, while helpful, would benefit from additional commentary to elucidate their connection to the hypotheses and conclusions.

Author response: We have added more notes and explanations to the results section to ensure that the meaning of each chart and table helps readers better understand the relationship to the hypotheses and conclusions.

13. Implications for Research, Practice, and Society

The paper briefly touches on its implications but does not fully explore their relevance to research, practice, or society. Expanding on these would strengthen its practical and theoretical contributions.

Author response: In the conclusion, we have expanded the implications of the paper for research, practice, and society, especially its implications for the e-commerce industry, precision marketing, and consumer behavior prediction.

14. Quality of Communication

The writing is technically accurate but lacks clarity in some areas. Sentence structure and jargon usage occasionally hinder accessibility. Simplifying language without sacrificing technical precision would improve communication.

Author response: We have simplified and rewritten some sentences in the paper, especially on technical terms and complex sentence structures, to improve readability and clarity.

15. Accessibility to Non-Specialists

The manuscript is primarily aimed at specialists, and non-specialists may find it difficult to engage with the content due to dense technical language and insufficient background context.

Author response: As suggested by the reviewers, we have simplified some technical terms and added more easy-to-understand explanations in the background section to ensure that non-specialist readers can understand the core content and applications of the research.

16. Standard English Usage

The manuscript generally adheres to standard English conventions but contains minor grammatical inconsistencies and awkward phrasing.

Author response: We have corrected grammatical inconsistencies and misphrasing in the paper and made sure that the sentences are more fluent.

17. Comments to the Author

• Ensure all data and methodologies are transparently presented to facilitate reproducibility.

• Address gaps in the literature review and align claims more closely with existing studies.

• Enhance clarity in the statistical analysis section, providing rationale and assumptions for methods used.

• Expand on the societal and practical implications of the research findings.

Author response: The paper demonstrates potential but requires substantial revision to meet publication standards. Key areas needing attention include data transparency, methodological clarity, and integration with existing literature. Encouraging a resubmission after thorough revision is recommended.

Reviewer #2:

ABSTRACT

1. Ensure all abbreviations in the abstract, such as SVM, XGBoost, CatBoost, and BPANN, are clearly defined upon first use for better readability and comprehension.

support vector machine (SVM), extreme gradient boosting (XGBoost), categorical boosting (CatBoost), and backpropagation artificial neural network (BPANN)

2. Include performance metrics like F1-score etc. in the abstract for better clarity and impact.

Relevant performance metrics such as F1 scores have been added to the summary to enhance the clarity and impact of the summary and help readers better understand the performance of the model.

3. "Future research can further enhance the predictive power..." - This statement is Author response: overly generic and uninspiring. Specify actionable directions for future research, such as incorporating unstructured data (e.g., text, images) or experimenting with deep learning models like Transformers for consumer behavior analysis.

In the revision, actionable research directions are clearly proposed, such as the introduction of unstructured data (such as text, images, etc.), and attempts to use deep learning models (such as Transformers) for consumer behavior analysis to further improve the model's predictive ability and marketing effect.

INTRODUCTION:

1. Please format citations in square brackets (e.g., “[19]”) as per the submission guidelines.

Author response: We have followed the submission Guidelines by formatting all references in square brackets (e.g., "[19]") to ensure compliance with formatting specifications.

2. “Consumer behavior has become increasingly complex and unpredictable..." - This sentence reiterates what is already mentioned in the abstract without adding new information. Use this space to provide detailed background or evidence, such as specific challenges faced by industries.

Author response: We have revised this sentence and provided more detailed background and specific industry challenges, avoiding duplication and adding more meaningful background information.

3. "Traditional marketing models are unable to effectively cope with this change..." - This statement lacks support. Briefly explain why traditional models fail. For example, are they too rigid, or do they lack adaptability to real-time data?

Author response: We have added more specific notes that illustrate the limitations of traditional marketing models, especially when dealing with real-time data and dynamic change.

4. Does not provide sufficient evidence or citations to justify the selection of the machine learning models (SVM, XGBoost, CatBoost, BPANN) over other alternatives. Including references to studies or benchmarks demonstrating the superior performance, efficiency, or suitability of these models for consumer behavior prediction tasks would strengthen the argument.

Author response: We add more literature support in the introduction, citing research on the superiority and applicability of these machine learning models for consumer behavior prediction tasks.

5. The introduction fail to address potential limitations, such as computational complexity, data quality issues, or overfitting risks. Discussing these would strengthen the credibility of your research.

Author response: We have added a discussion of the potential limitations of the study in the introduction, particularly with regard to computational complexity, data quality issues, and the risk of overfitting.

6. Replace vague terms like "significant impact" and "great potential" with specific examples, data points, or case studies to ground your claims in reality.

Author response: Use specific cases and data to replace the original vague statements, so as to enhance the practical and persuasive argument.

7. The stated research objective, "to explore how to optimize consumer behavior prediction and precision marketing through machine learning," lacks originality and does not sufficiently highlight the study's unique contribution. To strengthen this section, clearly articulate the research gap.

Author response: The objective of the study is reformulated, the unique contribution of this study is clarified, and the research gaps in the current literature are described.

8. Please provide a suitable comparison with other state-of-the-art models to highlight the strengths and limitations of your approach in relation to existing methodologies.

Author response: The model used in this paper is compared with other cutting-edge models, and the advantages and limitations of our model in e-commerce data processing are illustrated.

Modeling Algorithms:

1. The section titled "Modeling Algorithms" should be renamed to "Methods and Materials" to align with standard academic conventions.

Author response: The title of the "Modeling Algorithms" section has been changed to "Methods and Materials" as recommended by the reviewers to comply with academic writing norms.

2. Additionally, within this section, include a detailed subsection that thoroughly explains the methodology of the study. This should cover how each machine learning model (SVM, XGBoost, CatBoost, BPANN) is implemented, the data collection, data preprocessing steps, feature selection, model architecture, model training and testing. performance metrics and any other relevant aspects of the experimental setup.

Author response: We have detailed the research methodology in the "Methods and Materials" section, covering data collection, pre-processing, feature selection, model architecture, training and testing procedures, and performance evaluation metrics. The implementation steps for each machine learning model are also described in detail.

3. Within the "Methods and Materials" section, for each machine learning algorithm used, provide a detailed explanation of why the selected model is the best choice for this study. Include supporting evidence from relevant literature or prior research that demonstrates the model's effectiveness in similar contexts.

Author response: We have further explained the reasons for the selection of each model in the "Methods and Materials" section, and cited relevant literature on the validity and applicability of these models in predicting consumer behavior.

4. For each machine learning algorithm used in the study, please include a visual representation (e.g., flowchart or diagram) of the algorithm’s implementation.

Author response: Based on the suggestions of reviewers, we have provided simple illustrations for some machine learning algorithms to help readers understand more clearly how each algorithm works and how it is implemented.

RESULTS AND DISCUSSION

1. The Results and Discussion section should focus on how the results relate to the hypothesis presented at the start of the study. It should provide a succinct explanation of the implications of the findings, particularly in relation to previous related studies. The detailed methodology, including Data Collection, Data Preprocessing, Feature Engineering, model training and OPtimization should be moved to the Methods and Materials section, as these describe the process rather than the outcomes. Please revise the manuscript to reflect this distinction.

Author response: The detailed methodology, including data collection, data preprocessing, feature engineering, model training, and optimization should be moved to the methods and materials sections.

2. Clarify the source of the dataset more explicitly. The mention of "UCI machine learning library" is sufficient, but you should also include the specific version or year to ensure reproducibility.

Author response: We have supplemented the specific source information of the dataset, including the dataset version in the UCI machine learning library, to ensure reproducibility of the results.

3. Please add a statistical metrics table (such as mean, standard deviation, etc.) to support the data analysis and provide a clearer summary of the key data characteristics.

Author response: Statistical characteristics of the dataset are not presented further at this time, but we wil

Attachment

Submitted filename: Response to reviewers.docx

pone.0321854.s002.docx (33.6KB, docx)

Decision Letter 1

Evans Otieno Omondi

12 Mar 2025

Application of machine learning in predicting consumer behavior and precision marketing

PONE-D-24-55477R1

Dear Dr. Lin,

We’re pleased to inform you that your manuscript has been judged scientifically suitable for publication and will be formally accepted for publication once it meets all outstanding technical requirements.

Within one week, you’ll receive an e-mail detailing the required amendments. When these have been addressed, you’ll receive a formal acceptance letter and your manuscript will be scheduled for publication.

An invoice will be generated when your article is formally accepted. Please note, if your institution has a publishing partnership with PLOS and your article meets the relevant criteria, all or part of your publication costs will be covered. Please make sure your user information is up-to-date by logging into Editorial Manager at Editorial Manager®  and clicking the ‘Update My Information' link at the top of the page. If you have any questions relating to publication charges, please contact our Author Billing department directly at authorbilling@plos.org.

If your institution or institutions have a press office, please notify them about your upcoming paper to help maximize its impact. If they’ll be preparing press materials, please inform our press team as soon as possible -- no later than 48 hours after receiving the formal acceptance. Your manuscript will remain under strict press embargo until 2 pm Eastern Time on the date of publication. For more information, please contact onepress@plos.org.

Kind regards,

Evans Otieno Omondi, PhD

Academic Editor

PLOS ONE

Additional Editor Comments (optional):

Reviewers' comments:

Reviewer's Responses to Questions

Comments to the Author

1. If the authors have adequately addressed your comments raised in a previous round of review and you feel that this manuscript is now acceptable for publication, you may indicate that here to bypass the “Comments to the Author” section, enter your conflict of interest statement in the “Confidential to Editor” section, and submit your "Accept" recommendation.

Reviewer #2: All comments have been addressed

Reviewer #3: All comments have been addressed

**********

2. Is the manuscript technically sound, and do the data support the conclusions?

The manuscript must describe a technically sound piece of scientific research with data that supports the conclusions. Experiments must have been conducted rigorously, with appropriate controls, replication, and sample sizes. The conclusions must be drawn appropriately based on the data presented.

Reviewer #2: Yes

Reviewer #3: Yes

**********

3. Has the statistical analysis been performed appropriately and rigorously?

Reviewer #2: Yes

Reviewer #3: Yes

**********

4. Have the authors made all data underlying the findings in their manuscript fully available?

The PLOS Data policy requires authors to make all data underlying the findings described in their manuscript fully available without restriction, with rare exception (please refer to the Data Availability Statement in the manuscript PDF file). The data should be provided as part of the manuscript or its supporting information, or deposited to a public repository. For example, in addition to summary statistics, the data points behind means, medians and variance measures should be available. If there are restrictions on publicly sharing data—e.g. participant privacy or use of data from a third party—those must be specified.

Reviewer #2: Yes

Reviewer #3: Yes

**********

5. Is the manuscript presented in an intelligible fashion and written in standard English?

PLOS ONE does not copyedit accepted manuscripts, so the language in submitted articles must be clear, correct, and unambiguous. Any typographical or grammatical errors should be corrected at revision, so please note any specific errors here.

Reviewer #2: Yes

Reviewer #3: Yes

**********

6. Review Comments to the Author

Please use the space provided to explain your answers to the questions above. You may also include additional comments for the author, including concerns about dual publication, research ethics, or publication ethics. (Please upload your review as an attachment if it exceeds 20,000 characters)

Reviewer #2: Abstract:

Clearly highlight the novel insights compared to past studies.

Introduction:

Clearly define your primary research questions or hypotheses upfront to guide the readers through the manuscript clearly and effectively.

Modeling Algorithms:

Explicitly justify why deep learning methods (such as CNN or RNN) were not included in your comparative analysis, given their prominence in recent literature on consumer behavior prediction.

Clearly articulate the rationale behind selecting the RBF kernel for SVM, and briefly discuss why alternative kernels (linear, polynomial) were not suitable or selected.

Dataset Presentation:

Provide a detailed table clearly describing all dataset features, including feature type, detailed descriptions, and value ranges. This will significantly enhance the manuscript's clarity and reproducibility.

Efficiency and Scalability:

Explicitly present details regarding computational resources (runtime, CPU/GPU requirements, memory usage) for each machine learning model.

Clearly suggest practical scenarios and explicit limitations when deploying these machine learning models at large-scale or real-time contexts.

Minor Recommendations:

Correct typographical errors, such as labeling inaccuracies (e.g., correcting Fig. 1 from "SWM" to "SVM").

Enhance readability by reducing repetitive content and maintaining consistent terminology throughout the manuscript.

Reviewer #3: no further comments; the manuscript was revised accordingly. Now the manuscript can be considered for publication

**********

7. PLOS authors have the option to publish the peer review history of their article (what does this mean? ). If published, this will include your full peer review and any attached files.

If you choose “no”, your identity will remain anonymous but your review may still be made public.

Do you want your identity to be public for this peer review? For information about this choice, including consent withdrawal, please see our Privacy Policy .

Reviewer #2: No

Reviewer #3: No

**********

Acceptance letter

Evans Otieno Omondi

PONE-D-24-55477R1

PLOS ONE

Dear Dr. LIN,

I'm pleased to inform you that your manuscript has been deemed suitable for publication in PLOS ONE. Congratulations! Your manuscript is now being handed over to our production team.

At this stage, our production department will prepare your paper for publication. This includes ensuring the following:

* All references, tables, and figures are properly cited

* All relevant supporting information is included in the manuscript submission,

* There are no issues that prevent the paper from being properly typeset

If revisions are needed, the production department will contact you directly to resolve them. If no revisions are needed, you will receive an email when the publication date has been set. At this time, we do not offer pre-publication proofs to authors during production of the accepted work. Please keep in mind that we are working through a large volume of accepted articles, so please give us a few weeks to review your paper and let you know the next and final steps.

Lastly, if your institution or institutions have a press office, please let them know about your upcoming paper now to help maximize its impact. If they'll be preparing press materials, please inform our press team within the next 48 hours. Your manuscript will remain under strict press embargo until 2 pm Eastern Time on the date of publication. For more information, please contact onepress@plos.org.

If we can help with anything else, please email us at customercare@plos.org.

Thank you for submitting your work to PLOS ONE and supporting open access.

Kind regards,

PLOS ONE Editorial Office Staff

on behalf of

Dr. Evans Otieno Omondi

Academic Editor

PLOS ONE

Associated Data

    This section collects any data citations, data availability statements, or supplementary materials included in this article.

    Supplementary Materials

    Attachment

    Submitted filename: Response to reviewers.docx

    pone.0321854.s002.docx (33.6KB, docx)

    Data Availability Statement

    The data used in this study is from the publicly available dataset Online Shoppers Purchasing Intention Dataset (version: 2016), which comes from the UCI Machine Learning Library. link: https://archive.ics.uci.edu/ml/datasets/ Online+Shoppers+Purchasing+Intention+Dataset


    Articles from PLOS One are provided here courtesy of PLOS

    RESOURCES