DOI 10.1038/s41598-025-18222-4
Machine learning models to identify significant factors of panic buying situation.
Аннотация
In panic-buying situations, individuals suddenly purchase excessive quantities of goods, leading to a massive crisis of essential goods in the market. As a result, many consumers cannot access the required products, creating an unstable societal situation. Despite the importance of this issue, only limited research has focused on providing automated solutions for detecting panic-buying behavior. This work proposes a machine learning-based model to predict panic-buying behavior, evaluate the outcomes of classifiers, interpret the classification results, and identify relevant factors for this situation. In this work, we collected customer purchasing records of COVID-19 from a public repository1. This primary dataset was preprocessed and generated several SMOTE variants. Multiple feature selection methods were employed on these balanced datasets to create feature subsets. A range of state-of-the-art classifiers was then applied to each balanced dataset, both with and without fine-tuning, to explore the best classification algorithm. The post-hoc statistical significance test, the Friedman test, was conducted to validate classifiers performance. Furthermore, an explainable AI method was employed to interpret the top-performing models and uncover the key factors to generate these results. After observing the outcomes of classifiers for each balanced variant, Gradient Boosting and its advanced variants consistently outperform other models, demonstrating robustness and stability in detecting panic-buying behaviors.
Другие публикации по теме
Перевод полного текста: Перевод в очереди
Полный текст источника
https://creativecommons.org/licenses/by-nc-nd/4.0/ Open Access This article is licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License, which permits any non-commercial use, sharing, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons licence, and indicate if you modified the licensed material. You do not have permission under this licence to share adapted material derived from this article or parts of it. The images or other third party material in this article are included in the article’s Creative Commons licence, unless indicated otherwise in a credit line to the material. If material is not included in the article’s Creative Commons licence and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this licence, visit http://creativecommons.org/licenses/by-nc-nd/4.0/ .
Introduction
Different financial crises have significantly degraded people’s lifestyles and affected the economic conditions worldwide. One critical behavioral response during such uncertainty periods is panic-buying 2 , when people abruptly purchase large amounts of goods driven by fear, anxiety, and the anticipation of scarcity. This phenomenon 3 is often triggered by emergencies such as natural disasters, armed conflicts, pandemics, supply chain disruptions, social influence, political unrest, etc. These critical events erode public trust in the availability of goods, leading consumers to quickly reserve large quantities of food, water, sanitation products, and medicines. A few years ago, the rapid spread of COVID-19 triggered widespread panic-buying episodes in many regions around the world 4 . The mass and uncoordinated purchase of items disrupted supply chains, inflated prices, and disproportionately impacted low-income and marginalized communities. These populations often lack the financial means to stockpile necessities, resulting in limited access to essential supplies in emergencies. Panic-buying also contributes to artificial scarcity, where dishonest and opportunistic traders hoard goods and engage in price gouging, accelerating inflation and market instability 5 . In extreme conditions, this leads to malnutrition, long-term food insecurity, increased illness and mortality, particularly in areas with fragile public health infrastructure. Beyond economic and physical harm, panic-buying also has profound social consequences. It undermines social cohesion and fuels community conflict by fostering mistrust, individualism, and fear 6 . During such crises, it is common to hear about thefts, fights, and violence over essential goods, hindering governmental efforts to maintain peace and further disrupting public order.
Public awareness of panic buying is essential to fostering consumer behavior, especially in emergencies. Educational programs, awareness campaigns, and motivational activities encourage individuals to buy regularly, preventing unnecessary stockpiling. However, the effectiveness of these strategies is limited, as they are challenging to implement and sustain on a large scale. To overcome these limitations, data-driven solutions, particularly machine learning techniques, effectively monitor market conditions and abnormal purchasing patterns 7 , 8 . However, only a few studies have explored AI-based solutions. Adulyasak et al. 9 proposed a framework for detecting panic-buying anomalies and introduced a prescriptive simulation tool to optimize the distribution of essential goods in uncertain times. Ramesh and Banerjee 10 explored the intersection of AI and panic-buying, suggesting future directions in this area. Despite these technological advancements, the application of AI remains underexplored in addressing this issue. Therefore, a comprehensive AI-based framework is needed to predict panic-buying behavior and facilitate real-time decision-making for inventory management, resource allocation, and communication strategies.
This work proposes a machine learning-based framework to predict panic-buying scenarios by investigating customer purchase patterns. The process begins with comprehensive data preprocessing, where the primary dataset is cleaned to remove noise, missing values, and duplicates. Various resampling techniques are applied to generate several balanced datasets. Different feature selection methods are employed to extract relevant feature subsets from each balanced variant. Subsequently, a range of widely used machine learning classifiers is implemented on the original dataset, its balanced versions, and their feature subsets for evaluating predictive performance, both with and without hyperparameter tuning. Based on the classification results, the best-performing algorithm is effectively identified across each balanced dataset. The post-hoc significance test is also used to assess the statistical relevance of the results and rank classifiers according to their performance on each dataset. Furthermore, an Explainable AI (XAI) approach is applied to interpret key features’ influence, providing the best-performing model’s transparency. Finally, the most stable and consistent classifiers are highlighted, providing valuable insights for analyzing panic-buying behavior across diverse and related datasets. The proposed model supports optimizing supply chains, efficient inventory management, and ensuring the availability of essential goods during crises. Additionally, the model can serve as a real-time alert system for both authorities and the population, forecasting potential shortages and enabling proactive interventions to mitigate the effects of this problem effectively. The capability of this model is especially valuable in emergency scenarios such as pandemics, natural disasters, and geopolitical instability, when timely decisions are critical. The key contributions of this work are summarized as follows: Development of a machine learning framework to predict and investigate panic-buying behavior based on customer purchase data. Implement data balancing and feature selection techniques to improve classification performance and model generalizability. Comprehensive utilization of various classifiers with and without hyperparameter tuning on both balanced datasets, along with their feature subsets. Employment of a post-hoc statistically significant test to verify the top-performing classifier and rank them according to performance. Application of XAI to interpret model decisions and identify the most influential features driving panic-buying behavior. Recommendation of the most stable classifiers for behavioral analysis in diverse real-world datasets. Proposed a generalized decision support system to enable advanced analytical insights and assist stakeholders, such as retailers, policymakers, and supply chain managers, in anticipating demand spikes and preventing shortages during crises. The remainder of this paper is organized as follows: Sect. 2 provides an overview of the data balancing, feature selection, classification algorithms, and follow-up analysis in this study. Then, Sect. 3 outlines the proposed methodology, describes the primary data and evaluation metrics. Sect. 4 presents experimental outcomes, in-depth analysis, verification of classifiers’ performance, and interpretation of the findings using an XAI approach. The most stable and high-performing classifier is also identified, demonstrating its effectiveness in analyzing diverse structured data and anticipating panic-buying scenarios. Finally, Sect. 5 concludes the key findings of the study and suggests potential directions for future research.
Materials and methods
The proposed machine learning model integrates various data analytics techniques, including data balancing methods, feature selection approaches, classification algorithms, hyperparameter tuning, non-parametric statistical significance testing, and XAI methods, to analyze and identify the crucial factors driving panic-buying behavior. A brief description of each technique is provided below:
Data balancing
Data balancing is a resampling or augmentation technique used to address class imbalance, where one or more classes are underrepresented compared to others. In panic-buying scenarios, many people abnormally purchase various kinds of products, while others cannot. Thus, the records from these respondents are usually imbalanced in terms of panic-buying behaviors. In this work, several methods were employed to ensure a more uniform class distribution, as described below: Synthetic Minority Over-sampling Technique (SMOTE) 11 – 13 is a widely used method for addressing class imbalance by generating synthetic samples for the minority class. This helps to equalize class distributions and improve the performance of classification algorithms. Given a dataset D with n samples, where \documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$n_{minor}$$\end{document} and \documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$n_{major}$$\end{document} denote the number of minority and majority class samples, respectively. The sampling rate N is determined based on the degree of class imbalance. For the minority class instance \documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$x_i$$\end{document} , SMOTE selects k nearest neighbours using the Euclidean distance and creates new synthetic instances by interpolating between \documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$x_i$$\end{document} and its selected neighbors. Random Undersampling (RUS) 11 reduces the number of samples in the majority class to equalize with the minority class. It begins by calculating the sample difference \documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$n_{differ}$$\end{document} between two classes. Then, \documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$n_{differ}$$\end{document} samples are randomly selected and removed from the majority class without replacement to achieve class balance. Edited Nearest Neighbors (ENN) 14 is an undersampling method that diminishes the majority class samples to achieve class balance. For each instance \documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$x_i$$\end{document} , this method selects its k nearest neighbors using Euclidean distance. If \documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$x_i$$\end{document} is misclassified based on the class labels of its neighbors, it is deemed a noisy or unreliable sample and is removed from the dataset. This process is repeated for all samples until it produces a clean and informative dataset. Tomek Links (TL) 14 aims to enhance data quality by eliminating ambiguous sample pairs that lie near class boundaries. Let \documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$x_i$$\end{document} and \documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$y_i$$\end{document} be two samples from different classes \documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$(y_i \ne y_j)$$\end{document} , where \documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$x_j$$\end{document} is the nearest neighbor of \documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$x_i$$\end{document} . If this pair forms a Tomek Link, it indicates that the samples lie close to the decision boundary and may lead to classification errors. Such borderline pairs are removed from the dataset to reduce overlap between classes, leaving only the more clearly defined samples. The study used a combination of SMOTE and other undersampling methods, such as RUS, ENN, and TL, to address class imbalance in this dataset. SMOTE-RUS incorporates oversampling and undersampling, where SMOTE first generates synthetic examples for the minority class by interpolating existing instances and their nearest neighbors. Subsequently, RUS randomly removes samples from the majority class to balance the dataset. Similarly, SMOTE-ENN integrates SMOTE’s synthetic data with ENN’s filtering mechanism, which eliminates misclassified or noisy instances based on their neighborhood consistency. Additionally, SMOTE-TL assembles the SMOTE and TL methods, where SMOTE generates synthetic minority class samples and TL identifies nearest neighbor pairs of instances from different classes. These ambiguous pairs are removed to improve class separability and reduce the risk of misclassification.
Feature selection methods
Various feature selection methods of distinct characteristics can be used to identify significant features for investigating and categorizing instances more precisely. In this work, several approaches, including Chi-square Feature Selection (CFS), Mutual Information Gain (MIG), Recursive Feature Selection (RFE), and Select From Model (SFM), are used to investigate panic-buying scenarios by following diverse methodologies. These methods are described briefly as follows: CFS 15 is a statistical method that uses to evaluate the dependency between categorical input features and the target class. It measures how the observed feature values deviate from the expected values under the independence assumption. A high chi-square score indicates a strong association between the feature and the class label, suggesting that the feature is informative and retained for model training. Conversely, features with low scores are likely to be statistically independent of the target and may be excluded to reduce dimensionality and improve model performance. MIG 16 measures the dependency between a feature and the target variable in categorical and continuous data. It utilizes information theory to quantify the amount of shared information between a feature and the target variable. In this process, each feature’s entropy represents its unpredictability, while the joint entropy measures the combined uncertainty of the feature and the target. MIG is used to assess the unique contribution of each feature to predict the target and identify the most informative variables. It helps to reduce the dimensionality of the data to improve model performance. RFE 17 is a wrapper-based feature selection method that systematically identifies relevant features by evaluating their impact on a specified machine learning model’s performance. Given a dataset with m features and n instances, and a feature subset \documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$S_i$$\end{document} , RFE trains model M using \documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$S_i$$\end{document} and investigates the performance using evaluation metrics (e.g., accuracy, mean squared error (MSE), or the area under the curve (AUC)). The method eliminates the least essential features from \documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$S_i$$\end{document} based on the model’s evaluation results, iteratively refining the subset to determine the optimal set of predictive features. Select From Model (SFM) 18 is a meta estimator that detects the essential features based on the given threshold. Given a training dataset D with n instances and m attributes, and M machine learning models, the method begins by training M with D and determining feature importance \documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$I(X_i)$$\end{document} for each feature \documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$X_i$$\end{document} . A threshold value T is then defined, and features with importance scores \documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$I(X_i) \ge T$$\end{document} are retained, while those below the threshold are discarded. Therefore, the final feature subset S consists of the most relevant features determined by the model’s learned importance values.
Classification models
To handle the complexity, structure, and heterogeneity of the survey instances, diverse widely used classifiers such as Logistic Regression (LR), Decision Tree (DT), Support Vector Classification (SVC), Bagging, Random Forest (RF), Adaptive Boosting (AdaBoost), Gradient Boosting, Extreme Gradient Boosting (XGBoost), Categorical Boosting (CatBoost), and MultiLayer Perceptron (MLP) are employed. The survey data, like panic-buying behavior analysis, these classifiers are standard in many research settings, especially when the aim is classification or prediction based on structured tabular data. They also show their unique assumptions that help to identify which one best fits the data structure and problem, which are described as follows: LR 15 , 19 provides the relationship between the input features and the dependent variable by employing the sigmoid function. Let f ( x ) be the model expressed as a linear combination of the input features \documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$x_1,x_2,..........,x_n$$\end{document} with associated coefficients \documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$\beta _0, \beta _1,...........,\beta _n$$\end{document} . The resulting model is defined using the sigmoid function as follows: 1 \documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$\begin{aligned} p(x)=\frac{1}{1+e^{-f(x)}}=\frac{1}{1+e^{-\left( \beta _0+\beta _1 x_1+\beta _2 x_2+\ldots +\beta _n x_n\right) }} \end{aligned}$$\end{document} LR optimizes the coefficients and maximizes the likelihood of the observed data. After training, the model predicts the probability p ( x ) and applies a classification threshold (typically 0.5) to assign instances into one of the two classes. It is interpretable and straightforward for both binary and multi-class classification, making it a strong baseline for predicting survey outcomes such as panic buying. DT 20 consists of nodes and edges, where each node provides a decision based on a specific feature, and each edge represents the outcomes of that decision. It begins with a root node and branches through the internal nodes until it reaches leaf nodes. At each internal node, a decision rule splits the data into subsets based on the values of the feature. This process continues recursively until the stopping condition is met. The leaf nodes represent the classification outcomes for the instances. It is easy to interpret and handle both numerical and categorical features of tabular data, like panic buying. SVC 15 maximizes the margin between the closest data points of different classes, known as support vectors. This line acts as a decision boundary to classify new, unseen data points. SVC is effective for both linear and non-linear data by identifying the optimal hyperplane. Also, it is more robust to outliers and capable of modeling complex decision boundaries. Different types of kernels are used to handle the classification tasks of SVC, where Radial Basis Function (RBF) is the default kernel . Therefore, it performs well in high-dimensional spaces, making it suitable for survey data with numerous features, such as the analysis of panic buying behavior. Bagging 15 assembles multiple base classifiers to reduce variance and overfitting, enhancing generalization performance. It creates several bootstrap samples from the original data and trains a base classifier on each of them. To predict a new data point, Bagging aggregates the predictions of all base classifiers, averaging their outcomes to improve the reliability for small-sample targets. According to numerous studies, Bagging is a widely used algorithm to investigate simple tabular data, such as panic buying; consequently, it is employed to predict such responses effectively and straightforwardly. RF 21 is a bagging algorithm that combines multiple decorrelated DTs to construct a robust predictive model. Unlike standard bagging, a key distinguishing feature of RF is the best splitting criterion, which is selected from a small set of random attributes at each internal node. Given a training dataset D with n instances and m features, RF generates multiple bootstrap samples. Then, it creates \documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$n_{tree}$$\end{document} DTs for each sample and randomly chooses k features to be considered for splitting at each node. The outputs of all DTs aggregate and obtain the final prediction through majority voting of these results. This algorithm is also widely used and has been proven to be better in many applications. Thus, analyzing survey data, such as panic buying behavior detection, is more feasible. AdaBoost 22 , 23 is an ensemble learning algorithm that integrates multiple weak learners like shallow trees, where all samples are trained with equal weights. Then, the weighted errors are calculated, and the sample weights are updated accordingly, giving more emphasis to misclassified instances. The final prediction is obtained by combining the predictions of all weak learners. This classifier is helpful for improving performance on complex examples and was identified to investigate panic buying data from a different perspective, along with other classifiers. GB 15 , 21 is a sequential boosting technique that builds an ensemble of weak learners by iteratively minimizing the loss function. It initializes the model with a constant value. In each iteration, a new weak learner is trained to approximate the loss function’s negative gradient, capturing the current model’s errors more effectively. The overall model progressively updates its accuracy by adding each learner with a scaled contribution. GB effectively handles structured or tabular data and captures non-linear relationships, making it well-suited for analyzing panic buying behavior patterns. XGBoost 21 is an optimized version of GB that ensembles weak learners and minimizes the errors of the loss function. In each iteration, this method uses GB to sequentially integrate weak learners, compute the negative gradient of the objective function, and train a new DT to correct errors. XGBoost also incorporates L1 regularization (Lasso) and L2 regularization (Ridge). Thus, it is faster, more accurate, handles missing values, prevents overfitting, and improves generalization. Moreover, XGBoost is well-suited for high-dimensional structured or tabular data, making it a practical choice for analyzing responses related to panic buying behavior. CatBoost 23 is another version of GB that uses an ordered boosting strategy to ensemble weak learners sequentially and handle categorical features without manual preprocessing. The objective function of CatBoost represents the weighted sum of the loss function and the regularization term, promoting both accuracy and generalization. It organizes the training data based on categorical features and calculates a numerical score for each category. It further improves accuracy and efficiency through advanced techniques, including ordered boosting, oblivious DTs, and dynamic binning, making it highly effective for structured datasets with mixed feature types. MLP 15 contains an input layer, at least one hidden layer, and an output layer. The Linear Threshold Unit (LTU) is the basic component of MLP, which receives an input vector \documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$\textbf{x}$$\end{document} containing n features and produces an output y . Each LTU computes a weighted vector \documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$\textbf{w}$$\end{document} and a bias term b , resulting in a linear combination z , producing output y through a nonlinear activation function a , as defined follows: 2 \documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$\begin{aligned} y=a(\textbf{w}^\top \textbf{x} + b)=a(z)=\left\{ \begin{array}{l} 0 \text{ if } z<0 \\ 1 \text{ if } z \ge 0 \end{array}\right. \end{aligned}$$\end{document} These operations are performed at each neuron in the network. The outputs of one layer serve as inputs to the next, allowing MLPs to model complex relationships between features and targets. The network is trained using backpropagation and gradient-based optimization (e.g., Adam or stochastic gradient descent) to minimize a loss function over the training data. MLPs can model complex nonlinear interactions better than linear models and perform well for large, high-dimensional structured datasets with proper tuning. Thus, it can be considered for panic-buying behavior analysis. The proposed model utilizes classifiers with hyperparameter tuning, where their parameters are optimized during the training process for classification. In this case, Grid Search with Cross-Validation (GSCV) is used, systematically searching for the best combination of hyperparameters for a given model. This model performs an exhaustive search over a specified parameter grid and evaluates each combination using cross-validation to determine the best-performing configuration.
Follow-up analysis
A post hoc significance test, called the Friedman Test, is employed to analyze the performance of classifiers. Also, an explainable AI model named SHapley Additive exPlanations (SHAP) is used to interpret the performance of the best model. These models are described briefly below. Friedman Test 24 is a non-parametric method used to detect statistically significant performance differences across multiple models on the same dataset or feature subsets or under similar conditions. It is commonly used in machine learning experiments to compare algorithms’ effectiveness by ranking each model’s outcomes for each test case. SHAP 25 is an advanced model interpretability technique that explains how each feature contributes to a model’s predictions. Based on game theory, it computes the marginal contribution and assigns an importance value to each feature, combining the average of all possible features. This method is used to understand both global behavior and individual predictions for transparency, trust, and debugging of machine learning models.
Experimental design
In this section, the proposed panic-buying prediction model, description of the experimental dataset, and the respective evaluation metrics to assess classification algorithms are provided below.
Proposed methodology
The working steps of the proposed panic-buying prediction model (see Figure 1 ) are described briefly as follows: Figure 1 Visualization of the workflow of the proposed methodology, where DSMOTE-RUS, DSMOTE-ENN, and DSMOTE-TL are generated using data balancing techniques. Classifiers with and without hyperparameter tuning are used to analyze these datasets and their feature subsets. Observing the results of classification and significant tests determines the best model to use for model interpretation.

Data Cleaning: The duplicate, missing, and wrong values should be checked. If any are found, they have to be removed or replaced with appropriate values. Data Balancing: To address class imbalance in the original dataset, various data balancing techniques such as SMOTE-RUS, SMOTE-ENN, and SMOTE-TL are applied. In this study, a significant difference exists between rapid buyers and non-buyers. Therefore, balanced datasets–DSMOTE-RUS, DSMOTE-ENN, and DSMOTE-TL–are generated from the primary panic-buying dataset (baseline). Employing Feature Selection Techniques: Different feature selection methods, including CFS, MIG, RFE, and SFM, are employed on DSMOTE-RUS, DSMOTE-ENN, and DSMOTE-TL and generate feature subsets for each dataset. Implementation of Classification Models: Two approaches, such as classification without and with hyperparameter tuning, are adopted to investigate balanced datasets and their respective feature subsets. Initially, these classifiers are employed on these datasets, keeping the default hyperparameters. Subsequently, hyperparameters are optimized using GSCV, and these classifiers are reapplied to the DSMOTE-RUS, DSMOTE-ENN, DSMOTE-TL, and their subsets. The best-performing classifier is determined based on the results from both approaches. The outcomes of classifiers are compared across each balanced dataset and its subsets. In this case, the optimized classifiers are considered the most feasible techniques for this analysis. Several metrics, including Accuracy, Precision, Recall, F1-Score, and Area Under the Receiver Operating Characteristic Curve (AUROC), are used to conduct this comparison. Friedman Test: Then, the post hoc significant testing method called the Friedman test is applied to justify optimized classification outcomes of each balanced dataset and its subsets. This test assesses these outcomes and ranks classifiers based on their performance for DSMOTE-RUS, DSMOTE-ENN, DSMOTE-TL, and their subsets, respectively. Explainable AI for Interpreting Model: To interpret the outcomes of the best classifier, an Explainable AI method such as SHAP is used to visualize significant features and distributions using the average magnitude bar plot and beeswarm plot for each balanced dataset and its feature subsets, respectively. This process is also helpful in identifying diverse significant factors (i.e., respondent characteristics, essential goods, and positive impacts) that contribute to accelerating panic buying behavior.
Evaluation metrics
The performance of each classifier is assessed using multiple metrics, including Accuracy, Precision, Recall, F-measure, and AUROC. These metrics are derived based on key components of the confusion matrix: True Positive (TP), False Positive (FP), False Negative (FN), and True Negative (TN) values. They are described as follows. Accuracy measures the proportion of correctly classified instances over the total number of data instances. It is calculated as follows: 3 \documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$\begin{aligned} Accuracy = \frac{(TP+TN)}{(TP+FP+TN+FN)} \end{aligned}$$\end{document} However, in cases of class imbalance, the highest accuracy alone may not be a reliable indicator of a classifier’s effectiveness. Precision refers to the ratio of the number of true positives and the total number of predicted positive instances. The following formula defines it: 4 \documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$\begin{aligned} Precision = \frac{TP}{TP+FP} \end{aligned}$$\end{document} Recall refers to the ratio of the number of true positives and the total number of actual positive instances. The following equation defines it: 5 \documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$\begin{aligned} Recall = \frac{TP}{TP+FN} \end{aligned}$$\end{document} F1-Score measures the harmonic means of precision and recall, which is defined as follows: 6 \documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$\begin{aligned} F-Measure = \frac{2 \times (Precision \times Recall)}{(Precision + Recall)} \end{aligned}$$\end{document} Area Under the Receiver Operating Characteristics Curve (AUROC) is defined as how well true positive classes are isolated from false positive classes. It is defined as follows: 7 \documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$\begin{aligned} AUROC=\frac{\text{ TP } \text{ rate }+ \text{ TN } \text{ rate }}{2} \end{aligned}$$\end{document}
Data description
We collected a dataset of Malaysian customer purchases in the COVID-19 period. During the rapid spread of these cases in Malaysia, the Government declared a nationwide two-week Movement Control Order (MCO). To investigate panic-buying behavior at this moment, Isa et al. 1 conducted an online survey with an open-ended questionnaire, reaching respondents throughout this country, including Sabah and Sarawak. This dataset comprises 300 observations, with 20 features, where panic buying is the dependent binary variable to detect this behavior. Other variables, including gender, age, ethnicity, religion, state, marital status, residential area, income, household size, out of home (OOH), way of eating, types of goods (i.e., primary items, healthcare, and hygienic products, foods, and beverages), opinions, emergency directive, positivity of COVID-19, and main buying center, respectively. The distributions of diverse variables are represented in various categories. The demographic profiles of respondent attributes are illustrated in Figure 2 , where most of the instances (60.67%) were collected from females, and 39.33% were gathered from males. Again, the maximum respondents were young adults aged 15-34 years, followed by middle-aged adults (35-44 years) and older adults (above 45). Married respondents (53.7%) were higher than single and divorced individuals, and most of them were coming from the city area, followed by the rural area (26.7%), and the suburban area (23%). In terms of income classification, the majority belonged to the B40 group (68%), followed by M40 (24.7%) and T20 (7.3%) groups, respectively. The maximum Malaysian households had 4 members (21.7%, or 65 households), followed by 5 members (18.3%), 3 members (14%), and 6 members (13.3%). Notably, only one household (0.3%) contained 20 members living under one roof. For panic buying cases, 269 responders did panic-buying during lockdown, while only 31 didn’t do it. Some variables, such as ethnicity, religion, and state, were not esteemed more significant in detecting panic buying behavior. Variables like OOH and the way of eating were also considered, while a large number of people (39.33%) went outside their homes once in two weeks, followed by people who went outside of their homes once a month (32.33%), once a week (16%), not at all (5.67%), 2.3 times a week (4%), and every day (2.67%), respectively. Furthermore, almost all respondents were preparing their food at home (96%), followed by 3% people buying food packages, and 1% people eating outside during the outbreak. Figure 2 Frequency distributions of the most important features, such as Gender, Age, Marital Status, Residential Area, Income, Household size, and Panic Buying, for organizing demographic profiles of the respondents. Figure 3 Distributions of various product categories during the panic buying period, including: ( a ) primary items after MCO, ( b ) care, health, and hygiene products, ( c ) dry food items, ( d ) wet food items, and ( e ) beverages. Additionally, ( f ) the distribution of buying centers is shown. The legend represents perceived importance: 1 = Not Important at All, 2 = Not Really Important, 3 = Important, 4 = Most Important.


The distributions of different types of goods are shown in Figure 3 during the panic buying period. The bars are segmented by a 4-point Likert scale (i.e., 1 = Not Important at All, 2 = Not Really Important, 3 = Important, 4 = Most Important). Figure 3 a shows primary goods in panic buying, where Medications, Wet food, Dry food, Clothes, and Hygiene represent essential products, while Vehicle addons, Electronics, and Kitchwares provide lower importance, respectively. Petrol is moderately distributed across all importance levels. On the other hand, Figure 3 b presents the Care, Health, and Hygiene Items where Masks, Sanitizer, Soap, Antiseptic, Tissue, Gloves, and Detergent show the most essential goods, and Skincare and Haircare have relatively lower importance in panic buying. Again, Figure 3 c shows Rice, Flour, Seasonings (Sugar and Salt), Sardin, and Milkmaid (Condensed milk) as highly important, where Dry cookies, Cooking oil, Fast food, and Sauce provide moderate importance; Junk food is given lower significance in the dry food category. Figure 3 d illustrates wet foods, where Fish, Chicken, Egg, Frozen food, and Minced meat obtain high importance, while Vegetables, Fruits, Onions, Potatoes, and Coconuts show of moderate significance. In terms of Figure 3 e, Freshmilk, Tea, Yogurt, Juice, and Mineral water are rated as highly important, while Energizers, Cordial (chocolate and malt), and drink packs are not considered essential. Carbo (Water conducive) and cordial show a relatively even distribution across importance levels. For buying centers, the highest products are purchased from supermarkets (43.7%), followed by grocery stores (32.0%). The least percentage, with 7.3% is the convenience store (see Figure 3 f). Also, opinions for traders in the COVID-19 distribution network, emergency directives, and positivity of COVID-19 are significant, especially for indicating the impact of COVID-19 in panic-buying cases.
Result and discussion
In this experiment, all of these works have been done in Google Colab, where various classifiers, including LR, DT, RF, Bagging, SVM, AdaBoost, GB, CatBoost, XGBoost, and MLP, were applied to the baseline and converted versions using 5-fold cross-validation. This study considered several evaluation metrics, including accuracy, precision, recall, F1-Score, and AUROC, to evaluate the classification outcomes for every model. First, no missing values, incorrect data were found, and most of the categorical values are already encoded in the primary data (baseline), and selected classifiers were employed. The class distributions of the response variable are highly imbalanced; thus, SMOTE-RUS, SMOTE-ENN, and SMOTE-TL were used in the baseline and generated DSMOTE-RUS, DSMOTE-ENN, and DSMOTE-TL, containing 496, 656, and 696 records, respectively. Each balanced dataset used different feature selection methods, such as CFS, MIG, RFE, and SFM, to create individual feature subsets. Then, these classifiers were again applied to DSMOTE-RUS, DSMOTE-ENN, and DSMOTE-TL, and their feature subsets, and produced outcomes for each classifier (See Supplementary File-1). The classification results for baseline and the average outcomes for each balanced data and their feature subsets are presented in Table 1 . These classifiers were used with their default hyperparameters to analyze panic-buying records. Table 1 Performance Analysis of Different Models with Default Hyperparameters Under Various Balancing Methods. Model BaseLine DSMOTE-RUS DSMOTE-ENN DSMOTE-TL Accuracy F1-Score AUROC Accuracy F1-Score AUROC Accuracy F1-Score AUROC Accuracy F1-Score AUROC LR 0.8567 0.9209 0.5729 0.8671 0.8753 0.9496 0.9038 0.9108 0.9604 0.9137 0.8975 0.9494 DT 0.7800 0.8875 0.4887 0.9048 0.9144 0.9122 0.9626 0.9660 0.9381 0.9734 0.9793 0.9472 RF 0.8933 0.9455 0.5400 0.9832 0.9849 0.9998 0.9776 0.9819 0.9980 0.9861 0.9860 0.9999 SVC 0.8967 0.9455 0.4267 0.8999 0.9095 0.9575 0.9022 0.9112 0.9746 0.9146 0.9101 0.9449 XGBoost 0.8933 0.9436 0.4975 0.9641 0.9693 0.9972 0.9782 0.9811 0.9977 0.9797 0.9834 0.9991 AdaBoost 0.8500 0.9169 0.4957 0.8747 0.8795 0.9612 0.9033 0.9052 0.9675 0.9183 0.9094 0.9661 CatBoost 0.8933 0.9436 0.5493 0.9886 0.9892 0.9999 0.9853 0.9874 0.9990 0.9885 0.9912 0.9999 Bagging 0.8867 0.9259 0.4157 0.9486 0.9583 0.9877 0.9614 0.9631 0.9971 0.9739 0.9845 0.9990 GB 0.8633 0.9182 0.4584 0.9667 0.9700 0.9953 0.9734 0.9786 0.9951 0.9806 0.9845 0.9993 MLP 0.8967 0.9436 0.4525 0.9194 0.9236 0.9760 0.9548 0.9583 0.9902 0.9608 0.9560 0.9893
Table 1
Performance Analysis of Different Models with Default Hyperparameters Under Various Balancing Methods.
| Model | BaseLine | DSMOTE-RUS | DSMOTE-ENN | DSMOTE-TL | ||||||||
| Accuracy | F1-Score | AUROC | Accuracy | F1-Score | AUROC | Accuracy | F1-Score | AUROC | Accuracy | F1-Score | AUROC | |
| LR | 0.8567 | 0.9209 | 0.5729 | 0.8671 | 0.8753 | 0.9496 | 0.9038 | 0.9108 | 0.9604 | 0.9137 | 0.8975 | 0.9494 |
| DT | 0.7800 | 0.8875 | 0.4887 | 0.9048 | 0.9144 | 0.9122 | 0.9626 | 0.9660 | 0.9381 | 0.9734 | 0.9793 | 0.9472 |
| RF | 0.8933 | 0.9455 | 0.5400 | 0.9832 | 0.9849 | 0.9998 | 0.9776 | 0.9819 | 0.9980 | 0.9861 | 0.9860 | 0.9999 |
| SVC | 0.8967 | 0.9455 | 0.4267 | 0.8999 | 0.9095 | 0.9575 | 0.9022 | 0.9112 | 0.9746 | 0.9146 | 0.9101 | 0.9449 |
| XGBoost | 0.8933 | 0.9436 | 0.4975 | 0.9641 | 0.9693 | 0.9972 | 0.9782 | 0.9811 | 0.9977 | 0.9797 | 0.9834 | 0.9991 |
| AdaBoost | 0.8500 | 0.9169 | 0.4957 | 0.8747 | 0.8795 | 0.9612 | 0.9033 | 0.9052 | 0.9675 | 0.9183 | 0.9094 | 0.9661 |
| CatBoost | 0.8933 | 0.9436 | 0.5493 | 0.9886 | 0.9892 | 0.9999 | 0.9853 | 0.9874 | 0.9990 | 0.9885 | 0.9912 | 0.9999 |
| Bagging | 0.8867 | 0.9259 | 0.4157 | 0.9486 | 0.9583 | 0.9877 | 0.9614 | 0.9631 | 0.9971 | 0.9739 | 0.9845 | 0.9990 |
| GB | 0.8633 | 0.9182 | 0.4584 | 0.9667 | 0.9700 | 0.9953 | 0.9734 | 0.9786 | 0.9951 | 0.9806 | 0.9845 | 0.9993 |
| MLP | 0.8967 | 0.9436 | 0.4525 | 0.9194 | 0.9236 | 0.9760 | 0.9548 | 0.9583 | 0.9902 | 0.9608 | 0.9560 | 0.9893 |
In this case, the classifiers achieved moderate classification accuracy and F1-Scores, while the AUROC showed notably low values for the baseline. RF, XGBoost, and CatBoost obtained the highest accuracy, while RF andSVC showed the best F1-score in this work. When the average outcomes for DSMOTE-RUS, DSMOTE-ENN, and DSMOTE-TL were scrutinized, CatBoost gave higher accuracy, F1-Score, and AUROC than other classifiers. Instead, RF showed the second-highest results in detecting panic-buying behaviors. LR, SVC, and Adaboost provided slightly lower findings compared to other models. Figure 4 Visualization of unique hyperparameter usage approximate frequency across multiple classifiers, which are used in balanced and their feature subsets; the size and color of each bubble shows the number of tested values for the corresponding model, where larger and more yellow bubbles represent higher numbers of tried values and smaller and darker purple bubbles represent hyperparameters that had only one value. Table 2 Performance Comparison of Machine Learning Models for Diverse SMOTE Variants. Model Accuracy Precision Recall F1-Score AUROC Mean ± SD Mean ± SD Mean ± SD Mean ± SD Mean ± SD LR 0.939 ± 0.019 0.881 ± 0.070 0.947 ± 0.065 0.906 ± 0.023 0.964 ± 0.026 DT 0.945 ± 0.035 0.923 ± 0.050 0.919 ± 0.076 0.910 ± 0.062 0.935 ± 0.049 RF 0.983 ± 0.015 0.992 ± 0.012 0.949 ± 0.035 0.962 ± 0.022 0.999 ± 0.001 SVC 0.986 ± 0.014 0.967 ± 0.042 0.992 ± 0.016 0.978 ± 0.022 0.996 ± 0.008 XGBoost 0.992 ± 0.008 0.986 ± 0.012 0.990 ± 0.016 0.988 ± 0.013 0.997 ± 0.006 AdaBoost 0.937 ± 0.036 0.931 ± 0.057 0.846 ± 0.160 0.872 ± 0.087 0.984 ± 0.012 CatBoost 0.992 ± 0.008 0.986 ± 0.012 0.988 ± 0.015 0.987 ± 0.013 0.999 ± 0.001 Bagging 0.975± 0.019 0.967 ± 0.034 0.947 ± 0.037 0.958 ± 0.028 0.995 ± 0.005 GB 0.990 ± 0.010 0.980 ± 0.015 0.980 ± 0.026 0.982 ± 0.020 0.999 ± 0.001 MLP 0.975 ± 0.017 0.951 ± 0.049 0.970 ± 0.042 0.959 ± 0.028 0.992 ± 0.010

Table 2
Performance Comparison of Machine Learning Models for Diverse SMOTE Variants.
| Model | Accuracy | Precision | Recall | F1-Score | AUROC |
| Mean ± SD | Mean ± SD | Mean ± SD | Mean ± SD | Mean ± SD | |
| LR | 0.939 ± 0.019 | 0.881 ± 0.070 | 0.947 ± 0.065 | 0.906 ± 0.023 | 0.964 ± 0.026 |
| DT | 0.945 ± 0.035 | 0.923 ± 0.050 | 0.919 ± 0.076 | 0.910 ± 0.062 | 0.935 ± 0.049 |
| RF | 0.983 ± 0.015 | 0.992 ± 0.012 | 0.949 ± 0.035 | 0.962 ± 0.022 | 0.999 ± 0.001 |
| SVC | 0.986 ± 0.014 | 0.967 ± 0.042 | 0.992 ± 0.016 | 0.978 ± 0.022 | 0.996 ± 0.008 |
| XGBoost | 0.992 ± 0.008 | 0.986 ± 0.012 | 0.990 ± 0.016 | 0.988 ± 0.013 | 0.997 ± 0.006 |
| AdaBoost | 0.937 ± 0.036 | 0.931 ± 0.057 | 0.846 ± 0.160 | 0.872 ± 0.087 | 0.984 ± 0.012 |
| CatBoost | 0.992 ± 0.008 | 0.986 ± 0.012 | 0.988 ± 0.015 | 0.987 ± 0.013 | 0.999 ± 0.001 |
| Bagging | 0.975± 0.019 | 0.967 ± 0.034 | 0.947 ± 0.037 | 0.958 ± 0.028 | 0.995 ± 0.005 |
| GB | 0.990 ± 0.010 | 0.980 ± 0.015 | 0.980 ± 0.026 | 0.982 ± 0.020 | 0.999 ± 0.001 |
| MLP | 0.975 ± 0.017 | 0.951 ± 0.049 | 0.970 ± 0.042 | 0.959 ± 0.028 | 0.992 ± 0.010 |
Different hyperparameters of each classifier were tuned on SMOTE variant datasets (i.e., DSMOTE-RUS, DSMOTE-ENN, and DSMOTE-TL) and their respective feature-based subsets. Figure 4 displays the values of various hyperparameters used in different classifiers, highlighting which ones were most influential or varied across models during experimentation or optimization (See Supplementary File-2). Table 2 represents the average performance of classifiers with fine-tuning for only the SMOTE variant datasets; all classifiers displayed promising findings in detecting panic buying. In this case, XGBoost and CatBoost achieved the best accuracy, where RF and SVC provided the highest precision and recall, respectively. Additionally, XGBoost again showed the best F1-Score; however, RF, CatBoost, and GB gave the highest AUROC. Moreover, RF, XGBoost, CatBoost, and GB produced similar results, demonstrating their stability and effectiveness in analyzing this dataset. Besides, Adaboost, LR, and DT had slightly lower outcomes than other classifiers. Table 3 Performance Comparison of Machine Learning Models for Diverse Feature Subsets in SMOTE Variants. Model Accuracy Precision Recall F1-Score AUROC Mean ± SD Mean ± SD Mean ± SD Mean ± SD Mean ± SD DSMOTE-RUS LR 0.851 ± 0.056 0.796 ± 0.071 0.771 ± 0.246 0.753 ± 0.132 0.926 ± 0.053 DT 0.898 ± 0.030 0.824 ± 0.073 0.913 ± 0.046 0.864 ± 0.040 0.903 ± 0.029 RF 0.976 ± 0.019 0.990 ± 0.014 0.939 ± 0.051 0.962 ± 0.031 0.996 ± 0.005 SVC 0.968 ± 0.021 0.968 ± 0.029 0.939 ± 0.050 0.951 ± 0.031 0.991 ± 0.010 XGBoost 0.969 ± 0.019 0.969 ± 0.037 0.939 ± 0.051 0.964 ± 0.024 0.991 ± 0.010 AdaBoost 0.882 ± 0.044 0.851 ± 0.096 0.818 ± 0.178 0.813 ± 0.089 0.954 ± 0.023 CatBoost 0.979 ± 0.016 0.981 ± 0.020 0.958 ± 0.045 0.968 ± 0.016 0.994 ± 0.007 Bagging 0.969 ± 0.021 0.981 ± 0.018 0.939 ± 0.051 0.959 ± 0.031 0.991 ± 0.010 GB 0.981 ± 0.017 0.981 ± 0.020 0.960 ± 0.041 0.969 ± 0.024 0.996 ± 0.007 MLP 0.944 ± 0.026 0.897 ± 0.078 0.975 ± 0.043 0.933 ± 0.032 0.980 ± 0.022 DSMOTE-ENN LR 0.882 ± 0.071 0.810 ± 0.075 0.679 ± 0.318 0.696 ± 0.232 0.930 ± 0.061 DT 0.963 ± 0.031 0.944 ± 0.054 0.920 ± 0.076 0.924 ± 0.066 0.940 ± 0.051 RF 0.985 ± 0.010 0.989 ± 0.018 0.949 ± 0.034 0.971 ± 0.030 1.000 ± 0.000 SVC 0.976 ± 0.016 0.970 ± 0.023 0.978 ± 0.015 0.973 ± 0.016 0.999 ± 0.004 XGBoost 0.993 ± 0.008 0.981 ± 0.023 0.993 ± 0.013 0.987 ± 0.015 1.000 ± 0.000 AdaBoost 0.908 ± 0.046 0.900 ± 0.074 0.733 ± 0.229 0.780 ± 0.142 0.979 ± 0.009 CatBoost 0.985 ± 0.011 0.985 ± 0.021 0.949 ± 0.034 0.967 ± 0.022 0.999 ± 0.004 Bagging 0.977 ± 0.015 0.977 ± 0.022 0.938 ± 0.043 0.957 ± 0.019 0.996 ± 0.007 GB 0.992 ± 0.007 0.984 ± 0.015 0.982 ± 0.018 0.982 ± 0.018 1.000 ± 0.000 MLP 0.975 ± 0.020 0.939 ± 0.065 0.968 ± 0.052 0.946 ± 0.047 0.995 ± 0.005 DSMOTE-TL LR 0.902 ± 0.062 0.835 ± 0.054 0.718 ± 0.209 0.741 ± 0.203 0.938 ± 0.064 DT 0.976 ± 0.019 0.900 ± 0.076 0.912 ± 0.097 0.957 ± 0.040 0.956 ± 0.038 RF 0.994 ± 0.005 1.000 ± 0.000 0.941 ± 0.036 0.969 ± 0.021 1.000 ± 0.000 SVC 0.996 ± 0.005 0.994 ± 0.012 0.995 ± 0.010 0.994 ± 0.012 1.000 ± 0.000 XGBoost 0.996 ± 0.005 0.994 ± 0.012 0.995 ± 0.010 0.994 ± 0.012 1.000 ± 0.000 AdaBoost 0.915 ± 0.044 0.949 ± 0.094 0.752 ± 0.199 0.799 ± 0.142 0.979 ± 0.009 CatBoost 0.994 ± 0.005 0.996 ± 0.008 0.960 ± 0.041 0.977 ± 0.019 1.000 ± 0.000 Bagging 0.996 ± 0.005 0.996 ± 0.008 0.960 ± 0.041 0.977 ± 0.019 1.000 ± 0.000 GB 0.996 ± 0.005 0.996 ± 0.008 0.960 ± 0.041 0.977 ± 0.019 1.000 ± 0.000 MLP 0.991 ± 0.012 0.989 ± 0.019 0.971 ± 0.048 0.975 ± 0.039 0.998 ± 0.005
Table 3
Performance Comparison of Machine Learning Models for Diverse Feature Subsets in SMOTE Variants.
| Model | Accuracy | Precision | Recall | F1-Score | AUROC |
| Mean ± SD | Mean ± SD | Mean ± SD | Mean ± SD | Mean ± SD | |
| DSMOTE-RUS | |||||
| LR | 0.851 ± 0.056 | 0.796 ± 0.071 | 0.771 ± 0.246 | 0.753 ± 0.132 | 0.926 ± 0.053 |
| DT | 0.898 ± 0.030 | 0.824 ± 0.073 | 0.913 ± 0.046 | 0.864 ± 0.040 | 0.903 ± 0.029 |
| RF | 0.976 ± 0.019 | 0.990 ± 0.014 | 0.939 ± 0.051 | 0.962 ± 0.031 | 0.996 ± 0.005 |
| SVC | 0.968 ± 0.021 | 0.968 ± 0.029 | 0.939 ± 0.050 | 0.951 ± 0.031 | 0.991 ± 0.010 |
| XGBoost | 0.969 ± 0.019 | 0.969 ± 0.037 | 0.939 ± 0.051 | 0.964 ± 0.024 | 0.991 ± 0.010 |
| AdaBoost | 0.882 ± 0.044 | 0.851 ± 0.096 | 0.818 ± 0.178 | 0.813 ± 0.089 | 0.954 ± 0.023 |
| CatBoost | 0.979 ± 0.016 | 0.981 ± 0.020 | 0.958 ± 0.045 | 0.968 ± 0.016 | 0.994 ± 0.007 |
| Bagging | 0.969 ± 0.021 | 0.981 ± 0.018 | 0.939 ± 0.051 | 0.959 ± 0.031 | 0.991 ± 0.010 |
| GB | 0.981 ± 0.017 | 0.981 ± 0.020 | 0.960 ± 0.041 | 0.969 ± 0.024 | 0.996 ± 0.007 |
| MLP | 0.944 ± 0.026 | 0.897 ± 0.078 | 0.975 ± 0.043 | 0.933 ± 0.032 | 0.980 ± 0.022 |
| DSMOTE-ENN | |||||
| LR | 0.882 ± 0.071 | 0.810 ± 0.075 | 0.679 ± 0.318 | 0.696 ± 0.232 | 0.930 ± 0.061 |
| DT | 0.963 ± 0.031 | 0.944 ± 0.054 | 0.920 ± 0.076 | 0.924 ± 0.066 | 0.940 ± 0.051 |
| RF | 0.985 ± 0.010 | 0.989 ± 0.018 | 0.949 ± 0.034 | 0.971 ± 0.030 | 1.000 ± 0.000 |
| SVC | 0.976 ± 0.016 | 0.970 ± 0.023 | 0.978 ± 0.015 | 0.973 ± 0.016 | 0.999 ± 0.004 |
| XGBoost | 0.993 ± 0.008 | 0.981 ± 0.023 | 0.993 ± 0.013 | 0.987 ± 0.015 | 1.000 ± 0.000 |
| AdaBoost | 0.908 ± 0.046 | 0.900 ± 0.074 | 0.733 ± 0.229 | 0.780 ± 0.142 | 0.979 ± 0.009 |
| CatBoost | 0.985 ± 0.011 | 0.985 ± 0.021 | 0.949 ± 0.034 | 0.967 ± 0.022 | 0.999 ± 0.004 |
| Bagging | 0.977 ± 0.015 | 0.977 ± 0.022 | 0.938 ± 0.043 | 0.957 ± 0.019 | 0.996 ± 0.007 |
| GB | 0.992 ± 0.007 | 0.984 ± 0.015 | 0.982 ± 0.018 | 0.982 ± 0.018 | 1.000 ± 0.000 |
| MLP | 0.975 ± 0.020 | 0.939 ± 0.065 | 0.968 ± 0.052 | 0.946 ± 0.047 | 0.995 ± 0.005 |
| DSMOTE-TL | |||||
| LR | 0.902 ± 0.062 | 0.835 ± 0.054 | 0.718 ± 0.209 | 0.741 ± 0.203 | 0.938 ± 0.064 |
| DT | 0.976 ± 0.019 | 0.900 ± 0.076 | 0.912 ± 0.097 | 0.957 ± 0.040 | 0.956 ± 0.038 |
| RF | 0.994 ± 0.005 | 1.000 ± 0.000 | 0.941 ± 0.036 | 0.969 ± 0.021 | 1.000 ± 0.000 |
| SVC | 0.996 ± 0.005 | 0.994 ± 0.012 | 0.995 ± 0.010 | 0.994 ± 0.012 | 1.000 ± 0.000 |
| XGBoost | 0.996 ± 0.005 | 0.994 ± 0.012 | 0.995 ± 0.010 | 0.994 ± 0.012 | 1.000 ± 0.000 |
| AdaBoost | 0.915 ± 0.044 | 0.949 ± 0.094 | 0.752 ± 0.199 | 0.799 ± 0.142 | 0.979 ± 0.009 |
| CatBoost | 0.994 ± 0.005 | 0.996 ± 0.008 | 0.960 ± 0.041 | 0.977 ± 0.019 | 1.000 ± 0.000 |
| Bagging | 0.996 ± 0.005 | 0.996 ± 0.008 | 0.960 ± 0.041 | 0.977 ± 0.019 | 1.000 ± 0.000 |
| GB | 0.996 ± 0.005 | 0.996 ± 0.008 | 0.960 ± 0.041 | 0.977 ± 0.019 | 1.000 ± 0.000 |
| MLP | 0.991 ± 0.012 | 0.989 ± 0.019 | 0.971 ± 0.048 | 0.975 ± 0.039 | 0.998 ± 0.005 |
Table 3 again displays the average classification outcomes for feature subsets (i.e., CFS, MIG, RFE(DT), RFE(RF), and SFM) of balanced datasets, like DSMOTE-RUS, DSMOTE-ENN, and DSMOTE-TL. In DSMOTE-RUS, GB achieved the average best accuracy, F1-Score, and AUROC, while CatBoost showed the second-highest outcomes in this analysis. Additionally, RF and GB provided the highest AUROC values in identifying panic buying behaviors. If the preliminary results are analyzed, GB also demonstrated the best performance across various feature subsets of the balanced dataset, achieving superior results with the CFS, RFE(RF), and RFE(DT) subsets compared to DSMOTE-RUS without feature selection (see Supplementary File-3). Overall, the average outcomes of these classifiers on DSMOTE-RUS were lower than regular results for this dataset and its feature subsets. For DSMOTE-ENN, XGBoost, and GB achieved the highest average accuracy and AUROC, while RF also exhibited a higher average AUROC compared to the other classifiers. Similarly, when evaluating classifiers on individual feature subsets, DSMOTE-ENN without feature selection outperformed its corresponding feature-selected subsets (see Supplementary File-3). For SMOTE-TL, classifiers like SVC, XGBoost, Bagging, and GB delivered the best average accuracy, while RF, SVC, XGBoost, CatBoost, Bagging, and GB attained the highest average AUROC in this study. For regular analysis, many classifiers provided overfitted outcomes for DSMOTE-TL without feature selection, so the classification results for different feature subsets were mainly considered. In this case, XGBoost showed better accuracy for MIG, RFE(DT), and SFM. For each case, LR, DT, and Adaboost consistently showed lower average performance compared to other models. Figure 5 Comparative performance analysis of average classification results of diverse balanced datasets; ( a ) When the classifiers use their default parameters without any tuning, and ( b ) When these classifiers’ hyperparameters have been optimized with hyperparameter tuning. The color intensity in each cell reflects the value of the corresponding metric for each classifier, where darker shades indicate higher values.

Figure 5 illustrates the average performance of balanced datasets and their versions for a comprehensive overview of how tuning can affect classification outcomes. Figure 5 a shows each classifier’s performance, where the ensemble models like RF, XGBoost, Bagging, and CatBoost tend to obtain higher values across most of the metrics. On the other hand, Figure 5 b displays again the outcomes of each classifier; most of them showed that the performance either remains high or improves after hyperparameter tuning. In this study, AdaBoost showed more notable improvements in specific metrics. The overall color intensity of the optimized heapmap is usually higher than that of the existing model, suggesting that model tuning assists in boosting model performance. Figure 6 Comparative analysis of classifiers with optimized hyperparameters by calculating average foldwise accuracy for ( a ) DSMOTE-RUS and its generated feature subsets, ( b ) DSMOTE-ENN and its respective feature subsets, ( c ) DSMOTE-TL and its feature subsets, highlighting both mean performance and the variability across folds. Figure 7 Comparative analysis of ROC curves based on the average performance of individual classifiers for ( a ) DSMOTE-RUS and its generated feature subsets, ( b ) DSMOTE-ENN and its respective feature subsets, ( c ) DSMOTE-TL and its feature subsets, highlighting the mean ROC performance across classifiers.


Figure 6 represents side-by-side boxplots where each of them displays the foldwise average accuracy distribution for a set of classifiers for different balancing methods and their subsets. The visualization of the boxplot displays not just the mean and the variance in performance, emphasizing the reliability of certain classifiers under cross-validation. In every figure, each boxplot with a specific color shows the average accuracy across the validation folds for a classifier. For DSMOTE-RUS, XGBoost, CatBoost, Bagging, GB, RF, and MLP demonstrated high and consistent accuracy, while LR and AdaBoost produced lower median and higher variance accuracy. On the other hand, the same classifiers again provided high accuracy with tightboxes to assess high stability and performance in the DSMOTE-ENN and its subsets. Like two ways, identical classifiers again showed the high accuracy and low variance for DSMOTE-TL and converted versions. In addition, LR and AdaBoost produced noticeably lower accuracy and higher variability for both of the balanced datasets.
Figure 7 also shows the ROC Curves for these balanced datasets and their subsets. For DSMOTE-RUS and DSMOTE-ENN cases (see Figures 7 a and 7 b), some classifiers, like RF, XGBoost, GB, and CatBoost, illustrate strong performance, having curves closer to the true positive rates. Further, all classifiers also perform well more consistently for DSMOTE-TL cases, where the gaps between classifiers are very narrow (see Figure 7 c). Table 4 Classifiers Ranking and Adjusted P-values for DSMOTE-RUS and its feature subsets using post hoc non-parametric Friedman Analysis. Model Ranking z p \documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$p_{Bonf}$$\end{document} \documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$p_{Holm}$$\end{document} \documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$p_{Hochberg}$$\end{document} \documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$p_{Holland}$$\end{document} GB 1.6667 CatBoost 2.2500 0.4308 0.6666 1.0000 1.0000 1.0000 1.0000 RF 3.3333 1.2309 0.2184 1.0000 0.7848 1.0000 0.9149 XGBoost 3.4167 1.2925 0.1962 1.0000 0.7848 1.0000 0.8874 SVC 4.8333 2.3387 0.0193 0.1935 0.0967 0.1161 0.1775 Bagging 5.5000 2.8311 0.0046 0.0464 0.0278 0.0232 0.0454 MLP 7.0000 3.9389 0.0001 0.0008 0.0006 0.0003 0.0008 AdaBoost 8.3333 4.9237 0.0000 0.0000 0.0000 0.0000 0.0000 DT 8.6667 5.1698 0.0000 0.0000 0.0000 0.0000 0.0000 LR 10.0000 6.1546 0.0000 0.0000 0.0000 0.0000 0.0000 Table 5 Classifiers Ranking and Adjusted P-values for DSMOTE-ENN using post hoc non-parametric Friedman Analysis. Model Ranking z p \documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$p_{Bonf}$$\end{document} \documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$p_{Holm}$$\end{document} \documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$p_{Hochberg}$$\end{document} \documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$p_{Holland}$$\end{document} XGBoost 1.5000 GB 2.0833 0.4308 0.6666 1.0000 1.0000 1.0000 1.0000 CatBoost 2.6667 0.8616 0.3889 1.0000 1.0000 1.0000 0.9927 SVC 4.3333 2.0926 0.0364 0.3639 0.1456 0.2547 0.3097 RF 4.9167 2.5234 0.0116 0.1162 0.0581 0.0697 0.1103 MLP 6.1667 3.4466 0.0006 0.0057 0.0034 0.0028 0.0057 Bagging 6.3333 3.5697 0.0004 0.0036 0.0025 0.0014 0.0036 DT 8.0000 4.8006 0.0000 0.0000 0.0000 0.0000 0.0000 AdaBoost 9.1667 5.6622 0.0000 0.0000 0.0000 0.0000 0.0000 LR 9.8333 6.1546 0.0000 0.0000 0.0000 0.0000 0.0000
Table 4
Classifiers Ranking and Adjusted P-values for DSMOTE-RUS and its feature subsets using post hoc non-parametric Friedman Analysis.
| Model | Ranking | z | p | \documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$p_{Bonf}$$\end{document} | \documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$p_{Holm}$$\end{document} | \documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$p_{Hochberg}$$\end{document} | \documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$p_{Holland}$$\end{document} |
| GB | 1.6667 | ||||||
| CatBoost | 2.2500 | 0.4308 | 0.6666 | 1.0000 | 1.0000 | 1.0000 | 1.0000 |
| RF | 3.3333 | 1.2309 | 0.2184 | 1.0000 | 0.7848 | 1.0000 | 0.9149 |
| XGBoost | 3.4167 | 1.2925 | 0.1962 | 1.0000 | 0.7848 | 1.0000 | 0.8874 |
| SVC | 4.8333 | 2.3387 | 0.0193 | 0.1935 | 0.0967 | 0.1161 | 0.1775 |
| Bagging | 5.5000 | 2.8311 | 0.0046 | 0.0464 | 0.0278 | 0.0232 | 0.0454 |
| MLP | 7.0000 | 3.9389 | 0.0001 | 0.0008 | 0.0006 | 0.0003 | 0.0008 |
| AdaBoost | 8.3333 | 4.9237 | 0.0000 | 0.0000 | 0.0000 | 0.0000 | 0.0000 |
| DT | 8.6667 | 5.1698 | 0.0000 | 0.0000 | 0.0000 | 0.0000 | 0.0000 |
| LR | 10.0000 | 6.1546 | 0.0000 | 0.0000 | 0.0000 | 0.0000 | 0.0000 |
Table 5
Classifiers Ranking and Adjusted P-values for DSMOTE-ENN using post hoc non-parametric Friedman Analysis.
| Model | Ranking | z | p | \documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$p_{Bonf}$$\end{document} | \documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$p_{Holm}$$\end{document} | \documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$p_{Hochberg}$$\end{document} | \documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$p_{Holland}$$\end{document} |
| XGBoost | 1.5000 | ||||||
| GB | 2.0833 | 0.4308 | 0.6666 | 1.0000 | 1.0000 | 1.0000 | 1.0000 |
| CatBoost | 2.6667 | 0.8616 | 0.3889 | 1.0000 | 1.0000 | 1.0000 | 0.9927 |
| SVC | 4.3333 | 2.0926 | 0.0364 | 0.3639 | 0.1456 | 0.2547 | 0.3097 |
| RF | 4.9167 | 2.5234 | 0.0116 | 0.1162 | 0.0581 | 0.0697 | 0.1103 |
| MLP | 6.1667 | 3.4466 | 0.0006 | 0.0057 | 0.0034 | 0.0028 | 0.0057 |
| Bagging | 6.3333 | 3.5697 | 0.0004 | 0.0036 | 0.0025 | 0.0014 | 0.0036 |
| DT | 8.0000 | 4.8006 | 0.0000 | 0.0000 | 0.0000 | 0.0000 | 0.0000 |
| AdaBoost | 9.1667 | 5.6622 | 0.0000 | 0.0000 | 0.0000 | 0.0000 | 0.0000 |
| LR | 9.8333 | 6.1546 | 0.0000 | 0.0000 | 0.0000 | 0.0000 | 0.0000 |
Table 4 presents the statistically significant differences in the average rankings of classifiers for DSMOTE-RUS and its feature subsets, based on the Friedman analysis. The results indicate that GB achieved the highest rank in detecting panic buying behavior. CatBoost, RF, XGBoost, and SVC yielded higher p-values, suggesting no statistically significant difference from GB. In contrast, MLP, AdaBoost, DT, and LR had very low p-values ( \documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$p < 0.05$$\end{document} ), indicating significantly poorer performance compared to GB. Bagging showed marginal significance, with p-values just below 0.05 under the Holm, Hochberg, and Holland corrections, implying it was statistically worse than GB in some cases. Again, Table 5 presents the statistically significant differences in the average rankings of classifiers for DSMOTE-ENN and its feature subsets, based on the Friedman analysis. The results show that XGBoost gained the highest rank in detecting panic buying behavior. GB, CatBoost, SVC, and RF yielded higher p-values, indicating no statistically significant difference from XGBoost. In contrast, DT, AdaBoost, and LR had very low p-values ( \documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$p < 0.05$$\end{document} ), suggesting significantly poorer performance compared to GB. Besides, MLP and Bagging showed marginal significance, with p-values just below 0.05 under the Holm, Hochberg, and Holland corrections, implying they were statistically worse than XGB in some cases. Table 6 Classifiers Ranking and Adjusted P-values for DSMOTE-TL using post hoc non-parametric Fridmen Analysis. Model Ranking z p \documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$p_{Bonf}$$\end{document} \documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$p_{Holm}$$\end{document} \documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$p_{Hochberg}$$\end{document} \documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$p_{Holland}$$\end{document} XGBoost 1.3333 CatBoost 2.7500 1.0463 0.2954 1.0000 0.7848 1.0000 0.9699 SVC 3.0833 1.2925 0.1962 1.0000 0.7848 1.0000 0.8874 GB 3.0833 1.2925 0.1962 1.0000 0.7848 1.0000 0.8874 MLP 5.0000 2.7080 0.0068 0.0677 0.0338 0.0406 0.0657 RF 6.3333 3.6927 0.0002 0.0022 0.0013 0.0011 0.0022 Bagging 6.5833 3.8774 0.0001 0.0011 0.0007 0.0004 0.0011 DT 7.8333 4.8006 0.0000 0.0000 0.0000 0.0000 0.0000 AdaBoost 9.1667 5.7853 0.0000 0.0000 0.0000 0.0000 0.0000 LR 9.8333 6.2777 0.0000 0.0000 0.0000 0.0000 0.0000
Table 6
Classifiers Ranking and Adjusted P-values for DSMOTE-TL using post hoc non-parametric Fridmen Analysis.
| Model | Ranking | z | p | \documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$p_{Bonf}$$\end{document} | \documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$p_{Holm}$$\end{document} | \documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$p_{Hochberg}$$\end{document} | \documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$p_{Holland}$$\end{document} |
| XGBoost | 1.3333 | ||||||
| CatBoost | 2.7500 | 1.0463 | 0.2954 | 1.0000 | 0.7848 | 1.0000 | 0.9699 |
| SVC | 3.0833 | 1.2925 | 0.1962 | 1.0000 | 0.7848 | 1.0000 | 0.8874 |
| GB | 3.0833 | 1.2925 | 0.1962 | 1.0000 | 0.7848 | 1.0000 | 0.8874 |
| MLP | 5.0000 | 2.7080 | 0.0068 | 0.0677 | 0.0338 | 0.0406 | 0.0657 |
| RF | 6.3333 | 3.6927 | 0.0002 | 0.0022 | 0.0013 | 0.0011 | 0.0022 |
| Bagging | 6.5833 | 3.8774 | 0.0001 | 0.0011 | 0.0007 | 0.0004 | 0.0011 |
| DT | 7.8333 | 4.8006 | 0.0000 | 0.0000 | 0.0000 | 0.0000 | 0.0000 |
| AdaBoost | 9.1667 | 5.7853 | 0.0000 | 0.0000 | 0.0000 | 0.0000 | 0.0000 |
| LR | 9.8333 | 6.2777 | 0.0000 | 0.0000 | 0.0000 | 0.0000 | 0.0000 |
Then, Table 6 presents the statistically significant differences in the average rankings of classifiers for DSMOTE-TL and its respective feature subsets, based on the Friedman method. The results show that XGBoost obtained the highest rank in detecting panic buying behavior. CatBoost, SVC, GB, and MLP yielded higher p-values, indicating no statistically significant difference from XGBoost. In contrast, DT, AdaBoost, and LR had very low p-values ( \documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$p < 0.05$$\end{document} ), suggesting significantly poorer performance compared to GB. Additionally, RF and Bagging showed marginal significance, with p-values just below 0.05 under the Holm, Hochberg, and Holland corrections, indicating that they were statistically worse than XGB in some cases. Figure 8 SHAP feature importance for the DSMOTE-RUS. ( a ) The bar plot of the Mean SHAP value shows the average magnitude of feature impacts on the output. ( b ) The SHAP beeswarm plot visualizes the distribution of SHAP values for each feature across all samples, with color indicating feature value from low (blue) to high (red).

Furthermore, the top-performing GB was utilized with DSMOTE-RUS to employ an explainable AI model using SHAP. Figure 8 presents SHAP visualizations to interpret the output of classifiers. Figure 8 a then displays the average impact of each feature on the model’s predictions, where Goods Preference provided the highest average SHAP value, which makes it the most influential feature in the model. Besides, Age and Dry Food Preference also showed significant impacts to generate the highest outcomes. In the top 20 attributes, some goods such as Freshmilk, Malt, Meat, Protection Focus, Milkmaid, Drymilk, Bottledwater, Petrol, Frozen, and Instant not only contribute to improving the model accuracy along with other features, but also are indicated as essential items during panic buying. Figure 8 b illustrates each feature’s distribution of SHAP values, adding the context direction and impactful magnitude across all instances. Goods Preference represented the high values (red) that generally increased the model output, indicating a positive correlation with the predicted outcome. Age provided both high and low values appear on either side of zero, suggesting a mixed influence based on context. Consequently, Instant, Product Excellence, Nourishment, etc., have smaller SHAP ranges, contributing less variability. Figure 9 SHAP feature importance for the DSMOTE-ENN. ( a ) The bar plot of the Mean SHAP value shows the average magnitude of feature impacts on the output. ( b ) The SHAP beeswarm plot visualizes the distribution of SHAP values for each feature across all samples, with color indicating feature value from low (blue) to high (red).

Figure 9 presents SHAP visualizations for XGBoost to interpret the output of classifiers for training DSMOTE-ENN. Figure 9 a then displays the average impact of each feature on the model’s predictions, where Goods Preference provided the superior average SHAP value, which makes it the most impactful feature in the model. Besides Wet Food Preference, Freshmilk, Dry Food Preference, Age, Malt, Income, etc., also had significant impacts on generating the highest outcomes. Some goods, such as Freshmilk, Malt, Wet Food, Seasonings, Onions, Tissues, etc., contributed to improving the model accuracy and indicated them as essential goods during panic buying. In this case, other demographic features were mainly utilized to enhance model performance. Figure 9 b illustrates each feature’s distribution of SHAP values, adding the context direction and impactful magnitude across all instances. Top features like Goods Preference, Wet Food Preference, and Freshmilk significantly influence the prediction positively or negatively, depending on their value. For Income and Age, higher values provide predictions in both directions, suggesting a nuanced influence based on the situation. Consequently, Forzen, Tissue, Meat, Instant, Nourishment, etc., have smaller SHAP ranges, contributing less variability. Figure 10 SHAP feature importance for the DSMOTE-TL. ( a ) The bar plot of the Mean SHAP value shows the average magnitude of feature impacts on the output. ( b ) The SHAP beeswarm plot visualizes the distribution of SHAP values for each feature across all samples, with color indicating feature value from low (blue) to high (red).

Figure 10 presents SHAP visualizations for XGBoost to interpret the output of classifiers for training DSMOTE-TL. Figure 10 a then displays the average impact of each feature on the model’s predictions, where Goods Preference provided the superior average SHAP value, which makes it the most impactful feature in the model. Besides, Wet Food Preference, Instant, Freshmilk, and Hygiene also showed significant impacts to generate the highest outcomes. In the top 20 attributes, several goods such as Instant, Freshmilk, Hygiene, Sanitizer, Malt, Wet food, Onions, etc. contributed both to improving the model accuracy and were indicated as essential goods during panic buying. In this case, other demographic features were mainly utilized to enhance model performance. Figure 10 b illustrates the distribution of SHAP values for each feature, adding the context direction and impactful magnitude across all instances. Goods Preference provided the superior average SHAP value for the model, which represents high values to increase the likelihood of optimistic and low predictions toward the opposing side. Besides, Wet Food Preference and Instant also provide high values, pushing higher predictions like Goods Preference. Consequently, Dry Food Preference, Nourishment, Milkmaid, Married Status, etc., have high and low values that affect predictions in different directions. Product Excellence, Market Confidence, Energizers, and Fuel Reliability have smaller SHAP ranges and contribute less to the model’s prediction.
When the performance of different classifiers is analyzed without fine-tuning, Catboost is found as the most stable classifier to predict panic buying behavior (see Table 1 ). Besides, RF, GB, XGBoost, MLP, SVC, and DT showed better results for analyzing the baseline, its balanced datasets, and their feature subsets. On the other hand, LR and Adaboost exhibited comparatively lower performance in this work. All classifiers performed well in different subsets for DSMOTE-RUS, DSMOTE-ENN, and DSMOTE-TL; however, they showed slightly improved outcomes for solely balanced datasets, CFS, MIG, and RFE subsets than for RFE subsets. Afterward, the values of hyperparameters were optimized with a fine-tuning process for DSMOTE-RUS, DSMOTE-ENN, and DSMOTE-TL, respectively. Thus, the performance of classifiers rapidly changes, suggesting the most stable classifier for analyzing panic buying instances. In this work, when the means of accuracy, F1-Score, and AUROC of classifiers for DSMOTE variants (see Table 2 ) are compared with the classification means of their subsets (see Table 3 ), the outcomes slightly fluctuate for subsets.
When the rankings of classifiers with fine-tuning are evaluated, GB, XGBoost, and CatBoost consistently achieved the best and second-highest results for each balanced dataset. Furthermore, Catboost emerged as the most stable classifier for analyzing panic-buying behavior, particularly under default classification settings. RF and SVC also showed better outcomes in specific cases; however, they lacked consistent results across different scenarios. The original dataset comprises 300 samples with 83 features, where some of them represent the respondents’ perceived importance or opinions. After employing data balancing and feature selection methods, the number of samples of DSMOTE-RUS, DSMOTE-ENN, and DSMOTE-TL was increased, while the feature spaces were not rapidly changed across subsets. As detailed in Section 2.3 , XGBoost and CatBoost are advanced implementations of GB. XGBoost excels in handling high-dimensional data and parallel computation, while CatBoost is particularly effective for categorical data. Both of these classifiers are well-suited for small to medium-sized structured datasets and require minimal scaling or encoding. The panic-buying dataset contains mostly categorical features, which are subsequently encoded into numerical form. Thus, CatBoost outperformed other classifiers in several instances. On the other hand, XGBoost demonstrates faster processing and yields strong performance in high-dimensional contexts. GB also showed top results in several cases under the boosting settings. In conclusion, GB and its upgraded variants proved as the most robust and reliable classifiers for analyzing panic-buying behavior in its various data formats.
Although there are few prior studies available for direct comparison with this experiment, However, numerous global crises, such as wars, pandemics, natural disasters, etc., have been shown to disrupt economies and increase prices, often leading to panic-buying behavior. In light of this, there is a growing need for automated and efficient tools to detect such issues early. The proposed machine learning model offers a fast, reliable, and adaptable method for detecting these incidents. By incorporating multiple state-of-the-art algorithms, the model demonstrates strong adaptability across various data types. Economists, policymakers, and financial experts can utilize this tool and make swift decisions to stabilize supply chains and prevent panic-driven shortages. Additionally, psychologists may leverage this model to gain insights into the behavioral triggers behind such actions and develop targeted interventions or counseling strategies to mitigate their effects.
Conclusion and future works
In crisis moments, widespread anxiety often drives people to rapidly buy large quantities of essential goods, leading to market shortages. The authorities must detect such behaviors promptly and take appropriate measures; however, a few number of works were found to investigate panic-buying behavior of individuals. The proposed machine learning-based model can analyze population responses employing various data analytics methods and determine the most effective pipelines for detecting panic-buying behaviors. It utilizes statistical significance tests and XAI models to verify the performance of classifiers by exploring the distributions of key features to interpret how this model performs well. In this study, data balancing and feature selection techniques were applied to the original dataset, which generated more variants. Then, multiple widely used classifiers were implemented into these original data, balanced versions, and their subsets, where GB and its upgraded variants proved to be the most stable classifiers to investigate panic-buying behaviors. The proposed model also explores relevant key features such as Goods Preference, Wet Food Preference, Instant, Age, Dry Food Preference, Hygiene, Malt, Sanitizer, Freshmilk, Wet Food, Onions, etc., which are important to achieve higher classification outcomes for different DSMOTE variants. Furthermore, this model focuses on improving the model’s practicality and scalability. Future works aim to develop a real-time monitoring system that integrates instances from retail and marketing sources to detect panic-buying behavior dynamically. Also, the model will be enhanced by incorporating external factors such as social media trends, news sentiment analysis, government policy updates, as well as demographic, geographic, and economic indicators. This will improve the model’s generalizability and ensure its applicability across different regions and populations.
Supplementary Information
Supplementary Information 1. Supplementary Information 2. Supplementary Information 3. Supplementary Information 4.
Publisher’s note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Supplementary Information
The online version contains supplementary material available at 10.1038/s41598-025-18222-4.
Acknowledgment
The authors extend their appreciation to the Princess Nourah bint Abdulrahman University Researchers Supporting Project number (PNURSP2025R513), Princess Nourah bint Abdulrahman University, Riyadh, Saudi Arabia.
Author contributions
M.S.S conceived the experiment(s), M.M.H.R conducted the experiment(s), T.B., T.J.A, M.S.S, and M.A.M. revised and analysed the results. All authors reviewed the manuscript.
Funding
The authors extend their appreciation to the Princess Nourah bint Abdulrahman University Researchers Supporting Project number (PNURSP2025R513), Princess Nourah bint Abdulrahman University, Riyadh, Saudi Arabia.
Data availability
The datasets used and/or analysed during the current study available from the corresponding author on reasonable request.
Declarations
Competing interests
The authors declare no competing interests.
References
1. Isa, K., Abdul Latiff, A., Isa, F. & Md Rosni, N. A Data Sheet on Panic Buying Behaviour among Malaysian Consumers during Movement Control Order (MCO) Period due to COVID-19 Outbreak. 10.17632/bbbf2ng3bz.1 (2020).
2. Adulyasak, Y., Benomar, O., Chaouachi, A., Cohen, M. C. & Khern-am nuai, W. Data Analytics to Detect Panic Buying and Improve Products Distribution Amid Pandemic 10.2139/ssrn.3742121 (2020). 10.1007/s00146-023-01654-9 PMC10105357 37358947
3. Zaky A Mohamed H Saxena G Conceptualising the panic buying phenomenon during COVID-19 as an affective assemblage European Journal of Marketing 2022 56 3313 3346 10.1108/EJM-11-2020-0796 Zaky, A., Mohamed, H. & Saxena, G. Conceptualising the panic buying phenomenon during COVID-19 as an affective assemblage. European Journal of Marketing 56 , 3313–3346. 10.1108/EJM-11-2020-0796 (2022).
4. Islam T Panic buying in the COVID-19 pandemic: A multi-country examination J. Retail. Consum. Serv. 2021 59 102357 10.1016/j.jretconser.2020.102357 Islam, T. et al. Panic buying in the COVID-19 pandemic: A multi-country examination. J. Retail. Consum. Serv. 59 , 102357. 10.1016/j.jretconser.2020.102357 (2021).
5. Herley, C. & Florêncio, D. Nobody Sells Gold for the Price of Silver: Dishonesty, Uncertainty and the UndergroundEconomy. In Moore, T., Pym, D. & Ioannidis, C. (eds.) Economics of Information Security and Privacy , 33–53, 10.1007/978-1-4419-6967-5_3 (Springer US, Boston, MA, 2010).
6. Renwick DW Redman T Maguire S Green Human Resource Management: A Review and Research Agenda* Int. J. Manag. Rev. 2013 15 1 14 10.1111/j.1468-2370.2011.00328.x Renwick, D. W., Redman, T. & Maguire, S. Green Human Resource Management: A Review and Research Agenda*. Int. J. Manag. Rev. 15 , 1–14. 10.1111/j.1468-2370.2011.00328.x (2013).
7. Lwakatare LE Raj A Crnkovic I Bosch J Olsson HH Large-scale machine learning systems in real-world industrial settings: A review of challenges and solutions Inf. Softw. Technol. 2020 127 106368 10.1016/j.infsof.2020.106368 Lwakatare, L. E., Raj, A., Crnkovic, I., Bosch, J. & Olsson, H. H. Large-scale machine learning systems in real-world industrial settings: A review of challenges and solutions. Inf. Softw. Technol. 127 , 106368. 10.1016/j.infsof.2020.106368 (2020).
8. Bertolini M Mezzogori D Neroni M Zammori F Machine Learning for industrial applications: A comprehensive literature review Expert Syst. Appl. 2021 175 114820 10.1016/j.eswa.2021.114820 Bertolini, M., Mezzogori, D., Neroni, M. & Zammori, F. Machine Learning for industrial applications: A comprehensive literature review. Expert Syst. Appl. 175 , 114820. 10.1016/j.eswa.2021.114820 (2021).
9. Adulyasak, Y., Benomar, O., Chaouachi, A., Cohen, M. C. & Khern-am nuai, W. Using AI to detect panic buying and improve products distribution amid pandemic. AI & SOCIETY 10.1007/s00146-023-01654-9 (2023). 10.1007/s00146-023-01654-9 PMC10105357 37358947
10. Ramesh, A. & Banerjee, D. Artificial Intelligence and Prevention of Panic Buying During Disasters. In Arafat, S. Y., Kumar Kar, S. & Kabir, R. (eds.) Panic Buying and Environmental Disasters: Management and Mitigation Approaches , 279–294, 10.1007/978-3-031-10278-3_16 (Springer International Publishing, Cham, 2022).
11. Wongvorachan T He S Bulut O A Comparison of Undersampling, Oversampling, and SMOTE Methods for Dealing with Imbalanced Classification in Educational Data Mining Information 2023 14 54 10.3390/info14010054 Wongvorachan, T., He, S. & Bulut, O. A Comparison of Undersampling, Oversampling, and SMOTE Methods for Dealing with Imbalanced Classification in Educational Data Mining. Information 14 , 54. 10.3390/info14010054 (2023).
12. Zhu T Lin Y Liu Y Synthetic minority oversampling technique for multiclass imbalance problems Pattern Recogn. 2017 72 327 340 10.1016/j.patcog.2017.07.024 Zhu, T., Lin, Y. & Liu, Y. Synthetic minority oversampling technique for multiclass imbalance problems. Pattern Recogn. 72 , 327–340. 10.1016/j.patcog.2017.07.024 (2017).
13. Satu MS Islam SF Modeling online customer purchase intention behavior applying different feature engineering and classification techniques Discov. Artif. Intell. 2023 3 36 10.1007/s44163-023-00086-0 Satu, M. S. & Islam, S. F. Modeling online customer purchase intention behavior applying different feature engineering and classification techniques. Discov. Artif. Intell. 3 , 36. 10.1007/s44163-023-00086-0 (2023).
14. Wang AX Chukova SS Nguyen BP Synthetic minority oversampling using edited displacement-based k-nearest neighbors Appl. Soft Comput. 2023 148 110895 10.1016/j.asoc.2023.110895 Wang, A. X., Chukova, S. S. & Nguyen, B. P. Synthetic minority oversampling using edited displacement-based k-nearest neighbors. Appl. Soft Comput. 148 , 110895. 10.1016/j.asoc.2023.110895 (2023).
15. Abedin MZ Hajek P Sharif T Satu MS Khan MI Modelling bank customer behaviour using feature engineering and classification techniques Res. Int. Bus. Financ. 2023 65 101913 10.1016/j.ribaf.2023.101913 Abedin, M. Z., Hajek, P., Sharif, T., Satu, M. S. & Khan, M. I. Modelling bank customer behaviour using feature engineering and classification techniques. Res. Int. Bus. Financ. 65 , 101913. 10.1016/j.ribaf.2023.101913 (2023).
16. Wang, X., Guo, B., Shen, Y., Zhou, C. & Duan, X. Input Feature Selection Method Based on Feature Set Equivalence and Mutual Information Gain Maximization. IEEE Access 7 , 151525–151538, 10.1109/ACCESS.2019.2948095 (2019). Conference Name: IEEE Access.
17. Bala M Ali MH Satu MS Hasan KF Moni MA Efficient machine learning models for early stage detection of autism spectrum disorder Algorithms 2022 15 166 10.3390/a15050166 Bala, M., Ali, M. H., Satu, M. S., Hasan, K. F. & Moni, M. A. Efficient machine learning models for early stage detection of autism spectrum disorder. Algorithms 15 , 166. 10.3390/a15050166 (2022).
18. Bisong, E. More Supervised Machine Learning Techniques with Scikit-learn. In Bisong, E. (ed.) Building Machine Learning and Deep Learning Models on Google Cloud Platform: A Comprehensive Guide for Beginners , 287–308, 10.1007/978-1-4842-4470-8_24 (Apress, Berkeley, CA, 2019).
19. Satu MS TClustVID: A novel machine learning classification model to investigate topics and sentiment in COVID-19 tweets Knowl.-Based Syst. 2021 226 107126 10.1016/j.knosys.2021.107126 33972817 PMC8099549 Satu, M. S. et al. TClustVID: A novel machine learning classification model to investigate topics and sentiment in COVID-19 tweets. Knowl.-Based Syst. 226 , 107126. 10.1016/j.knosys.2021.107126 (2021). 33972817 10.1016/j.knosys.2021.107126 PMC8099549
20. Sunny, F. A., Khan, M. I., Satu, M. S. & Abedin, M. Z. Investigating External Audit Records to Detect Fraudulent Firms Employing Various Machine Learning Methods. In Giri, D. et al. (eds.) Proceedings of the Seventh International Conference on Mathematics and Computing , Advances in Intelligent Systems and Computing, 511–523, 10.1007/978-981-16-6890-6_38 (Springer, Singapore, 2022).
21. Abedin MZ Tax default prediction using feature transformation-based machine learning IEEE Access 2020 9 19864 19881 10.1109/ACCESS.2020.3048018 Abedin, M. Z. et al. Tax default prediction using feature transformation-based machine learning. IEEE Access 9 , 19864–19881 (2020).
22. Freund Y Schapire RE A decision-theoretic generalization of on-line learning and an application to boosting J. Comput. Syst. Sci. 1997 55 119 139 10.1006/jcss.1997.1504 Freund, Y. & Schapire, R. E. A decision-theoretic generalization of on-line learning and an application to boosting. J. Comput. Syst. Sci. 55 , 119–139 (1997).
23. Jhaveri, S., Khedkar, I., Kantharia, Y. & Jaswal, S. Success Prediction using Random Forest, CatBoost, XGBoost and AdaBoost for Kickstarter Campaigns. In 2019 3rd International Conference on Computing Methodologies and Communication (ICCMC) , 1170–1173, 10.1109/ICCMC.2019.8819828 (2019).
24. Shahriare Satu, M., Atik, S. T. & Moni, M. A. A Novel Hybrid Machine Learning Model to Predict Diabetes Mellitus. In Uddin, M. S. & Bansal, J. C. (eds.) Proceedings of International Joint Conference on Computational Intelligence , 453–465, 10.1007/978-981-15-3607-6_36 (Springer, Singapore, 2020).
25. Wang H Liang Q Hancock JT Khoshgoftaar TM Feature selection strategies: a comparative analysis of SHAP-value and importance-based methods Journal of Big Data 2024 11 44 10.1186/s40537-024-00905-w Wang, H., Liang, Q., Hancock, J. T. & Khoshgoftaar, T. M. Feature selection strategies: a comparative analysis of SHAP-value and importance-based methods. Journal of Big Data 11 , 44. 10.1186/s40537-024-00905-w (2024).
Предметные рубрики MeSH
Подготовка и перевод публикации
Обработка статьи · этапы, ошибки и управление
Ошибки и ограничения
История · было → стало
Состояние обновляется каждые 5 секунд, пока блок открыт. Процент показывается только там, где известен объём работы. Пауза останавливает продолжение этапа; текущий запрос к источнику может завершиться.
Тип публикации указан по данным источника. Уровень доказательности автоматически не присваивается.