<!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Archiving and Interchange DTD v1.0 20120330//EN" "JATS-archivearticle1.dtd">
<article xmlns:xlink="http://www.w3.org/1999/xlink">
  <front>
    <journal-meta />
    <article-meta>
      <title-group>
        <article-title>Forecasting Credit Card Attrition using Machine Learning Models</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Carlos Alvaro Rico-Poveda</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Ixent Galpin</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>Universidad de Bogotá Jorge Tadeo Lozano</institution>
          ,
          <addr-line>Bogotá</addr-line>
          ,
          <country country="CO">Colombia</country>
        </aff>
      </contrib-group>
      <fpage>120</fpage>
      <lpage>134</lpage>
      <abstract>
        <p>In recent years, credit card attrition has emerged as an issue of significant concern for the banking sector. It has a significant impact on profitability, given that the cost of acquiring new customers is higher than that of retaining existing customers. In this work, a selection of supervised Machine Learning models to identify which customers want to cancel their credit cards is evaluated. The banking industry uses this technology to obtain more reliable predictions when identifying opportunities for purchase, investment, or fraud. These models can be adapted independently, by recognizing patterns and algorithms based on mathematical calculations. Four models (LightGBM, XGBoost, Random Forest and Logistic Regression) were evaluated to predict, using data about customers and products held pertaining to a bank in Colombia, the likelihood of customers canceling their credit cards. By analyzing the ROC curves using the AUC metric, it is concluded that, of the selected models, the model chosen for deployment would be LightGBM, since it was the one that performed best in the experiments conducted. Furthermore, the “Score Acierta” variable, a customer rating provided by the Colombian credit rating agency, was found to be the most discriminating in prediction models.</p>
      </abstract>
      <kwd-group>
        <kwd>eol&gt;Machine Learning</kwd>
        <kwd>Supervised Learning</kwd>
        <kwd>Credit Card Attrition</kwd>
        <kwd>LightGBM</kwd>
        <kwd>XGBoost</kwd>
        <kwd>Random Forest</kwd>
      </kwd-group>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>1. Introduction</title>
      <p>
        The materialization of the constant risk of losing customers in banking entities has been a
considerable cause in the decrease of products and income for banks [
        <xref ref-type="bibr" rid="ref1">1</xref>
        ]. This is due to factors
that influence on the condition of a product, benefits in interest rates and competition. In
recent years, the market for new credit card customers has shrunk considerably. This means
that banks are forced to increase their client base mainly by attracting users from other entities.
      </p>
      <p>Their tactic has been to ofer low rates through portfolio purchases, expecting the balance
to remain with the bank after the interest converts to the normal rate. However, many clients,
hoping to maintain an attractive interest rate, transfer their balance from one card to another
before the rate returns to normal. Likewise, there is an improvement in the condition of credit
such as refinancing, lower monthly payments and consolidation.</p>
      <p>As a result, the cost of acquiring new users is increasing. This has created a major shift in
banks commercialization strategies, as many banks are focusing more on customer retention
because it costs less to maintain an existing customer than to acquire a new one. In this way,
a long-term customer tends to consume more and is less sensitive to competition. One way to
improve retention is to take appropriate action towards customers at risk of loss or leakage.</p>
      <p>Situations like these provide the possibility of creating a model through information sources
and data analysis that predict the act of reducing and ending the use of a product or service
after it has been activated. Attrition models, also known as retention or churn models, predict
the probability that a customer wants to cancel some or all the products with the entity through
patterns or sequences of financial activity.</p>
      <p>
        The retention of clients is quite important since if they do not retain their loyalty their
acquisition cost is not compensated, and the expected profitability will not be achieved. To
determine it an analysis is made during a specific period of time where Equation 1 can be used,
which shows the retention rate [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ]. This formula indicates the ability to retain customers,
points to the behavior and retention strategy on which loyalty campaigns should focus on the
specific target.
      </p>
      <sec id="sec-1-1">
        <title>Customers lost in a year</title>
        <p>Retention rate = (1 − Customer in portfolio ) ⋅ 100% (1)</p>
        <p>Because these cancellations have such a significant impact on profitability, many companies
are making these models the focus of loyalty strategies. To obtain the expected results, it is of
great importance to have a standardized data set where accurate and truthful information can
be acquired. The study was conducted in a Colombian financial institution, which did not have
this new technology to develop the model and mitigate the problem. This has been a point that
has made it dificult to develop the project while organizing a complete and functional data set
that can yield results and the reasons for leakage.</p>
        <p>As mentioned above, the bank did not have the necessary data to mitigate the cancellation or
surrender of financial products. The areas in charge carried out a comparison of flat files, and
the result obtained was a spreadsheet with the data of the clients that were likely to abandon it.
Afterwards, it was sent to the marketing area to implement loyalty campaigns. It was a purely
manual process and without reliability in the information.</p>
        <p>For this reason, the need arises to make an attrition model that helps to focus the data and
understand the situation of the bank’s customer churn, either due to the total and partial
cancellation of the products, or inactivity for a long period of time. Having such a model will allow
ifnancial institutions to define retention and create campaigns to carry out commercial actions
in a “personalized” way.</p>
        <p>In this work, four machine learning models (LightGBM, XGBoost, Random Forest, and
Logistic Regression) are evaluated to predict through customer data and their products the likelihood
of them canceling their credit cards.</p>
        <p>
          This paper has the following structure. Section 2 discusses existing work addressing the
problem of attrition in banks. Subsequently, a subset of the phases of the CRISP-DM
methodology [
          <xref ref-type="bibr" rid="ref3">3</xref>
          ] are applied. Section 3 presents the business and data understanding phases. Section 4
describes the preparation of the data and its analysis. Section 5, describes the implementation
of machine learning models. Section 6 presents the results and comparison of the models,
identifying the most suitable model for deployment. Section 7 presents conclusions and future
work.
        </p>
      </sec>
    </sec>
    <sec id="sec-2">
      <title>2. Related Work</title>
      <p>
        Van present a study carried out in England in 2003 [
        <xref ref-type="bibr" rid="ref4">4</xref>
        ]. The bank from which they obtained
the data requested to remain anonymous to protect its customers. The research used the Cox
proportional hazard method, also known as Cox regression [
        <xref ref-type="bibr" rid="ref5">5</xref>
        ]. The data was taken from
clients with credits and insurance. The results obtained allow us to observe that there are two
critical periods of attrition, the initial one in the first years after becoming a client and the
secondary one after being a client for more than 20 years. As a conclusion, it was possible to
predict that to reduce the rates of attrition banks must ofer incentives for their customers to
stay.
      </p>
      <p>
        In Manrai a multidimensional analysis was carried out of the satisfaction customers have
with the financial services of their banks [
        <xref ref-type="bibr" rid="ref6">6</xref>
        ]. The survey was conducted with consumers from
ifve diferent banks in the US. Using the factor analysis technique, the authors were able to
recognize four dimensions to measure customer satisfaction and thus reduce withdrawal or
cancellation of their products with the banks. The dimensions were: Personal considerations
(eficiency and attitude of employees, responsibility and competence), financial considerations
(interest rates, handling fee, etc.), environmental considerations (location of branches,
appearance of branches, etc.) and convenience of service (number of ATMs and service in branches).
      </p>
      <p>
        It is noted that attrition prediction became the main focus of banks in China. Xie proposes a
learning method called Improve Balanced Random Forests (IBRF), which is applied to a data set
from a Chinese bank [
        <xref ref-type="bibr" rid="ref7">7</xref>
        ]. As a result, it was found that it substantially improved the accuracy
of the prediction of clients with high attrition likelihood compared to other machine learning
algorithms such as neural networks, decision trees, support vector machines, and even other
random forests algorithms.
      </p>
      <p>
        Verbeke indicates that customer attrition models must take into account two fundamental
components: the ability to predict and the ability to understand [
        <xref ref-type="bibr" rid="ref8">8</xref>
        ]. The union of these two
competencies enables the development of safe and solid strategies. It is also indicated that
survival analysis and logistic regression are the most used statistical methods for this type of
problems.
      </p>
      <p>
        According to Chitra , for banks prediction of attrition is a subject of utmost importance. To
solve this problem, the authors have proposed using classification and regression trees to obtain
a better rate of categorization through the patterns of customers who left [
        <xref ref-type="bibr" rid="ref9">9</xref>
        ]. This knowledge
was then used to assign an attrition potential rating to current customers.
      </p>
      <p>
        In China, to increase their profits from continuing operations and improve core
competitiveness, banks must avoid losing customers while acquiring new ones. In He the prediction
of customer attrition for commercial banks is analyzed using Support Vector Machines (SVMs)
and uses a random sampling method to improve the results of the model, taking into account
the imbalance characteristics of the customer data sets. The results show that this method can
efectively improve the prediction accuracy of the selected model [
        <xref ref-type="bibr" rid="ref10">10</xref>
        ].
      </p>
      <p>
        In the United Kingdom in 2014 [
        <xref ref-type="bibr" rid="ref11">11</xref>
        ] an investigation was carried out with data from a
financial institution, where they showed that eficient use of information helps to predict customer
attrition. Using an orthogonal polynomial approximation analysis to obtain a group of
unobservable variables, which they then used as input data in a probit hazard rate model. The
results obtained showed that the use of this information improves the predictive power.
      </p>
      <p>
        Zhao [
        <xref ref-type="bibr" rid="ref12">12</xref>
        ] proposes a new framework based on clustering and classification to help Chinese
banks with the prediction of customers who will cancel their products. The proposed method
is supported by the result of data exploration: it groups the characteristics of the customer and
takes a decision with a classifier.
      </p>
      <p>For the development of this project, data analysis was carried out using four recent
algorithmic models, based on the implementation of the latest developments of each one, in order to
predict a variable that identifies which customers want to cancel their credit cards.
Furthermore, two techniques were implemented for the selection of definitive variables used to run
the models.</p>
    </sec>
    <sec id="sec-3">
      <title>3. Business and Data Understanding</title>
      <p>The project was carried out in a Colombian bank with more than 50 years of experience in
the market. This entity has more than 2.5 million clients nationwide and a wide portfolio of
banking products, being one of the most important when it comes to banking Colombians.
According to the economic activity of the country, the bank belongs to the tertiary sector:
banking services, registering a 27% growth in loan portfolios, and increasing deposits by 29%.
All these increases place it among the entities with the best growth in the bank-financial
system, according to the Superintendence of Finance.</p>
      <p>The analysis was carried out in the Customer Relationship Management (CRM) department
and Analytics department, an area where all the information about the customer and their
products is stored. With this data, models are developed that allow the attraction and
retention of customers. The bank has its own cards with traditional franchises (generic cards and
non-generic cards). The non-generic ones are associated with more than 30 brands across the
country. Table 1 shows the distribution of the cards in the bank.</p>
      <p>
        The type of cards chosen to carry out the project were generic. Although these make up a
lower percentage of the total distribution, more complete data about them is available, such as:
• Number of products in the bank with their respective balances and credit limits.
• Data such as the scores of the risk models to obtain the Recency, Frequency, Monetary
(RFM) model [
        <xref ref-type="bibr" rid="ref13">13</xref>
        ].
      </p>
      <p>As non-generic cards are from private companies, their policies prevent sharing relevant
information with the bank. For this reason, this type of card is not viable for the study to
be carried out. The models made from the analytics area have the client as their main focus.
Therefore, the data for this study will not be taken from each credit card but from the customers
to which they belong.</p>
      <p>The data obtained in Table 2 refers to the number of active cards that each customer has
with the bank. In this way, we obtain the clients who are the focus of this study. An analysis
was necessary to verify the cancellation percentage of credit cards at the bank. Table 3 shows
how the behavior of the attrition in the bank was the quarter prior to the creation of the data set
for the study. According to the analysis, it was shown that the percentage was steady but not
especially high. However, this does imply a concern for the credit card area since the recurring
cancellation of this product is being made on a monthly basis by customers.</p>
    </sec>
    <sec id="sec-4">
      <title>4. Data Preparation and Analysis</title>
      <p>The study uses a data set that contains a sample of approximately 220,000 records (active
customers with generic credit cards as of July 2019). From this information, the financial behavior
of the clients in the previous year (August 2018 - July 2019) was obtained. In this data set there
is detailed information that the bank obtains from diferent sources to analyze the use of each
customer’s credit cards, such as
• The balance, the invoicing, the credit card limit, product usage and its cut-of dates;
provided by the Analytics and CRM area
• The scores provided by the risk area models.
• The financial information of each client at the national level provided by the DataCrédito1
credit rating agency.
This data is complemented with information on loans, current accounts, long terms deposits,
mortgage loans, revolving loans, and demographic data (age, social stratification, gender, and
economic activity).</p>
      <p>There were three main data sources: the analytical area has its information in an SQL Server
2017 database, the risk area that has its data stored in an Oracle 11g database, and finally an
Excel 2017 file sent from DataCrédito every three months. As can be seen in the Figure 1 SAS
was used to integrate the sources and subsequently a .csv file was generated with the final data
set.</p>
      <p>At the same time, filters were made which allow obtaining cleaner and more relevant
information for the case study. Therefore, the data set only contains credit cards that are active, that
are not covered, nor provided by an SME or any type of company In addition to these filters, it
is important to emphasize that it was not possible to diferentiate between voluntary attrition
and involuntary attrition since the bank did not have the relevant information to obtain this
diferentiation.</p>
      <p>This results in the integrated data set, which is then analysed in order to determine the
importance of the variables in terms of customer attrition, which will be used in the prediction
models. For this purpose, variables are categorised thus:
• Bank variables comprise those that capture the financial habits of customers, with the aim
of identifying changes in the transactional behavior of users. Such variables include:
the amounts of products per customer, balances (average and monthly) of the liability
products, the credit limit, the number and value of credit card transactions, and number
of months as a customer.
• Sociodemographic variables are the measurable data that correspond to the general
characteristics related to the personal aspects of the clients, among these are: age, economic</p>
      <p>activity, gender, occupation, and social stratification
• The target variable is the variable to be predicted that indicates whether a client canceled
their credit card or not.</p>
      <p>The subsequent step is to build a correlation matrix, using all the continuous variables from
the data set. This matrix, shown in Figure 2, provided an understanding of the most positively
and negatively correlated variables to determine which data were best outlined to be part of
the data set used in the model. According to Figure 2 it can be observed that there is a high
positive correlation between: the data of six and twelve months, the balance and usage of the
credit card and the billing with the number of transactions in twelve months. Likewise, there is
a negative correlation noted between the balance registered in other banks without a mortgage
with the balance of all products with a mortgage.</p>
      <p>
        Moreover, the analysis performed was made on categorical and continuous variables such as
(a) Histogram showing distribution of client ages
(b) Length of relationship with client in months
(c) Gender vs Attrition Diagram
(d) Occupation vs Attrition Diagram
age, where it was observed in Figure 3a that most credit card customers are in a range between
45 and 50 years. In [
        <xref ref-type="bibr" rid="ref14">14</xref>
        ] age is considered as a discriminatory variable. This study concludes
that older people have more stable preferences, and therefore, have less tendency to switch
from one financial institution to another. On the other hand, young people are more unstable
in their preferences, increasing their tendency to change the financial institution.
      </p>
      <p>
        The Figure 3b analyzes the client’s loyalty with the entity in months. In [
        <xref ref-type="bibr" rid="ref4">4</xref>
        ] It can be
concluded that clients who have been a longer time at the bank have less tendency to leave.
      </p>
      <p>Likewise, Figure 3c indicates the gender distribution of the clients (female and male) against
the response variable. There is a similarity observed in the percentage of canceled credit cards
of both genders. However, it can be concluded that both genders behave diferently when
managing money but their participation in the banking market has the same proportion.</p>
      <p>Figure 3d shows the economic activity of each client. In this variable, the following fields
were analyzed: independent workers, employees, and pensioners. It was observed that there is
a scale in the cancellation of credit cards, where self-employed workers are the ones who most
register this process. This is due to diferent factors that influence their economic activity such
as having one or more products with the same financial institution and not being able to fulfill
their obligations. Likewise, due to the nature of their work they are a more sensitive target to
campaigns or ofers of other banking entities.</p>
      <p>In Figure 4 the analysis was performed on the banking variable Quanto, which represents
the estimate of customer income in DataCrédito. It can be seen that there is a diference and
that customers who cancel tend to have lower income.</p>
      <p>After carrying out the exploration on some variables, the analysis made was conducted to
know the number of null values to determine if any variables got discarded for having more
than 20% of null records. However, as can be seen in Table 4, no variable exceeds this threshold;
therefore none were discarded. The table shows the six variables with the highest percentage
of null records.</p>
      <p>
        As a final part of the preparation, the selection of the variables to be used with the models
is made to identify which ones are the best qualified. Two techniques were considered for the
selection of variables. The first technique is Kolmogorov-Smirnov statistics (KS) [
        <xref ref-type="bibr" rid="ref15">15</xref>
        ]:
 
= max || ,
 ∈[, ]
( ) −  ,
      </p>
      <p>( )||
where the main idea is to find the vertical diference in the distributions, then both functions
are subtracted from the accumulated distribution, the maximum diference is obtained to see
how diferent both distributions can be and the absolute value is used so that it does not matter
that  ( ) has a negative sign.</p>
      <p>
        The second technique is the Information Value (IV) [
        <xref ref-type="bibr" rid="ref16">16</xref>
        ]:
 
= ∑(Event% − Non Event%) ∗
      </p>
      <sec id="sec-4-1">
        <title>Event%</title>
        <p>( Non Event% )
(3)
This technique was the one that allowed the analysis of all the variables, since with it the
number of bins could be modified and thus all the records of these variables were analyzed.
Three functions were created to handle the diferent types of data in the data base. In Figure 5
the results obtained with the score given to each of the variables are observed, where the nine
best qualified were chosen. With this result, the final data set obtained was used in the models.</p>
      </sec>
    </sec>
    <sec id="sec-5">
      <title>5. Modeling and evaluation</title>
      <p>Machine learning techniques are data approaches based on prediction and the construction of
analytical models, with the aim of identifying patterns that can reduce the risk of leakage and
have reliable results.</p>
      <p>The study was conducted entirely in the Anaconda 2020.02 tool using the Jupyter Notebook
IDE version 6.03 and Python version 3.8.3. The libraries with the versions used for the execution
of the models are listed in Table 5.</p>
      <p>For the analysis of the final data set, the following algorithms were taken into account in
order to obtain the predictive model that best indicates which customers are going to cancel
their credit cards and thus carry out marketing campaigns focused on customer’s needs.</p>
      <sec id="sec-5-1">
        <title>5.1. Random Forests Model</title>
        <p>
          Random Forests (RF) is an ensemble algorithm that uses decision trees as base classifiers, each
contributing one vote for assigning the most frequent class to the input vector. The RF increases
the diversity of decision trees by growing them from diferent subsets of data [
          <xref ref-type="bibr" rid="ref17">17</xref>
          ]. Unlike
decision trees, RF do not test the entire feature space when deciding how to divide the tree.
Only one random subset of the space features is considered in each division, through a
twostage process [
          <xref ref-type="bibr" rid="ref18">18</xref>
          ]:
• A considerable number of decision trees are generated with the data set. Each tree
contains a random subset of m variables (predictors) such that  &lt;  (where  = total
predictors).
        </p>
        <p>• Each tree grows to its maximum extent to obtain better results in the model predictions.</p>
        <p>This algorithm allows the analysis of the understanding of the model through an
inputoutput process, in order to obtain a number of variables to be selected in the participation of
each tree. To find the parameters, it is necessary to leave one of the two variables with the
value determined by the algorithm and the other will increase, in order to obtain the possible
iterations.</p>
      </sec>
      <sec id="sec-5-2">
        <title>5.2. XGBoost Model</title>
        <p>
          The Extreme Gradient Boosting (XGBoost) [
          <xref ref-type="bibr" rid="ref19">19</xref>
          ] algorithm is a technique that uses weak tree
models in order to take these results to generate a stronger one, with better predictive power
and greater stability in the results, implying: a loss function to optimize an algorithm based on
learning to obtain the results and finally a model that minimizes the loss function.
        </p>
        <p>
          The XGBoost algorithm is obtained through an initial tree  0 to predict the target variable
 , which adjusts to the error of the previous step. The results of  0 and ℎ1 are combined to
obtain the tree  1. This process is iterative until the error is minimized as much as possible in
the following way [
          <xref ref-type="bibr" rid="ref20">20</xref>
          ]:
        </p>
        <p>Fm( ) &lt; −Fm − 1( ) + hm( ) (4)</p>
        <p>Using decision trees with low bias and high variance, this algorithm allows obtaining a real
value score, independent of its classification and regression. This has the purpose of
potentiating the results through the sequential process of the data with a loss function, which allows
minimizing the error of iteration after iteration to become categories and to be able to build
the next classifier.</p>
      </sec>
      <sec id="sec-5-3">
        <title>5.3. Logistic Regression Model</title>
        <p>
          Logistic regression [
          <xref ref-type="bibr" rid="ref21">21</xref>
          ] is a model that allows one to analyze whether or not one variable
depends on the other, in order to minimize the sum of the error boxes, where the answers can
only be two values: presence with probability P and / or absence with probability 1 −  . The
objective of this model is to analyze the probability of occurrence through the level of the same
values, as well as to determine the variable that best fits or describes the relationship between
the regressive variable and response variables.
        </p>
        <p>The objective is to determine whether a variable or a set of explanatory variables have a
coeficient equal to zero, in order to determine the parameters that must be estimated from the
data to obtain the global adjustment of the model.</p>
      </sec>
      <sec id="sec-5-4">
        <title>5.4. LightGBM Model</title>
        <p>
          The Light Gradient Boosting Machine (LightGBM) [
          <xref ref-type="bibr" rid="ref22">22</xref>
          ], model uses the Gradient Boosting
technique; in this way the trees are built in a more agile and sequential way and each tree that is
added serves to refine the previous prediction. In other words, it starts with a constant value
and each new tree is trained to predict the error in the sum of all the predictions of the previous
trees. Once the process is finished, the predictions are calculated by adding the results of all
the trees that were built. In this way every time a new tree is added it focuses on the samples
of the model that are performing badly to improve them.
        </p>
        <p>Two cross-validation methods were used, stratified k-Fold, which is an improved variant of
k-fold, since when dividing the data, it keeps the classes balanced, which is very important.
The classification is a response variable, and samples with only 1 o only 0, will not be obtained.
This method was used for the XGBoost, Random Forest and Logistic Regression models, in
which five folds were used.</p>
        <p>For the LightGBM model, lightgbm.cv was used, which is an option for this algorithm, the
idea is to obtain more information about the estimation of the generalization error by
evaluating the performance in a KFold division with fixed parameters.</p>
      </sec>
    </sec>
    <sec id="sec-6">
      <title>6. Results and Comparison of Models</title>
      <p>As the last part of the study, the LightGBM, XGBoost, Random Forest and Logistic Regression
models were applied to the training and test data sets that were obtained by dividing the final
data set with the selected variables.</p>
      <p>The graphs shown in Figure 6a and Figure 6b show the importance of the variables for two
of the four models executed. In other words, these are the most relevant predictors. In both the
Random Forest and LightGBM models, it was observed that the “Score Acierta” variable is the
one that has the most weight. This variable discriminates best and that contributes the most
to the models and refers to the Customer rating in DataCrédito.
(a) Random Forests
(b) LightGBM</p>
      <p>On the other hand, the Receiver Operating Characteristics (ROC) curves were obtained with
the area under curve (AUC) metric first for the training base. In Figure 7a the results obtained
with this data set are observed where the XGBoost model was the one with the best prediction,
being slightly superior to the LightGBM model, but to a greater extent than the Random Forest
and logistic regression models.</p>
      <p>However, when performing the same procedure on the test data base, a change was
observed Figure 7b. as the LightGBM model had an AUC greater than that of the Random Forest,
XGBoost and Logistic Regression models.</p>
      <p>The ROC curves and the AUC metric obtained give the technical foundation to compare
the obtained models, since their AUC on the test data was higher; the LightGBM model was
chosen.</p>
    </sec>
    <sec id="sec-7">
      <title>7. Conclusions and future work</title>
      <p>Attrition prediction models are important to reduce the cancellation of credit card products
and analyze which customers have a greater tendency to cancel. This work was carried out
through a strategic segmentation focusing on the client to generate campaigns according to the
profile of each one, to understand and anticipate their behavior. Likewise, productive resources
were focused on high-value groups, as it is cheaper to retain a client than attract a new one.</p>
      <p>To generate a strengthening of the relationship between the client and the banking
institution, understanding and anticipating their needs; also make the customer less sensitive to the
competition to identify and quantify the impact of a retention program to understand customer
output.</p>
      <p>Future work could usefully include: (1) The evaluation of the selected models with a more
updated, standardized data set and a wider time window; (2) Evaluation of other algorithms
such as neural networks, genetic algorithms and SVMs to compare their performance with the
results obtained; (3) Evaluation of attrition models for other products handled by the bank.</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          [1]
          <string-name>
            <given-names>J.</given-names>
            <surname>Amieva-Huerta</surname>
          </string-name>
          ,
          <string-name>
            <given-names>B. Urriza</given-names>
            <surname>González</surname>
          </string-name>
          , Crisis Bancarias: causas, costos, duración, efectos y opciones de política,
          <source>CEPAL</source>
          ,
          <year>2000</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          [2]
          <string-name>
            <given-names>A. D.</given-names>
            <surname>Athanassopoulos</surname>
          </string-name>
          ,
          <article-title>Customer satisfaction cues to support market segmentation and explain switching behavior</article-title>
          ,
          <source>J. of Business Res</source>
          .
          <volume>47</volume>
          (
          <year>2000</year>
          )
          <fpage>191</fpage>
          -
          <lpage>207</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          [3]
          <string-name>
            <given-names>R.</given-names>
            <surname>Wirth</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Hipp</surname>
          </string-name>
          , Crisp-dm:
          <article-title>Towards a standard process model for data mining, in: Proc. of the 4th international conference on the practical applications of knowledge discovery and data mining</article-title>
          , Springer-Verlag London, UK,
          <year>2000</year>
          , pp.
          <fpage>29</fpage>
          -
          <lpage>39</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          [4]
          <string-name>
            <given-names>D.</given-names>
            <surname>Van den Poel</surname>
          </string-name>
          , B. Lariviere,
          <article-title>Customer attrition analysis for financial services using proportional hazard models</article-title>
          ,
          <source>European journal of operational research 157</source>
          (
          <year>2004</year>
          )
          <fpage>196</fpage>
          -
          <lpage>217</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          [5]
          <string-name>
            <surname>W. W. LaMorte</surname>
          </string-name>
          ,
          <article-title>Cox proportional hazards regression analysis</article-title>
          ,
          <year>2016</year>
          . URL: https://sphweb. bumc.bu.edu/otlt/MPH-Modules/BS/BS704_Survival/BS704_Survival6.html.
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          [6]
          <string-name>
            <given-names>L. A.</given-names>
            <surname>Manrai</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A. K.</given-names>
            <surname>Manrai</surname>
          </string-name>
          ,
          <article-title>A field study of customers' switching behavior for bank services</article-title>
          ,
          <source>Journal of retailing and consumer services 14</source>
          (
          <year>2007</year>
          )
          <fpage>208</fpage>
          -
          <lpage>215</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          [7]
          <string-name>
            <given-names>Y.</given-names>
            <surname>Xie</surname>
          </string-name>
          ,
          <string-name>
            <given-names>X.</given-names>
            <surname>Li</surname>
          </string-name>
          ,
          <string-name>
            <given-names>E.</given-names>
            <surname>Ngai</surname>
          </string-name>
          , W. Ying,
          <article-title>Customer churn prediction using improved balanced random forests</article-title>
          ,
          <source>Expert Systems with Applications</source>
          <volume>36</volume>
          (
          <year>2009</year>
          )
          <fpage>5445</fpage>
          -
          <lpage>5449</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          [8]
          <string-name>
            <given-names>W.</given-names>
            <surname>Verbeke</surname>
          </string-name>
          ,
          <string-name>
            <given-names>D.</given-names>
            <surname>Martens</surname>
          </string-name>
          ,
          <string-name>
            <given-names>C.</given-names>
            <surname>Mues</surname>
          </string-name>
          ,
          <string-name>
            <given-names>B.</given-names>
            <surname>Baesens</surname>
          </string-name>
          ,
          <article-title>Building comprehensible customer churn prediction models with advanced rule induction techniques</article-title>
          ,
          <source>Expert systems with applications 38</source>
          (
          <year>2011</year>
          )
          <fpage>2354</fpage>
          -
          <lpage>2364</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          [9]
          <string-name>
            <given-names>K.</given-names>
            <surname>Chitra</surname>
          </string-name>
          ,
          <string-name>
            <given-names>B.</given-names>
            <surname>Subashini</surname>
          </string-name>
          ,
          <article-title>Customer retention in banking sector using predictive data mining technique</article-title>
          ,
          <source>in: ICIT 2011 The 5th International Conference on Information Technology</source>
          ,
          <year>2011</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref10">
        <mixed-citation>
          [10]
          <string-name>
            <given-names>B.</given-names>
            <surname>He</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Y.</given-names>
            <surname>Shi</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Q.</given-names>
            <surname>Wan</surname>
          </string-name>
          ,
          <string-name>
            <given-names>X.</given-names>
            <surname>Zhao</surname>
          </string-name>
          ,
          <article-title>Prediction of customer attrition of commercial banks based on svm model</article-title>
          ,
          <source>Procedia Computer Science</source>
          <volume>31</volume>
          (
          <year>2014</year>
          )
          <fpage>423</fpage>
          -
          <lpage>430</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref11">
        <mixed-citation>
          [11]
          <string-name>
            <given-names>L.</given-names>
            <surname>Tang</surname>
          </string-name>
          , L. Thomas,
          <string-name>
            <given-names>M.</given-names>
            <surname>Fletcher</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Pan</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Marshall</surname>
          </string-name>
          ,
          <article-title>Assessing the impact of derived behavior information on customer attrition in the financial service industry</article-title>
          ,
          <source>European Journal of Operational Research</source>
          <volume>236</volume>
          (
          <year>2014</year>
          )
          <fpage>624</fpage>
          -
          <lpage>633</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref12">
        <mixed-citation>
          [12]
          <string-name>
            <given-names>X.</given-names>
            <surname>Zhao</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Y.</given-names>
            <surname>Shi</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Lee</surname>
          </string-name>
          ,
          <string-name>
            <given-names>H. K.</given-names>
            <surname>Kim</surname>
          </string-name>
          ,
          <string-name>
            <given-names>H.</given-names>
            <surname>Lee</surname>
          </string-name>
          ,
          <article-title>Customer churn prediction based on feature clustering and nonparallel support vector machine</article-title>
          ,
          <source>International Journal of Information Technology &amp; Decision Making</source>
          <volume>13</volume>
          (
          <year>2014</year>
          )
          <fpage>1013</fpage>
          -
          <lpage>1027</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref13">
        <mixed-citation>
          [13]
          <string-name>
            <given-names>G.</given-names>
            <surname>Armstrong</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            <surname>Adam</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            <surname>Denize</surname>
          </string-name>
          ,
          <string-name>
            <given-names>P.</given-names>
            <surname>Kotler</surname>
          </string-name>
          , Principles of marketing,
          <source>Pearson Australia</source>
          ,
          <year>2014</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref14">
        <mixed-citation>
          [14]
          <string-name>
            <given-names>V.</given-names>
            <surname>Mittal</surname>
          </string-name>
          ,
          <string-name>
            <given-names>W. A.</given-names>
            <surname>Kamakura</surname>
          </string-name>
          ,
          <article-title>Satisfaction, repurchase intent, and repurchase behavior: Investigating the moderating efect of customer characteristics</article-title>
          ,
          <source>Journal of marketing research 38</source>
          (
          <year>2001</year>
          )
          <fpage>131</fpage>
          -
          <lpage>142</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref15">
        <mixed-citation>
          [15]
          <string-name>
            <given-names>M.</given-names>
            <surname>Řezáč</surname>
          </string-name>
          ,
          <string-name>
            <given-names>F.</given-names>
            <surname>Řezáč</surname>
          </string-name>
          ,
          <article-title>How to measure the quality of credit scoring models, Finance a úvěr:</article-title>
          <source>Czech Journal of Economics and Finance</source>
          <volume>61</volume>
          (
          <year>2011</year>
          )
          <fpage>486</fpage>
          -
          <lpage>507</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref16">
        <mixed-citation>
          [16]
          <string-name>
            <given-names>S.</given-names>
            <surname>Krishnan</surname>
          </string-name>
          ,
          <article-title>Weight of evidence and information value using python, 2018</article-title>
          . URL: https://medium.com/@sundarstyles89/
          <article-title>weight-of-evidence-and-information-value-using-python-6f05072e83eb.</article-title>
        </mixed-citation>
      </ref>
      <ref id="ref17">
        <mixed-citation>
          [17]
          <string-name>
            <given-names>L.</given-names>
            <surname>Breiman</surname>
          </string-name>
          , Random forests,
          <source>Machine learning 45</source>
          (
          <year>2001</year>
          )
          <fpage>5</fpage>
          -
          <lpage>32</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref18">
        <mixed-citation>
          [18]
          <string-name>
            <given-names>I. A.</given-names>
            <surname>Dfuf</surname>
          </string-name>
          , Análisis de Sensibilidad Mediante Random Forest,
          <source>Ph.D. thesis</source>
          , Universidad Politécnica de Madrid,
          <year>2018</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref19">
        <mixed-citation>
          [19]
          <string-name>
            <given-names>T.</given-names>
            <surname>Chen</surname>
          </string-name>
          ,
          <string-name>
            <given-names>T.</given-names>
            <surname>He</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Benesty</surname>
          </string-name>
          ,
          <string-name>
            <given-names>V.</given-names>
            <surname>Khotilovich</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Y.</given-names>
            <surname>Tang</surname>
          </string-name>
          , Xgboost: extreme gradient boosting,
          <source>R package version 0</source>
          .4-
          <fpage>2</fpage>
          (
          <year>2015</year>
          )
          <fpage>1</fpage>
          -
          <lpage>4</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref20">
        <mixed-citation>
          [20]
          <string-name>
            <surname>E.-Z. J. Jesús</surname>
            ,
            <given-names>C.</given-names>
          </string-name>
          <string-name>
            <surname>Gerencia</surname>
          </string-name>
          ,
          <article-title>Aplicación de algoritmos random forest y xgboost en una base de solicitudes de tarjetas de crédito application of random forest and xgboost algorithms based on a credit card applications database</article-title>
          ,
          <source>IngenIería InvestIgacIón y tecnología 21</source>
          (
          <year>2020</year>
          )
          <fpage>1</fpage>
          -
          <lpage>16</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref21">
        <mixed-citation>
          [21]
          <string-name>
            <given-names>H. F.</given-names>
            <surname>Castaño</surname>
          </string-name>
          ,
          <string-name>
            <given-names>F. O. P.</given-names>
            <surname>Ramírez</surname>
          </string-name>
          ,
          <article-title>El modelo logístico: una herramienta estadística para evaluar el riesgo de crédito</article-title>
          ,
          <source>Revista Ingenierías Universidad de Medellín</source>
          <volume>4</volume>
          (
          <year>2005</year>
          )
          <fpage>55</fpage>
          -
          <lpage>75</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref22">
        <mixed-citation>
          [22]
          <string-name>
            <given-names>G.</given-names>
            <surname>Ke</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Q.</given-names>
            <surname>Meng</surname>
          </string-name>
          ,
          <string-name>
            <given-names>T.</given-names>
            <surname>Finley</surname>
          </string-name>
          ,
          <string-name>
            <given-names>T.</given-names>
            <surname>Wang</surname>
          </string-name>
          ,
          <string-name>
            <given-names>W.</given-names>
            <surname>Chen</surname>
          </string-name>
          , W. Ma,
          <string-name>
            <given-names>Q.</given-names>
            <surname>Ye</surname>
          </string-name>
          , T.-Y. Liu,
          <article-title>Lightgbm: A highly eficient gradient boosting decision tree</article-title>
          ,
          <source>in: Advances in neural information processing systems</source>
          ,
          <year>2017</year>
          , pp.
          <fpage>3146</fpage>
          -
          <lpage>3154</lpage>
          .
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>