Data 1
Data 1
1 Introduction
In recent years, the banking industry has faced increasing competition and rapidly changing
customer behavior. One of the main challenges for banks is to identify customers who are
likely to deposit money through marketing campaigns. Deposits play a crucial role in a
bank’s financial stability, as they provide a primary source of funds for lending and
investment activities.
Because of the rapid development of digital banking systems, banks are now able to collect
large volumes of customer data, including demographic information, financial status and
historical interaction records. Therefore, it creates an opportunity to apply data-driven
approaches to better understand customer behavior and improve decision-making
processes.
In the banking field, machine learning can be applied to predict whether a customer will
subscribe to a term deposit based on historical marketing and customer information. These
predictions can help banks optimize marketing strategies, improve customer targeting and
enhance campaign effectiveness.
Therefore, this study focuses on applying machine learning techniques to evaluate and
predict the likelihood of customers subscribing to a term deposit using a real-world bank
marketing dataset.
Despite the availability of detailed customer and marketing data, banks still face difficulties in
accurately predicting customer responses to deposit marketing campaigns. Customer
decisions to subscribe to a term deposit depend on numerous factors, such as demographic
characteristics, financial conditions, loan status and previous marketing interactions. These
factors interact in complex and non-linear ways, making it difficult to evaluate customer
potential using traditional rule-based approaches.
In practice, banks often apply broad marketing strategies without effectively distinguishing
between customers who are likely to subscribe to a deposit and those who are not. This can
lead to inefficient use of marketing resources, increased operational costs and lower
campaign success rates. Moreover, inaccurate prediction of customer behavior may
negatively impact customer satisfaction and long-term relationships.
Therefore, the problem addressed in this study is the need for a data-driven and systematic
approach that can analyze customer information and predict the likelihood of customers
subscribing to a term deposit. Machine learning models provide a solution by learning
patterns from historical marketing data and generating predictions to support more accurate
and objective decision-making.
● RQ1: What are the key factors that influence customers’ decisions to subscribe to a
term deposit?
● RQ2:Which customer segments are most likely to subscribe to a term deposit, and
what are their typical characteristics?
These research questions guide the design of the methodology, experimental setup and
result analysis in this study.
2 Related works
1. A data-driven approach to predict the success of bank telemarketing (Moro et al.
2014). [Link]
Objective: Propose an effective data mining approach to forecast the success of long-term
deposit telemarketing campaigns. The authors aim to support bank managers in reducing
wasted resources on ineffective calls and minimizing customer annoyance, particularly in the
context of the economic recession in Portugal at that time.
Methods: Four machine learning models representing different analytical approaches are
used: Logistic Regression, Decision Trees, Artificial Neural Networks and Support Vector
Machines. The main evaluation metrics include the Area Under the ROC Curve (AUC) and
the Area under the LIFT curve (ALIFT).
Results: The Neural Network (NN) model demonstrates superior performance compared to
the other models, achieving an AUC of 0.8 and an ALIFT of 0.7. Analysis of the LIFT curve
shows that if the bank focuses its calls on only the top 50% of customers ranked by the
model, it can reach up to 79% of successful subscribers. This means that the bank can
reduce calling efforts by half while retaining nearly 80% of the total revenue.
Limitations: At the time of the study (2014), data imbalance handling techniques such as
SMOTE were not yet widely applied. Moreover, the dataset is limited to a single bank in one
country, which may restrict the generalizability of the findings
Objective: Jiang et al. (2025) aim to predict whether a customer will subscribe to a term
deposit using bank marketing data, framing the problem as a binary classification task to
support more effective customer targeting.
Method: The study uses the Portuguese Bank Marketing dataset from the UCI Machine
Learning Repository and applies Logistic Regression as a baseline model. Feature selection
based on correlation analysis is performed to remove irrelevant variables and improve model
interpretability.
Result: Results show that Logistic Regression achieves stable and improved performance
after feature selection and is less prone to overfitting than Decision Tree models, confirming
its effectiveness as a baseline for term deposit prediction.
Limitations: Rely on Logistic Regression as a baseline model, which may not capture
complex non-linear relationships in customer behavior. In addition, class imbalance in term
deposit subscription is not explicitly addressed, potentially affecting prediction performance.
Objective: This study aims to address the difficulty banks face in identifying target
customers for term deposit products. The main objective is to build and compare the
performance of five supervised machine learning models to predict whether a customer will
subscribe to a term deposit.
Methods: The authors use the Bank Marketing dataset from the UCI Machine Learning
Repository. Five algorithms are applied: Naive Bayes, Decision Tree, Random Forest,
Support Vector Machine and Neural Network.
Results: Random Forest achieves the highest accuracy (91.89%), followed by Decision
Tree (91.79%) and SVM (91.72%). The Neural Network model shows the highest sensitivity
(99.99%) but lower accuracy (88.86%) because it overpredicts the “no subscription”
outcome.
Limitations: the study does not apply attribute selection techniques to further optimize
model performance.
Objective: Tuan (2022) studies the prediction of customer subscription to banking term
deposits in order to improve marketing effectiveness, focusing on advanced deep learning
approaches for the same business problem addressed in this study.
Method: The research uses the Bank Marketing dataset from Kaggle, which is similar in
structure to the UCI dataset and applies several deep learning models, including
SimpleRNN, LSTM, GRU, BiLSTM and BiGRU, to model complex relationships in customer
data.
Results: The results show that deep learning models achieve high accuracy, with GRU
performing best (around 90.8%), followed by BiLSTM and BiGRU, indicating the potential of
deep learning for term deposit prediction.
Limitations: The study primarily evaluates model performance using accuracy, without
detailed analysis of precision, recall, or class imbalance, which are critical in banking
applications. In addition, the deep learning models provide limited interpretability, making it
difficult to explain predictions to banking practitioners. Finally, the dataset is tabular rather
than truly sequential, which raises questions about the suitability of RNN-based models such
as LSTM and GRU for this problem.
Objective: The study aims to predict customers’ subscription to bank term deposits and
improve model interpretability. It focuses on identifying key customer features that influence
subscription decisions and avoids using unrealistic predictors such as call duration.
Methods: The author uses telemarketing data from a Portuguese bank (UCI dataset) and
applies two interpretable machine learning models: Decision Tree and Random Forest.
Categorical variables are converted using one-hot encoding, the data is split 80:20 for
training and testing and the variable “duration” is excluded from predictive models. Model
performance is evaluated using confusion matrices and AUC-ROC scores, along with
importance analysis.
Limitations: The predictive performance is lower than previous studies because a highly
correlated variable, which is duration, is removed. The study also relies on only two
tree-based models and does not explore more advanced algorithms such as deep learning.
3 Background
The Importance of Data Analytics in Bank
In the era of rapid digital transformation, financial institutions are increasingly
relying on data analytics to optimize business operations and
decision-making. One of the most critical areas is the segmentation ,
particularly term deposits. However, the major challenge today is the high cost
of campaign execution coupled with low response rates, primarily due to the
lack of synchronized data exploitation.
Targeting the wrong audience not only wastes resources but also negatively
impacts brand image. For instance, a customer who currently has an active
loan at Techcombank (TCB) and is under the pressure of monthly interest
payments may still repeatedly see Facebook ads from TCB inviting them to
open a savings account. This "mismatched" marketing approach
demonstrates a lack of customer insight:
● Wrong Audience: The customer needs debt solutions, not investment
products for idle cash.
● Poor Timing: This creates annoyance and leads the customer to
perceive the bank as unprofessional in data management.
● Wasted Costs: The bank is paying for ad impressions that yield zero
value.
Practical Results:
Through CRM, Techcombank has increased campaign response rates, improved customer
retention, and reduced communication costs with low-potential leads.
● Increased lead distribution to sales teams: According to the 2024 Annual Report,
by combining CRM with data analytics and AI, Techcombank increased the number
of leads allocated to the sales force by 45% year-over-year. CRM enables a deeper
understanding of customers and ensures the right leads are assigned to the right
[Link]://[Link]/FileStore2/File/2025/04/09/20250409_TCB_250409_Ann
ual_Report_2024.pdf?utm_source=[Link]
●
● Improved conversion rates: The report also indicates that CRM and data insights
helped the bank achieve a conversion rate of approximately 29.3%, representing a
~41.5% year-over-year increase. This reflects that CRM does not just collect data but
effectively leverages it for sales and marketing
[Link]://[Link]/FileStore2/File/2025/04/09/20250409_TCB_25040
9_Annual_Report_2024.pdf?utm_source=[Link]
● Khai thác mối quan hệ phi tuyến giữa các biến đầu vào
● Xử lý tốt dữ liệu có tính đa dạng và mất cân bằng
● Nâng cao hiệu suất phân loại so với các mô hình thống kê cơ bản
Việc sử dụng các thuật toán ngoài chương trình học không chỉ giúp mở rộng phạm vi nghiên
cứu mà còn cho thấy tiềm năng ứng dụng của khoa học dữ liệu trong các bài toán nghiệp
vụ thực tế của ngành ngân hàng.
Dựa trên những ý chính bạn đã nêu, kết hợp với các kiến thức từ tài liệu chuyên ngành
(như nghiên cứu của Moro et al.) và thực tế tại các ngân hàng như Techcombank, dưới đây
là phân tích chuyên sâu về ba trụ cột này trong chiến lược ngân hàng hiện đại:
4 Methodology
4.1 Method
This study adopts a quantitative research approach based on the CRISP-DM framework.
The analysis follows six phases: business understanding, data understanding, data
preparation, modeling, evaluation, and deployment. All data mining tasks were conducted
using Orange Data Mining.
4.2 . Data
The Bank Marketing dataset was obtained from the UCI Machine Learning Repository. It
contains records of direct marketing campaigns conducted via telephone by a Portuguese
bank between 2008 and 2010. The objective is to predict whether a client subscribes to a
term deposit (target variable y). The dataset includes 45,211 observations with 16 predictor
variables and one binary target. There are no null (NA) values; however, several categorical
variables include an “unknown” category. Table 1 summarises the variables used in this
study. Table 2 reports descriptive statistics for key numerical variables, while Figures 3 and 4
illustrate selected categorical distributions, including the imbalanced subscription outcome.
Type Description
Variable Name
pdays Integer Number of days since the client was last contacted
from a previous campaign (-1 means the client was
not previously contacted)
5 Experiment
First, the dataset was prepared for modelling. Categorical variables were encoded and
numerical variables were standardised using z-score normalisation (μ = 0, σ = 1) to ensure
consistent feature scales. Potential outliers were inspected using the Outliers widget to
reduce the influence of extreme values on model training.
Next, the dataset was split into training and testing sets using a hold-out approach with an
80:20 ratio (Data Sampler). Three classification models were trained and compared: Logistic
Regression, Neural Network, and Decision Tree. Model performance was evaluated on the
test set using multiple metrics to account for the imbalanced target distribution.
To answer the first research question on influencing factors, Logistic Regression was
selected as the primary interpretable model. Feature effects were interpreted using a
nomogram (log-odds scale), where positive contributions indicate an increased likelihood of
subscribing to a term deposit and negative contributions indicate a decreased likelihood.
To address the second research question, clustering was applied to group customers with
similar characteristics. Before clustering, categorical variables were encoded and numerical
features were standardised. The target variable (y) was excluded from the clustering process
and used only after clustering to examine subscription tendencies across segments.
K-means clustering was used to segment customers into distinct clusters. The clustering
results were then analysed by comparing subscription rates across clusters and profiling
each cluster using key attributes such as age, balance, and loan indicators.
Because the subscription outcome is imbalanced (far fewer “yes” cases than “no”), multiple
evaluation metrics were used instead of relying only on accuracy:
● Recall measures how well the model identifies actual subscribers, which is important
to avoid missing potential customers.
● F1-score is the harmonic mean of precision and recall, providing a balanced view
under class imbalance.
● AUC (Area Under the ROC Curve) evaluates the model’s ability to distinguish
between subscribers and non-subscribers across thresholds.
● Silhouette Score evaluates how well-separated the clusters are; higher values
indicate better-defined clusters.
Using 5-fold cross-validation, Logistic Regression and Neural Network achieve very similar
overall performance (AUC 0.908 vs 0.904; F1 ≈ 0.900), while the Decision Tree performs
substantially worse (AUC 0.585). Therefore, the final model selection depends on the
trade-off between detection performance and interpretability
At the default threshold (0.5), the Neural Network identifies the most subscribers (TP = 1646)
and has the lowest false negatives (FN = 1777), which is suitable when the objective is to
capture as many potential subscribers as possible. In contrast, Logistic Regression produces
the fewest false positives (FP = 653), reducing unnecessary targeting, and remains easier to
interpret. Given the research goal of identifying key influencing factors, Logistic Regression
is selected for further interpretation.
The ROC curves confirm that Logistic Regression and Neural Network have comparable
discrimination ability, consistent with their similar AUC values. The Decision Tree curve lies
closer to the diagonal, indicating weak classification ability.
4. Nomogram
Based on the logistic regression nomogram (target class = 1, “subscribed”), the five most
influential variables are duration, previous, campaign, poutcome, and month. The results
suggest that customers’ subscription decisions are driven largely by interaction intensity and
campaign history, rather than purely demographic factors.
Conclusion
In summary, the logistic regression results indicate that term deposit subscription is most
strongly associated with call engagement (duration) and marketing contact dynamics
(previous, campaign, and poutcome), with seasonality (month) also playing an important
role. These findings imply that improving interaction quality and learning from prior campaign
outcomes may be more impactful than simply increasing contact frequency.
2. Which customer segments are most likely to subscribe to a term deposit, and
what are their typical characteristics?
K-means clustering was performed using customer attributes only (excluding the target
variable y). The target y was used afterward to compare subscription rates across clusters.
To understand which customers are more likely to subscribe to a term deposit, the dataset
was segmented into three clusters (C1–C3). The subscription rate for each cluster was
calculated as:
C2 shows the highest subscription rate (16.3%), suggesting this is the most responsive
segment for term deposit offers. Customers in this cluster have the highest average account
balance (5093) and the lowest personal-loan prevalence (8.2%). Their average age is
around 42.5, placing them in a middle-aged group. They also have the highest average
number of previous contacts (0.758), which may indicate stronger prior engagement with the
bank.
Summary: financially stronger customers with low personal debt and slightly higher prior
engagement are the most likely to subscribe.
C3 has a subscription rate of 10.5%, which is lower than C2. This cluster is the youngest
group (33.9 years) and has a low average balance (523). A key feature of this segment is
the high housing-loan proportion (67.3%), suggesting many customers are already
managing major financial commitments. Their average previous contacts (0.624) is
moderate.
Summary: younger customers with lower balances and higher housing-loan burden appear
less likely to commit funds to term deposits.
Segment C1 – Older, lower-engagement customers (lowest likelihood)
C1 records the lowest subscription rate (10.1%). Customers in this cluster are the oldest
(51.9 years) with a moderate average balance ( 692). They also have the lowest average
previous contacts (0.440), which may reflect weaker engagement with prior marketing
efforts. Compared with the other groups, C1 has the lowest housing-loan proportion (41.7%),
but this does not translate into higher subscription.
Summary: although older, this group shows lower engagement and does not subscribe more
than the younger group.
Conclusion
Overall, Segment C2 is the most likely to subscribe to a term deposit. The profile of this
segment suggests that customers with higher balances, lower personal debt, and stronger
prior engagement are more responsive to term deposit products. In contrast, C1 and C3
show similarly lower subscription rates, with C3 likely constrained by higher housing-loan
commitments and C1 potentially limited by weaker engagement.
7 Conclusion
This study used the Bank Marketing dataset from the UCI Machine Learning Repository,
consisting of 45,211 records collected from telephone-based marketing campaigns
conducted by a Portuguese bank between 2008 and 2010. The dataset includes 16 predictor
variables describing customer demographics, financial conditions (e.g., balance, housing
loan, personal loan), and campaign-related interaction features, with a binary target variable
indicating whether a customer subscribed to a term deposit.
Following the CRISP-DM framework, two main experiments were conducted. First, a
classification task was performed to predict term deposit subscription using Logistic
Regression, Neural Network, and Decision Tree models. Model performance was evaluated
using multiple metrics—AUC, accuracy, precision, recall, F1-score, and MCC—to account for
the imbalanced distribution of the target class. The results show that Logistic Regression
and Neural Network achieved similarly strong predictive performance (AUC around 0.90),
while the Decision Tree performed substantially worse. Logistic Regression was selected as
the final model because it provides competitive performance while remaining interpretable
for factor analysis. Based on the logistic regression nomogram, the most influential
predictors include call duration, previous contacts, campaign intensity, previous campaign
outcome, and the month of contact. Overall, the findings suggest that subscription behaviour
is driven primarily by interaction intensity and campaign history, with seasonality also playing
a meaningful role.
Second, K-means clustering was applied to segment customers into three groups and to
identify which segments were more likely to subscribe. The analysis shows that Cluster C2
has the highest subscription rate (16.3%) and is typically characterised by a higher average
account balance, a lower prevalence of personal loans, and slightly higher prior engagement
(more previous contacts). In contrast, the other clusters exhibit lower subscription rates and
are associated with lower balances or heavier loan commitments.
Despite these insights, the study has several limitations. The target variable is imbalanced,
which can affect model calibration and the interpretation of accuracy. In addition, some
predictors—especially call duration—are only observed during the interaction and are not
available before contacting the customer, limiting their usefulness for pre-call targeting.
Future work could address these issues by applying imbalance-handling techniques (e.g.,
class weighting or resampling), optimising decision thresholds based on the cost trade-off
between false positives and false negatives, and developing a “pre-call” model that uses
only variables known before contacting customers. Further extensions may also include
testing stronger ensemble methods (e.g., gradient boosting) and using advanced
explainability tools such as SHAP to validate and deepen the interpretation of key drivers.
Abstract
This study investigates customers’ subscription decisions for term deposits using the Bank
Marketing dataset from the UCI Machine Learning Repository. The dataset contains 45,211
observations collected from telephone-based direct marketing campaigns conducted by a
Portuguese bank between 2008 and 2010. It includes 16 predictor variables covering client
demographics (e.g., age, job, education), financial status (e.g., balance, housing loan,
personal loan), and campaign interaction features (e.g., contact duration, number of contacts
in the current campaign, and previous campaign outcomes). The target variable indicates
whether the customer subscribed to a term deposit.
Following the CRISP-DM framework, the analysis consists of two experiments. First, three
classification models—Logistic Regression, Neural Network, and Decision Tree—were
developed to predict term deposit subscription. Models were evaluated using AUC,
accuracy, precision, recall, F1-score, and Matthews Correlation Coefficient (MCC) to account
for the imbalanced class distribution. Logistic Regression and Neural Network achieved
comparable predictive performance (AUC approximately 0.90), while the Decision Tree
performed substantially worse. Logistic Regression was selected as the final model because
it provides competitive performance and strong interpretability for factor analysis. Using a
nomogram, the most influential factors were identified as call duration, previous contacts,
campaign intensity, previous campaign outcome, and month of contact.
Second, K-means clustering was applied to segment customers into three groups.
Subscription rates were calculated for each segment, revealing that Cluster C2 had the
highest subscription rate (16.3%). This segment typically featured higher account balances,
lower personal-loan prevalence, and slightly higher prior engagement. Overall, the findings
suggest that subscription behaviour is driven more by campaign interaction dynamics and
financial readiness than by demographics alone, providing actionable insights for improving
targeting strategies in future campaigns.