scieee AI-readable full text Open interactive document viewer

Benchmarking deep learning for predicting telecommunications recurring problems

Castro, Vitor José Ribeiro

Abstract

Nowadays, companies live in a scenario of strong competitiveness. The telecommunications market is not an exception and it is possible to offer a differentiation from competition through better service quality, differentiated support and even better value proposals. With the evolution of technologies, companies have more data about their customers and the usage profile of each one of them. With this information it is possible to establish a better relationship with the customer through a more efficient support service. The evolution of artificial intelligence and computational power, combined with existing data, al lows for several comparisons between different machine learning algorithms. In this dissertation, a prediction model capable of predicting recurrences of contacts with the customer service is pro posed. The aim is to predict whether a particular problem reported by the customer will repeat and require a new contact, so that it is possible to correct those problems in advance, making the user experience more pleasant and fluid. In order to achieve the best possible model, different classical machine learning approaches were tested, along with several deep neural network architectures. In recent years, deep neural networks have shown interesting results in several non-tabular appli cations, therefore being interesting to test them in tabular applications like the one present in this work. TabNet, developed by Google, is a deep neural network adjusted to perform the better in tabu lar datasets, and was also tested, as it has shown better performance than several neural networks or decision-tree bases algorithms. The used data were collected by various internal systems, the most important of which being the one related to customer support calls. The customer service, due to its size and complexity, has a system that monitors all calls and their motivations, as well as the parties involved (both operator and customer) and other additional data such as time spent and the call outcome. Data from other systems is related to billing, service usage and customer profile, and is added to help to understand the context of the call. The model that shown the best results was CatBoost, a decision trees based algorithm, showing an AUC_ROC of 79%, with a Recall of 61% and a Precision of 62%, allowing the identification of about 8,6% of the 3.9 million calls made to the support service as recurrences even before they occur, about 340k cases. In an ideal scenario, all these calls would be avoided, allowing a substantial cost reduction for the company, as well as a consequent increase in customer satisfaction in relation to the service. The CatBoost model showed better training times and less memory needs, while achieving a better performance than the different architectures of deep neural networks proposed. Only TabNet was able to achieve a similar performance, while maintaining a higher training time. However, in futures uses, where the CatBoost model achieves a plateau and is not benefiting for the increasing data, it could be useful to use TabNet as the model in production. TabNet has the advantage of being a neural network and, for that reason, being more capable of breaking the plateau that classical models often achieve.

Full text

University of Minho School of Engineering Vitor José Ribeiro Castro Benchmarking Deep Learning for Predicting Telecommunications Recurring Problems October 2020 UMinho | 2020 Vitor Castro Benchmarking Deep Learning for Predicting Telecommunications Recurring Problems Vitor José Ribeiro Castro Benchmarking Deep Learning for Predicting Telecommunications Recurring Problems Master Dissertation Integrated Master’s Degree in Informatics Engineering Dissertation supervised by Professor Doctor Victor Manuel Rodrigues Alves Doctor Carlos Miguel Silva Couto Pereira University of Minho School of Engineering October 2020 COPYRIGHT AND CONDITIONS OF USE BY THIRD PARTIES This is an academic work that can be used by third parties if internationally accepted rules and good practice with regard to copyright and related rights are respected. Thus, the present work can be used under the terms of the license indicated below. In case the user needs permission to be able to make use of the work in conditions not foreseen in the indicated licensing, he should contact the author through the RepositóriUMof the University of Minho. Atribuição-NãoComercial CC BY-NC https://creativecommons.org/licenses/by-nc/4.0/ ii Nãoéomuitosaberquesaciaesatisfazaalma,masosentiresaborearinternamenteascoisas. Santo Inácio de Loyola iii ACKNOWLEDGMENTS AGRADECIMENTOS This dissertation is the result of a continuous effort over five years. It results not only from a very large individual work, but also from an extremely important support from many other people. In a self-centered world like today’s, it is important to remember that we alone are nothing. Thus, too briefly to represent my gratitude, I would like to express my deep thanks to the many parties involved in this journey: To my maternal grandfather and grandmother, who contributed in large part to my personal growth. The availability, caring, accompaniment, affection and love with which they took care of me was, without a doubt, one of the basic elements to my success. They were present from childhood until the end of university, always trying to understand and advise me as they knew best. I love you. To my parents, whom I greatly admire, for the simplicity with which they live life together and how they respect each other. They are examples of life, just like their grandparents, without whom my personal development would be impossible. They were also the ones who supported my education, always putting it ahead of everything: they let me be free in choosing my future, and free and responsible for the way I proceeded throughout these years. I love you. To Marta, who is indescribable in the way she perceives what I feel and what I am; who teaches me so much on an emotional level, and who is a great example of what love for the other can do for a community; who is restless with the world as much or more than I am and without whom the months invested in this thesis would not have the same meaning. I love you. To Diana, Sérgio and Marcos, for sharing not only knowledge but also life. They have provided me with great learning and are very responsible for the academic success and personal growth I feel. A tight hug. To my friends, who have been with me since childhood, and who have understood and supported the doubts I have felt throughout my journey in school. Moreover, they shared beautiful moments of friendship and were in many ways anchors. A strong hug. To CAB and all the companions, and to the Grupo de Jovens de São Sebastião and all those with whom I could have several interesting discussions there. They were very important in my growth and indispensable in the moments of greatest discouragement. A fraternal hug. To Carlos, supervisor at NOS, who was an excellent colleague, became a friend, and showed iv interest and availability throughout this project where I learned a lot. A deep thank you. To Professor Victor Alves, a teacher who guided my master thesis with availability and kindness. This thanks goes out to all the teachers who are committed and passionate about teaching, with whom I had a great pleasure to share interesting thoughts. Thank you for your dedication and please never stop believing in the power of education. To the rest of the family, thank you very much for the good examples that were, in several moments of my life, providing the necessary stability for my growth. Thank you. v STATEMENT OF INTEGRITY I hereby declare having conducted this academic work with integrity. I confirm that I have not used plagiarism or any form of undue use of information or falsification of results along the process leading to its elaboration. I further declare that I have fully acknowledged the Code of Ethical Conduct of the University of Minho. vi ABSTRACT Benchmarking Deep Learning for Predicting Telecommunications Recurring Problems Nowadays, companies live in a scenario of strong competitiveness. The telecommunications market is not an exception and it is possible to offer a differentiation from competition through better service quality, differentiated support and even better value proposals. With the evolution of technologies, companies have more data about their customers and the usage profile of each one of them. With this information it is possible to establish a better relationship with the customer through a more efficient support service. The evolution of artificial intelligence and computational power, combined with existing data, allows for several comparisons between different machine learning algorithms. In this dissertation, a prediction model capable of predicting recurrences of contacts with the customer service is proposed. The aim is to predict whether a particular problem reported by the customer will repeat and require a new contact, so that it is possible to correct those problems in advance, making the user experience more pleasant and fluid. In order to achieve the best possible model, different classical machine learning approaches were tested, along with several deep neural network architectures. In recent years, deep neural networks have shown interesting results in several non-tabular applications, therefore being interesting to test them in tabular applications like the one present in this work. TabNet, developed by Google, is a deep neural network adjusted to perform the better in tabular datasets, and was also tested, as it has shown better performance than several neural networks or decision-tree bases algorithms. The used data were collected by various internal systems, the most important of which being the one related to customer support calls. The customer service, due to its size and complexity, has a system that monitors all calls and their motivations, as well as the parties involved (both operator and customer) and other additional data such as time spent and the call outcome. Data from other systems is related to billing, service usage and customer profile, and is added to help to understand the context of the call. The model that shown the best results was CatBoost, a decision trees based algorithm, showing an AUC_ROC of 79%, with a Recall of 61% and a Precision of 62%, allowing the identification of about 8,6% of the 3.9 million calls made to the support service as recurrences even before they occur, about 340k cases. In an ideal scenario, all these calls would be avoided, allowing a substantial cost reduction for the company, as well as a consequent increase in customer satisfaction in relation to the service. The CatBoost model showed better training times and less memory needs, while achieving a vii LIST OF TABLES 3.1 Hardware in which Docker was running. . . . . . . . . . . . . . . . . . . . . . . . 39 3.2 Examples of target problems count and distributions during the cleaning process. . . . 55 4.1 Hyperparameters tested for each estimator. . . . . . . . . . . . . . . . . . . . . . 61 4.2 Description of the different MLP structures used. . . . . . . . . . . . . . . . . . . . 64 4.3 Hyperparameter configurations used for each different structure. . . . . . . . . . . . 65 4.4 Hyperparameters tested for TabNet. . . . . . . . . . . . . . . . . . . . . . . . . . 66 4.5 Classical models’ performances comparison on the validation set. . . . . . . . . . . 67 4.6 Results obtained with the different configurations for the validation set. . . . . . . . . 68 4.7 Classical models’ performances comparison on validation set. . . . . . . . . . . . . 69 4.8 Best model’s performances comparison on validation set. . . . . . . . . . . . . . . 70 4.9 Results on the test set: default vs. custom threshold. . . . . . . . . . . . . . . . . 71 xiv LIST OF ABBREVIATIONS AND ACRONYMS A AI Artificial Intelligence ANN Artificial Neural Network AUC Area under the ROC Curve C CE Cross-entropy CRISP-DM Cross-industry Standard Process for Data Mining CRM Customer Relationship Management D DCN Deep Convolutional Network DFF Deep Feed Forward DNN Deep Neural Network DL Deep Learning DT Decision Trees DSR Design Science Research F FTTH Fiber-to-the-Home H HD High Definition HFC Hybrid Fiber-Coaxial I IDE Integrated Development Environment K KNN K-Nearest Neighbors xv L LSTM Long/Short Term Memory M ML Machine Learning O OS Operative System R RNN Recurrent Neural Networ S SMOTE Synthetic Minority Over-sampling Technique W WCE Weighted Cross-Entropy xvi 1. INTRODUCTION 1.1 CONTEXT AND MOTIVATION In a world increasingly connected, companies that are able to adapt to new technologies and business models have better chances of succeeding. In this digital era, companies are able to use their systems and data to take better decisions and not just only to provide with the services. The telecommunications market has been experiencing a continuous growth since the beginning of the century. In Portugal, the numbers observed in the last semester of 2018 proved once more this growth, which is very attractive to investors (ANACOM, 2019). The company that supported this dissertation is one of the biggest in the telecommunications and entertainment portuguese scene, offering fixed and mobile solutions like television, broadband, internet and mobile data to all market segments. This really high number of services and customers presents very difficult challenges to the companies, that have to keep all the services operational and all the customer satisfied. Even though there is a constant investment in improving physical infrastructures and offered technology, today the differentiation sought by telecommunications companies is based on improving the quality of services provided. In order to improve these services, the optimization of operations is key, since it allows redirecting costs to investment in areas that directly affect the user (Pina, Torres, & Bachiller, 2014). One way to optimize operations is to be able to predict the situations that may occur, taking a proactive attitude in their resolution. Another way is simply to know the levels of customer satisfaction and act accordingly, changing the customer support behavior in certain situations. Typically, these forecasting problems are solved based on statistical models. Nowadays, Artificial Intelligence (AI) has been gaining more and more expression in the industry, presenting significant improvements in the optimization of processes and decisions. This adoption is due to the accelerated growth in computational processing capacity and development in AI algorithms, having already strong application in the world retail (Schaverien, 2019). The telecommunications market is not indifferent to this progress, given its fast and dynamic nature, and is already actively seeking AI-based solutions (Nand Kumar, 2017). In addition, the fact that companies are increasingly collecting data on services provided, equipment and clients, provides a solid basis for AI modeling. Machine Learning (ML), a subarea of AI, is the one that benefits the most from this increase in data and with which there have been better results, where computers are able to obtain better models the larger the set of data provided. In fact, telecommunication providers want to avoid the loss of a customer, since acquiring a new one costs 5 to 10 times more than maintaining the current ones. This is a clear motivation to improve the customer support service, since it is the entity with the most interaction with customers themselves. The customer support service can improve by increasing the number of operators, thereby reducing waiting times and having more specializations to solve each type of problem. It 2 can also be improved in a smarter way, with lowers costs than the alternatives that include increasing the number of operators, simply by providing the operators with tools to help the customer faster and more efficiently. Nowadays, customer service operators have an interface for each one of the call they attend giving information about the customer and the services he contracted. As an example, all the previous calls and motivations of them are registered and available for operator consultation. By having this and other informations gathered in a single tool, operators can understand the context of the problem being reported. However, sometimes customers call for the same reason within a short timeframe and, although the customer can see that a similar problem has already happened, they have to repeat all the procedures in order to fix that same problem. This not only causes the company monetary losses because the operator is doing something that should’ve been already solved, but also because the time being spent in this customer could be spent with other customer if the problem was correctly fixed in the previous report. In fact, if sometimes a customer support operator has 100% of his time being used in customer calls, some other times it could just be waiting for a new customer to call. Hence, it would be beneficial if this times where operators are free from work could be used to solve problems that are solvable without customer intervention, before they become recurrent problems. Using the most recent techniques in ML to predict if a customer would need to call again for the same motivation (a recurrence) is a great step to improve customer satisfaction and support centers efficiency. If a possible customer recurrence is predicted, a special care could be provided in the next call, with a direct contact with a specialized operator being made. Even more, the customer could have his problem solved beforehand because one of the free operators could be assigned with the task of checking the status of the service of a customer and perform any operations needed to get everything working perfectly again. Deep Learning (DL), a subfield of ML, has shown great capability to deal with very complex problems like the one being dealt with, by creating a structures simulates the human brain. DL has been used and showed promising results in fields like computer vision and text recognition, but it is not often used in tabular data like the one available in this work. Recently, Google explored DL applications in tabular data with the novel TabNet, which showed promising results than the most common classical machine learning approaches used for tabular data. This is encouraging, as classical machine learning techniques often have a performance plateau that can be overcome by the DL applications, as they usually scale with the amount of data available. Although statistical approaches are possible, their flexibility and complexity are sometimes not attractive to companies, who aren’t capable of trusting in techniques with a performance that could not have a economic impact big enough to get into production. Therefore, DL applications in industry can be of great value, contributing to a better economical performance. 3 1.2 OBJECTIVES In this dissertation, the aim is to develop a model for predicting problem recurrence among telecommunication services customer, and validate the corresponding predictions against real cases in an experimental proof of concept. When customers have to interact with customer service their question should be solved quickly and effectively, meaning that they should not have to call again for the same motive. Predicting if they will need to call again, within a time period of 30 days, means that it is possible to predict a recurrence of a problem. The telecommunications’ companies have a lot of data about their customers and the services provided. Ranging from personal customer informations, to service usage profiles, passing by billing and customer support data, a lot of knowledge can be extracted. The most important data is the one coming from the customer support service since the problem that needs to be solved concerns to that. However, all the other data sources provide with data that hints about the recurrence probability when taken in consideration and shall not be disregarded. Therefore, gathering all the data from different sources is the first big challenge of the project. The second challenge is to compare different machine learning approaches and identify the one that performs the best in the company’s business model. In the first place, several classical machine learning models need to be selected accordingly to the data available and the following performance tests made. Secondly, several Deep Neural Networks (DNNs) should be designed and the performance tests should also be made to them. After those steps, the best performance models should be compared taking in consideration the prediction performance, the resources spent on training and the impacts of the amount of data fed into the predictions. In result of the data preparation and the selection of the best model to predict customers’ recurrences, a prediction for each new call ended should be done. If a probable recurrence is predicted for a certain customer, the company should register this for a later customer’s service status investigation. This work aims to develop a model for predicting problem recurrence and its validation in an experimental proof of concept. It is intended that the model developed will be able to predict when a user of a service of a telecommunications company has, after any adverse event, a recurrence of the same type of problem, in a time to be determined. Cases concerning the last three years of events, collected daily by customer services, will be used. 4 1.3 CONTRIBUTIONS This study performed an intensive exploration of DNNs application in the present data. The width and depth of the neural networks showed significant importance in the models’ performance. This work has been peer-reviewed and accepted at: • (Castro, Pereira, & Alves, 2020) V. Castro, C. Pereira, and V. Alves. Predicting Recurring Telecommunications Customer Support Problems using Deep Learning. In IntelligentData EngineeringandAutomatedLearning-IDEAL2020. 1.4 INVESTIGATION METHODOLOGY Prior to writing this dissertation, a thorough research was required in order to better comprehend possible approaches to solve the problem in hands. To facilitate this process, Design Science Research (DSR) was used. DSR is a research strategy which is considered to be very effective in the computer science field. The DSR methodology (Figure 1.1), is a rigorous scientific research methodology that well defines all the six main steps of research, which consist of: • Identification of the problem and motivation – what need to be solved and the scientific value of it; • Definition of the objectives to be attained – what are the solution objectives according to the identified problem and the needs of the research problem; • Development of the solution – design the features and details of the solution and develop the respective product to solve the problem identified; • Demonstration – all the experiments and simulation evolved in the process of test and demonstration, which lead to the evaluation of the product; • Evaluation – compare the defined objectives for the solution to have with the practical observed results. Verify if the solution worked out for the problem identified; • Communication – present the audience with the solution developed and the need for it. Demonstrate the importance of the problem and consequent solution. 5 Figure 1.1: Design Research Process schema. 1.5 DISSERTATION STRUCTURE This dissertation is structured in 5 sections. In section 1, an Introduction is given to bring the reader into contact with the problem and to specify the objectives of this dissertation. The section 2, Concepts, describes in more detail the problem as well as the technologies used throughout this work to overcome it. A bried description of the available related work is also present. The following section, Predicting Recurrences, describes the available data and the methods adopted to produce a quality dataset and the models needed. In section 4, Evaluation, the models are compared and an evaluation of the selected model is done. Finally, this dissertation ends with Conclusions, summarizing everything that has been done up to this point and the next steps. 6 2. CONCEPTS Figure 2.3: A representation of the division of different points of clusters. Extracted from (Nelson, 2020). Naïve Bayes The Naïve Bayes classifier is a clear demonstration of how generalization can simplify the learning process. The generalization is done by assuming that each one of the features is independent of each other, decreasing the number of examples needed to learn about all the features. It is especially efficient in situations where the amount of data available is not big enough for other algorithms. Another benefit is the high scalability of this classifier due to the linear time taken to evaluate, instead of the more common iterative approximation that other classifiers perform. The classifier is based in the Bayes theorem, that describes the probability of an event A to happen, knowing that a event B already happened, equal to the probability of a event B happen, knowing that A happened, multiplied by the probability of the event A happening, all that divided by the probability of the event B happening (Eq. 2.1). P(A|B) = P(A|B)∗P(A) P(B)(2.1) The name ”Naïve” comes from the supposition that the variables are all independent. By considering them like that, the probability of B only needs to be extended to all the variables of a data entry. K-Nearest Neighbors The K-Nearest Neighbors (KNN) classifier operates by checking the distance from the test sample to the known training examples. In the training phase, it groups data into classes according to the patterns identified, balancing the importance of each feature accordingly. In the test phase, it aligns the example provided and measures the data point created to the center of the other data points, classifying the new entry as the one closest to the data points previously known (Fig. 2.4). 14 Figure 2.4: An illustration of the data points and sample points to predict. Extracted from (Srivastava, 2018). 2.2.4 Ensembles Ensembles is a machine learning technique where several base models are combined to produce the optimal model. A common problem in machine learning is having too much noise, bias and variance (Fig. 2.5). Figure 2.5: Bias-variance problem illustration. Extracted from (Mayo, n.d.). In general, ensemble techniques produce more accurate predictions, are more stable and robust because their individual models are simple and can capture both linear and non-linear relationships in the data. However, there is a reduction in model interpret-ability because several models contribute to the prediction result. Computation and design time can also be costlier because several models can take too long produce an output. Ensembles could be of Bagging or Boosting type. 15 Bagging In Bagging, each one of the models that make up the solution is exposed to a different subset of data. The output of the individual models is, therefore, independent of the others even at the data level. The data being divided and independent makes overfitting a less notorious problems because the variance error is, overall, spread across the models. This helps to reduce the variance, thereby overcoming problems related with overfitting. Random Forests are an example of the application of the bagging technique. It’s a algorithm based on DT that split the data entries features in subsets and builds several trees, having each one of them the corresponding subset of features. When trying to make a prediction, all the DT have their outcome. The resulting outcomes are weighted and the final decision comes as a result of all the previous ones. In this model it is important to consider the amount of trees and how big a leaf should be considered before becoming another tree. Less trees and bigger leafs get faster results. However, if those values are too large or too small they can reduce the performance of the model. Boosting Boosting, contrarily to Bagging, makes the models dependent on others. It is an iterative technique that increases the weight of an observation based on the last observation done, in order to classify it correctly afterwards (Fig. 2.6). The first algorithm is trained on the complete data and the subsequent algorithms are trained by fitting the residuals of the first algorithm and giving enough weight to those poorly predicted observations. The week learners, the individual algorithms, are good specifically in predicting what they were trained for and that is why the model they can boost the ensemble performance. The most well-known boosting technique, Gradient Boosting, relies on the intuition that the best possible next model, when combined with previous models, minimizes the overall prediction error. The name gradient boosting arises because target outcomes for each case are set based on the gradient of the error with respect to the prediction. The base idea is to set target outcomes for the next model, in order to minimize the error. If a change in the prediction causes a big drop in the error, then it has great value in the next model. LightGBM is a gradient boosting framework that uses tree based learning algorithms. By default it uses decision trees but also support random forests, Dropouts meet Multiple Additive Regression Trees (DART), and Gradient Based One-Side Sampling (Goss) (WelcometoLightGBM’sdocumentation!—LightGBM3.0.0.99documentation, n.d.). 16 Figure 2.6: A boosting ensemble example, training the subsequent models with the errors from previous iterations. Extracted from (Ramzai, 2019). The main difference over other algorithms is that it grows the trees vertically instead of horizontally and does it life-wise (Fig. 2.7) instead of level-wise (Fig. 2.8). It grows the leaf with higher delta loss, decreasing the max the loss at each level. This solution allows for a higher speed in the algorithm, making it handle larger data sizes and lowering the memory needed to run. Those characteristics are of high importance in today’s age, where data is becoming more abundant and complex. Figure 2.7: LightGBM works leaf-wise and vertically. Extracted from (Mandot, 2017). Figure 2.8: General tree based algorithms work level-wise and horizontally. Extracted from (Mandot, 2017). CatBoost is also an algorithm for gradient boosting but only on decision trees. CatBoost implements symmetric trees, which is also a better solution to general decision trees tree growth which can be unbalanced (Fig. 2.9). Having the trees symmetric results in a more constant time to prediction. Another major advantage of this algorithm is that it can reproduce a time sequence in the training examples. This is important in situations where a row of the training data is not independent of the previous events (e.g. the same customer’s previous calls). XGBoost is an algorithm based on DT where the boosting is applied to the gradient. It is similar but not as fast as the LightGBM, offering, however, more consistent results. 17 Figure 2.9: Other boosting tree algorithms versus CatBoost symmetric trees implementation. Extracted from (Chepenko, 2019). Stacking In stacking, models are not simply trained with a subset of the features or being improved overtime. Instead, from the various models available the best one is chosen for each one of the possible labels. As an example, if a classification task has labels A, B and C, there will be 3 classifiers chosen with each one of them being the better predicting label A, B or C. There are to components that make this possible: •Base model: individually trained on the data and the ones that give the probability values for each label; •Meta model: responsible for selecting the best base model for each one of the classes. Voting In voting, every one of the models outputs is prediction and the final prediction is a balance of the votes. This balance could be done in tho different ways: •Hard-voting: where each one of the votes has the value 1 or 0 and the result is the mean of the votes; •Soft-voting: where the votes consist in probabilities (i.e. confidence in prediction) and the prediction will be according to the mean of the predictions. 2.2.5 Artificial Neural Networks AI can be defined as the capacity of a computer have to simulate the human intelligent processes. AI is, therefore, a branch of computer science which tries to create systems capable of learning new concepts and tasks. These systems, ultimately, solve the problems they may face accordingly to 18 the behavior acquired previously in the most intelligent way (Hunt & Hunt, 1986). One of the several approaches to AI is ML, which consists of a computer being trained with large amounts of data using specific algorithms, in order to allow the computer to gain the ability to adapt to new situations having in consideration previous patterns. Artificial Neural Networks (ANNs) are one of the several algorithms used in ML. An ANN is a system capable of processing data in a large and interconnected structure, similarly to the human brain cortex. Having this human brain approach to problems, by generating connections between the structures, computers are provided with a toolset that make them capable of doing similar things to humans and that normal computers do in a poor way (Uhrig, 1995). Having this structures (Fig. 2.10) that provide similarity to human brain, ANNs show a big capability to modify their own internal structures in order to better perform in relation to an objective function. They are able to solve complex nonlinear problems because they can act over knowledge instead of computing all the possible options or simply follow rules. In figure 2.11 it’s possible to observe the propagation and back-propagation steps. This is the most common method to train the neural networks, with the propagation phase being responsible for passing the inputs of the new data entry to the network, which generates an output. That output is then compared to the true output and the error is calculated. The back-propagation phase uses the calculated error to adjust the neurons’ weights from the last layer to the first, adjusting the future outcomes. Figure 2.10: Comparison between an artificial and a biological neuron. Extracted from (Vazquez, 2018). The internal structures are composed by nodes, which have one or more connections to other nodes, and are activated (like in the human brain) accordingly to a certain activation function. Therefore, it’s worth to better understand this basic structure of an ANN. Nodes Nodes are the basic structures of ANNs, acting like the human brain’s neurons. They receive the data and produce an output, accordingly to the weight associated to the input, the bias and the activation function they have. 19 Each one of the nodes receives communications from the ambient, if it is part of the primary layer, or other nodes, if it is part of the subsequent layers. Each one of these nodes has his unique behavior accordingly to the function given at it and the data fed. This function, called activation function, acts like a switch between the input and output, that modulates the signal accordingly to the problem, similarly to the behavior of neurons on a human brain. Adding this behavior with the ability to give different weights to each one of the input connections, it is possible to build a complex system that replicates the human brain behind a complex mathematical equation composed by nodes functions and connections weights (Grossi & Buscema, 2007) (Fig. 2.11). It is also possible to introduce a bias element in the node, just like our brains do. Bias allows neurons to favor a certain output, and is useful in real-world scenarios where some outputs are more important or less frequent and need an adjust. Nodes are combined in order to perform a layer (Fig. 2.11). A neuron by itself wouldn’t be able to communicate and generate the best outputs for every different situation, as the result of our brain’s success is a composition of millions of neurons working together. A higher number of layers is used in complex problems, demanding for higher computational resources. Figure 2.11: Fully connected Artificial Neural Network (Azlah et al., 2019). There are also several parameters that can be adjusted within the ANNs, that are important and make for a better learning process. Those are: • Number of Hidden Layers - the sheer number of layers a ANN uses to comprehend the data and create relations between the inputs received. For a faster and better generalizing network, the fewer layers the better. Increasing the number the layers, however, increases the classifying power of the neural network for more complex problems; 20 • Learning Rate - determines the amount of correction term that is applied to adjust the neuron weights. When a ANN is being trained, the neurons weights are constantly adjusted accordingly to the result of the previous prediction. The greater the learning rate, the faster the training time. However, this could lead to less optimal results, whereas lower learning rates take more time but can be more accurate. However, small learning rates also have the disadvantage of possibly being stuck on a local minima; • Momentum - determines how much of the previous correction is remembered and carried on in the next correction. With a larger momentum, the current correction has more emphasis. Momentum is important because it allows for a smoothing between the current and the previous corrections, so that a single iteration doesn’t ruin the learning process in an undesirable correction; • Activation Function - the function through which the weighed sum of the node is passed, in order to have a significant output, namely as a vector of probability or a 0–1 output; • Minibatch size - the number of samples a model trains with at each step. When feeding the ANNs with big amounts of data, it could take long for them to train if they are fed with one sample at a time. The typical size of the minibatch is 32 or higher, but with the consideration that a value could be too big, making the model over generalized; • Epochs - the number of times the ANN is fed with the entire dataset. A low epoch number can lead to underfitting, while a big epoch number can lead to overfitting. This happens because the bigger the number of times the model is trained on training data, the more it gets adjusted to it; • Dropout - removing some of the nodes, making the model less heavy and lowering the information propagated with redundancy. This also helps the model to generalize better. Deep Neural Networks Computers can perform logical operations faster than humans. DNNs are an evolution of ANNs, where several more layers are added, in order to process the information received in a more human way. ANNs and the shallow common ML models (like Support Vector Machines, Random Forest) often fail to recreate the abstract capacity of human brain, like the associations and deconstruction of an image or sound. Through life, humans are exposed to an immense amount of information and always learn something from it. Experiences make people learn what to expect from certain input, just like a DL model does. Children are in the early stage of life and, therefore, are exposed to a more intense process of learning and adaptation. They learn what to say in certain situations, how to demonstrate their feelings, how to recognize animals and objects, always with the help of 21 their parents. Parents act like the feedback system of DL models, as they help to get the correct output value and provide children with the best data as possible. The shallow ANN have only 3 layers (input, hidden and output), whereas DNN have multiple hidden layers (Fig. 2.12). Through the use of multiple hidden layers it is possible to get a better approach to the way human brains work. As an example, humans can smell food (receive the input), have the desire to it something (hidden layer for thought), then think about the diet they are committed to (hidden layer for memory), and decide to ignore the diet just for once (hidden layer for decision making), with the outcome of really eating something. In an ANN all this reasoning would not be possible since there would be not enough hidden layers. The disadvantages inherent to this approach are the increased difficulty (i.e. time) to train and the possibility that the neural network becomes too intelligent for the problem itself. When the DNN are deepest then the problem difficulty it’s frequent to occur overfitting. Figure 2.12: Comparison between a Simple Neural Network and a Deep Neural Network. Extracted from (Vazquez, 2017). Common DNN architectures There are several architectures of DNNs, which are often used in different applications. The most common applications of DNNs are related with image, text, and sound. The Deep Feed Forward (DFF) is the most common structure, where the first layer receives the inputs, passes them to the middle (hidden) layers, and produces the output. It only differs from the typical feed forward network because it adds multiple hidden layers. They nodes are often fully connected with the nodes of the previous and next layer. The Recurrent Neural Network (RNN) introduces a different type of cell, the recurrent cell. This cell is mainly used in problems where the context is important, because they pass their output to themselves with a delay, i.e. they see their output from previous iterations. Applications for these types of networks are commonly found in problems involving texts. Long/Short Term Memory (LSTM) networks are also commonly used in text classification. They introduce a new type of cell that resembles memory. These cells have a series of logical gates that 22 allow for previous information (memory) to pass on in a future time, while also erasing previous memories from time to time. Deep Convolutional Networks (DCNs) are the most well-known networks to process images nowadays. They feature convolution cells that simplify the data, keeping only the features that are relevant during this compression. In image recognition, this could be a layer of gradients, another of lines, a third of shapes, and so on. By the end of these layers there is a DFF network for final processing. The most relevant architecture for this dissertation is DFF, because no time or memory factor is needed, and no image processing is to be made. 2.3 DATA PREPROCESSING Preparing the data is very important to the success of the machine learning techniques. Data is gathered using several devices and passing through several phases before getting into the data warehouse, which increases the probability of errors, inconsistencies or noise. ML models frequently have their performance reduced by this problems, so reducing their impact is of great importance. 2.3.1 Data Visualization Nowadays, data is more complex than ever. Understanding the meaning of each data field is very important to understand the problem being faced and contributes to an easier solution. Data visualization tools makes this easier than using tabular data. It’s easier for humans to understand relations through visual application, like a graphic or a map, and even to see where patterns, tendencies or outliers are forming. Some of the most common graphics are: • CountPlot - a graphic that uses bars to represent the corresponding count for each column value; • BarPlot - a graphic similar to the CountPlot but using the count axis to represent another variable. Allows to put two variables against each other; • DistPlot - a graphic that represents counts for variables contained in certain intervals; • BoxPlot - a graphic that represents the lower and superior limit of the data, as well as the quartiles and median. It allows to better visualize outliers. 23 2.5 MODEL TRAINING 2.5.1 Activation Functions Nodes, the artificial structures that aim to recreate human neurons, act under a function. This function allows nodes to have a positive or negative impulse upon the next node. The function outputs a value according to the received inputs. Activation functions can be linear or nonlinear (Fig. 2.19). With linear functions the results are easier to compute and provide a faster model, while reducing his capability and leading to limitations. On the other end, nonlinear functions are more powerful and complex and can be one of the following: Softmax, Sigmoid and ReLU. Softmax is often used in multi-classification problems, normalizing the previous layers bringing the total of all to one. This leads to a result that specifies the probability for each one of the classes. In the end, only one label should have a value of 1, while the rest maintain a value of 0, indicating strong certainty in the prediction. Sigmoid is usually used in binary classification problems and aims to give values closest to 0 and 1. ReLU is becoming a very used and important function over the past years. It works well with large and consistent gradients and, for that reason, is being heavily used in computer vision applications. It blocks the negative values and gives a linear importance to the positive ones. This blocking action over negative values can, sometimes, be negative. Therefore, Leaky ReLU was invented and does not block the negative values, only attenuating them. Figure 2.19: Activation functions. 30 2.5.2 Loss Functions and Optimizers Other than activation functions, loss functions and optimizers are also very important to build a efficient brain-like system. The loss function acts like the dad or mom who corrects any incorrect behaviour of the sun they educate. In neural networks, this loss applies a penalty for the incorrect predictions the model outputs, giving the feedback needed. The system receives the feedback of the used loss function at any point and tries to adapt in order to reduce the loss. The adaptation occurs in the nodes and in the connection’s functions and weights. Optimizers are responsible for this operation and can perform differentiation or statistical work in order to succeed. In the present work, optimizer is choice is not as important as loss function choice and, for that reason will not be described in such an extensive way. Cross-Entropy Cross-entropy (CE) is one of the most common loss functions. It is a positive function that tends to zero as the model becomes more capable of outputting the right values. For a multi-class problem, it is possible to introduce a factor in representation of the class frequency, in order to mitigate the class imbalance problems that often occur. This variation of CE is called Weighted Cross-Entropy (WCE). 2.6 MODEL EVALUATION 2.6.1 Confusion Matrix A confusion matrix (Fig. 2.20) is a matrix that shows the predicted against the true values. Each row of the matrix represents the instances in a predicted class, for each one of the classes. The columns represent the actual class for each one of the classes. 2.6.2 Accuracy Accuracy (Eq. 2.2) is a metric for evaluating classification models, as a fraction of predictions the model got right, including positives and negatives (Fielding & Fielding, 2010). Accuracy =Number of correct predictions Total number of predictions (2.2) There is, however, a relevant point to be taken in consideration when using this metric: it only shows the true effectiveness of the model when there classes are balanced. This could be easily 31 Figure 2.20: Confusion Matrix. explained by a situation when credit card fraud detection is imperative. In that case, the majority of the occurrences are negative, i.e. there is not fraud, while a few of them will be positive. The model could easily answer that every transaction was not fraudulent, therefore guessing on all the true negative values. As the majority of the values would be negative, the model would have a great performance by the metric by would not predict any fraud. In this situation, the cost of not predicting a true positive is very high since a customer’s credit card would be used and the money available could be spent. 2.6.3 Precision Precision (Eq. 2.3) is a metric to measure the proportion of positive identification actually correct. It takes only the positives in consideration (Google Developers, 2020a). Precision =True P ositives True P ositives +F alse Positives (2.3) 2.6.4 Recall Recall (Eq. 2.4) is a similar metric with Precision. Instead of measuring the relation of how much of the positive identifications were actually correct, it tries to measure how many of the actual positives (and not the predicted) was correctly identified (Google Developers, 2020a). Recall =T rue Positives True P ositives +F alse Negatives (2.4) 32 2.6.5 F1 Score The F1 score (Eq. 2.5) relates precision and recall in a weighted average, reaching his best value at 1 and worst at 0. In multi-class problems, the F1 score is related to each one of the classes. F1score =2∗precision ∗recall precision +recall (2.5) A more general F score (Eq. 2.6), that uses a positive real factor β, where βis chosen such that recall is considered βtimes as important as precision, is: Fβ= (1 + β2)∗precision ∗recall (β2∗precision) + recall (2.6) The F1 score metric (β= 1), who gives the same importance to recall and precision, could be used in a unbalanced dataset, instead of accuracy. It is also possible to divide it in macro-F1 and micro-F1. The first one evaluates the performance considering that all the classes have the same weight. The last one performs the evaluation considering the classes’ distribution, therefore being more used in unbalanced datasets. 2.6.6 ROC Curve A ROC Curve (Fig. 2.21) is a graph showing the performance of a classification model at all classification thresholds. The curve plots against two axis: True Positive Rate and False Positive Rate. There is also the AUC, or Area under the ROC Curve, which represents the probability that the model ranks a random positive example higher than a random negative example. In conclusion, AUC-ROC is a performance measure that represents the degree of separability of classes, that is, how capable is the model of distinguish them (Google Developers, 2020b). The threshold is the probability value from which a sample is considered positive. 2.6.7 Cross-Validation Cross-validation is a method to test models’ performances on unseen data. A big mistake when measuring models’ performances is testing in the same data in which the model was trained. Simply removing a part of the available data is not enough to have confidence in the performance because data could be badly separated, not representing real-life situations (Pedregosa et al., 2015). There are two big types of cross-validation: 33 Figure 2.21: AUC-ROC Curve representation (Narkhede, 2018) • K-Fold - the data is divided in k subsets and the validation method is repeated k iterations. In each iteration, one of the subsets is used as a test and the rest is used as training. This greatly reduce bias because the majority of the data is used as training; • Stratified K-Fold - K-Fold does not consider the target class when making the separation through the subsets. Hence, there is a slight variation from the K-Fold implementation, where each one of the subsets has the same percentage of observations of each class. 2.7 HYPERPARAMETER OPTIMIZATION In the training phase, ML models change their internal parameters to better adjust to the problem, in order to produce better predictions. However, models’ operation and structure is affected by a group of parameters that could be defined by the data scientist, called hyperparameters. Adjusting this parameters can be very important to produce better predictions since every problem is different and finding the best combination of hyperparameters could result in significant improvements in the model’s performance. There are several methods used to find the best combination. 2.7.1 Manual Search The most basic search is the manual search. It consists in the usage of the data scientist’s knowledge and expertise to build the model with the best parameters. Some iterations with different parameters are conducted, one by one, with the data scientist evaluating the model’s performance at each step until it is acceptable. 34 2.7.2 Grid Search Instead of having the programmer running the models and adjusting the parameters manually, a automatic search over a set of parameters can be done. The set of parameters is still defined by the data scientist but all the possible combinations between them are performed automatically in the grid search. Every combination is evaluated and, in the end, the model with the best performance is saved, as well as the best hyperparameters. There is, however, a problem with grid search: the hyperparameter domain is still adjusted by the data scientist, which can result in a lower performance if the scope is not right, and the method is computationally intensive. The data scientist cannot simply choose all the possible hyperparameters because there could be millions of different combinations, making the grid take a lot of time. It is better to use grid search when the data scientist is sure of the hyperparameters that could provide good results. 2.7.3 Random Search When exploring through possible good hyperparameters, random search is a good alternative to grid search. Although grid search ensures that the best possible combinations is found, because all the combinations are tested, the random search is still capable of finding a similarly good result in less iteractions. Instead of performing calculations through every possible combinations, it tests the hyperparameters randomly. With this method, the data scientist is able to explore much more hyperparameters and, after seeing the results obtained from the tests, he can choose a subset of hyperparameters that shown the best results. 2.7.4 Bayesian Search In this search the hyperparameters are adjusted based in a regression. From a set of hyperparameters, the model tries to guess what would be the subset of parameters that could provide with a better performance, using the previous tests’ results. The combinations could be similar to the previous ones but, sometimes, other parameters are randomly chosen. This helps the model to follow the best hyperparameters at each time but also to explore all the values’ hyperspace. 2.8 RELATED WORK Over the past years, an increasing number of studies have been conducted in order to better predict the customer´s behavior over telecommunication companies. Before the rise of ML, companies used all kinds of statistical models to predict situations that could affect their financial value. Whereas some of these models could achieve a good performance, they are not able to use all the 35 data available in today is systems. ML is, therefore, used to allow a better use of this available data and to improve the overall quality and velocity of the predictions. Special care was given to churn situations, therefore the majority of the articles tend to cover this problematic. Customer churn destroys profits and reduces the overall shareholder confidence. In the beginning of the decade, churn rates reached 25% in Europe and acquiring new customers cost five times more than maintaining the current ones (Yan, Miller, Mozer, & Wolniewicz, 2001). It is also expected that customers who switched from another company continue to do so in the present one, making this strategy a more risky one (Larivière & Van Den Poel, 2005). In (Hung, Yen, & Wang, 2006) were used two approaches to predict churn that consisted of a decision tree and a back propagation neural network. In order to better classify the probability of churn, a K-means clustering method was used to divide customers in different churn sections, which replicate value-loyalty segments. The division took in account the billing amount (and, therefore, the raw current value of the customer), tenure months (to introduce the importance of loyalty in the model) and payment behaviors (to replicate credit risks). This division allowed to assess if the customer is behavior over the different clusters is different, which would lead to the creation of distinct models for each one of the clusters. The data elements fed to the models consists of demography, customer usage, billing and customer service interactions. The group measured the performance of different models and applications and concluded that clustering the customers in different segments contributed to a better performance. They found some difficulties due to the limited number of churners present in the dataset. They were also presented with a decrease in performance in the sixth month of validation. This could be due to several external factors like competition, natural disasters, and others. A method to counter this fluctuations in performance could be adjusting the data fed to train the model to a lower interval. The importance of using more or less historical data is approached in (Yan et al., 2001), where the use of more data in the same time window and the extension of this time window is debated. In the study, it was concluded that using only 50% of the data available in the defined time window did not contributed to a loss in performance. Sometimes, more data does not translate in more quality or performance for the model. When trying to get more historical data by increasing the time window, a new problem emerges: the customer may have a tenure of less than the time window. The work around found was to create several aggregations considering several time windows and from shifted moments in relation with the test data. When doing extractions from different moments and with different time windows the storage needs and the training difficulty increase. A solution to reduce the training difficulty is to produce several individual models for each one of the time windows and shifted time frames. Each one of the individual models would then be combined in a ensemble and retrieve a weighted prediction. The conclusion was that the ensemble method contributed to a better classification and should be taken in consideration in future or similar approaches, like the one being studied. A common problem when training models is including false predictors or information that is not available when the model is put to the test. In (Yan, Biosciences, Wolniewicz, & Computing, 2004), this situation is discussed and batch updates 36 are identified as the most probable cause for this types of error. The data sources provided to our study come from different systems and are built in different ways. Some are constantly updated, others perform batch operations overnight and others perform operation at the month end, turning this into a real problem that should be taken in consideration. Probably, other studies using machine learning techniques have been conducted in telecommunication companies. However, this companies tend to keep them hidden from competitors, since the studies can reveal information about the business model or motivate them to explore similar situations. In Neural Networks and other ML models it is not possible to introduce domain knowledge in the training phase. In (Yan et al., 2004), the solution for this problem is to modify the data fed to the model in order to represent this knowledge. This can be through clustering or techniques that modify the data but do not increase the feature cardinality or just by creating a new feature that could introduce the domains knowledge into the data. Feature extraction done with a good domain knowledge also contributes to a good model training, as the quality of the features extracted can impact a lot on the model is performance. Prior to the feature extraction phase, however, the features selected from the data available are also important. People tend to maintain all the possible attributes they have but some only add noise or complexity when training the model. However, even thought deep learning approaches show better performance in solving several problems, when compared to classical machine learning, there are not studies applying them to telecommunications or other related fields. This could be due to data being often in a tabular format, whereas deep learning techniques are more often used in image, sound or text contexts. 37 3. RECURRENCES DATASET 3.1 MATERIALS The goal of this work is to develop a ML model to predict when a client will suffer a recurrent problem in a telecommunication service. To make this possible, the complete historic of problems and efforts done in his resolution is needed. Each client being different, according to factors like age, literacy, need for the service and other variables, acts in a different way when a problem occurs. There is also a big amount of different problems in each field of service of the telecommunication company, making harder the process of identification of the problem and troubleshooting. Technical diagnosis and technical reparations could also be needed and should therefore be considered when trying to predict if a recurrence will happen. The complete dataset will then summarize all the interactions between client and customer service, all the technical analysis and all the technical interventions. It will also compile information about the client profile and services usage. Python will be used as the main programing language to conduct the work as it has many libraries and frameworks that support ML development, with efficient and simple implementations found easily. Python was used along with other tools like Jupyter Lab, Keras, TensorFlow and Docker. 3.1.1 Working Environment Docker Docker makes possible to implement Operative System (OS) virtualization in a simple and selfcontained environment. The containers docker creates act like a simple and stripped OS version, isolating all the main system in a kind of virtual machine. Even though it allows to make an isolated system, several containers could work simultaneously in the same system using the same physical resources like the CPU, GPU and RAM. Working with amounts of data like those available compromises the efficiency of the common laptops and workstations, making Docker a go-to solution, allowing corporate users to efficiently use company servers. To start a Docker, the software builds the software images available from the base environment and adds the specific changes required. Some changes are due to the necessity of the user and the work that must be done. In this specific case, modules like Keras, TensorFlow, Numpy and others will be needed. Table 3.1: Hardware in which Docker was running. Resource Amount CPU Cores 12 RAM 64 Gb HDD 1 Tb 39 represent 90% of the calls, like shown in figure 3.3. It is also possible to understand that the 20 most frequent typifications have the highest percentage of dataset with the value decreasingly fast after those. Therefore, it is worth to analyze the 20 most frequent typifications (Fig. 3.6a). As seen in figure 3.6a, different typifications show different probabilities of recurrence. When comparing the first typification of the graphic (”ADESÃO / ALTERAÇÃO SERVIÇOS - SERVIÇOS ADICIONAIS”) with the eighth (”DESATIVAÇÃO @@@ SERVIÇO BASE”), this becomes even more clear. The first typification, related with customers calling to add or alter extra services to their base contract, shows a higher number of recurrences. This may be due to the fact that customers call several times before actually making a new addition to the service, either for knowing better the technical aspects of the service or to get price information. Changes to the service can also incur in this motivations for recurrence. This typifications fit in higher-level groups called categories. There are more than 1000 different typifications but only about 100 categories. The 10 categories with higher frequency are represented in figure 3.6b. Like in figure 3.6a, it is possible to observe that some categories show a higher probability of recurrence. Previous interactions with the customer support service Knowing of previous problems of the same typification can hint difficulties in solving some of them. More than that, knowing if any problem of the same typology has even occurred can help to understand if a recurrence will happen in case of a new problem report. From figure 3.7a it is possible to understand that problem who have happened already in the past 180 days tend to happen again and recur. This can be due to a problematic service installation, where the customer feels month after month problematic behaviors. On the other hand, a customer may also start feeling that his service is not working properly and his dissatisfaction makes him call more frequently and being more sensible to the service problems. That being said, customer with no incidents of the same typology in the past 180 days tend to not recur, whereas those who already had similar problems tend to recur when trying to solve a new one. The number of previous incidents of the same typology in the past 180 days also helps to understand how interactions with customer service happens. As expected, the frequency of the number of previous incidents decreases the higher the number of incidents. Naturally, just one customer service interaction is needed to solve a certain problem and that is reflected in figure 3.7b. But more than this, it is possible to observe that as the number of previous incidents increases, the recurrence ratio decreases. This shows that the higher the number of contacts with the customer service, the lower the probability of recurrence. It is also possible do understand that the ratio of recurrence tends to decrease rapidly from a number of incidents between 1 and 4. Nevertheless, there’s always a higher probability of recurrence on customer who have already have incidents than those who did not. 46 (a) Problem’s typification relation with recurrence. (b) Problem’s category relation with recurrence. Figure 3.6: Typifications and Categories relation with recurrence. These problem can be reported to several teams, depending on several factors. As an example, is a customer reports a problem in a store, then the team responsible for opening a new ticket will be the ”LOJAS” (stores), like seen in figure 3.8. Naturally, not all the problems are the same and usually stores are reached by customers asking for informations more than reporting for a technical problem. In the same figure, it is possible to observe that the team ”TÉCNICO” (technical) is the one with the higher ratio of recurrences. This is understandable since technical problems usually need more resources to be solved and frequently need tests and iterations, leading to recurrent contacts. 47 (a) Occurrence of same typification problem and target relation. (b) Number of occurrences of same typifications and target relation. Figure 3.7: Same typology problem occurrences within 180 days target relation. Time spent in a customer support call In a similar way, the time spent in a call with the customer service support may also give an indication about the probability of recurrence. Figure 3.9 shows the relation between time, in minutes, spent in a call and the probability of recurrence of a problem with the same typology. As it is possible to observe, shorter calls often result in no recurrence. This is not the expected outcome of a shorter call time, since a higher time should mean more resources into the problem’s resolution. However, when taking in consideration the behavior of the company’s information systems, this figure is understood. In fact, for the majority of the problems who are solvable in a single call (like customers asking for informations), customer support operators often create and end the support ticket at the same time. This causes the lower call time registries to have this noisy data into them, showing lower recurrence ratios than the rest higher call time ones. 48 Figure 3.8: Teams responsible for ticket openings. Figure 3.9: Time spent in a customer support call importance. Time left to the end of the contract The time left until the end of the contract is also really important to explore, since it could represent an opportunity for customers to renew their contracts with better benefits or even changing to a new service provider. This opportunity to change could make customer more susceptible to complaints about the service. In figure 3.10a, it is possible to see the recurrence and non-recurrence percentages of customers with different months left until the end of the contract. The 0 months mark represents customers that are not under any kind of retention. The rest of the figure shows the increase in customer complains the farthest they are from their end of the contract. The most frequent categories (Fig. 3.6b) suggest that this could be due to initial contract complains (in case the service is not going accordingly with the contracted or expected), addition of extra services, equipment requests or changes or even informations about 49 the service. It is, however, interesting to see that a small bump occurs in the 12 month mark. This could be due to customers trying to get new benefits, changes in promotional offers (as an example, TV Boxes are often offered with a discount in a yearly base, instead of a full contract) or just because some customers have contract of only 12 months. It is important to note that the majority of the contracts are established for a 24 month time period. It is also interesting to observe that customers within a range of 0 to 2 years of account age tend to recur more often (Fig. 3.10b). This situation can occur due to initial service setup but also because customers who frequently change between different service providers have higher level of technical needs. (a) Time left to the end of the contract importance. (b) Customer’s account age importance. Figure 3.10: Retention and account age relation with recurrence. 50 Maintenance works Similarly to the time spent in a call, maintenance works show how many resources were applied to solve a certain problem. A higher number of maintenances shows either signs of a bad maintenance procedure or a location with an infrastructure problem. In figure 3.11a it is possible to see how previous maintenance works hint about the recurrence probability. When customers don’t have any previous maintenances made they more often don’t recur. In opposite way, customers who have already seen their service maintained tend to recur. The amount of maintenances work performed, in figure 3.11b, show that the more maintenance works are performed, the higher the probability for recurrence. This supports the idea of customers having problems or complains that are not fixable with a maintenance but instead are due to an infrastructure problem. (a) Previous maintenance needs. (b) Number of previous maintenances performed. Figure 3.11: Maintenance’s relation with recurrences. Customer’s Services Contracted Users with more services contracted have, naturally, a higher probability of their service failing. Furthermore, these customer tend to be more technological and demanding, noticing any failure and reporting that same problem. In 3.12a it is possible 51 to see that customer that don’t have TV service included tend to recur less, which may be due to having a lower probability of failure or due to them being more demanding of the service. The technology used in the base service installation is also to be taken in consideration when trying to understand the outcome of a customer contact. By the figure 3.12b it is possible to understand that customer with DTH will more probably recur in a problem in comparison to the ones who have FTTH. (a) Predictive model usage in business. (b) Predictive model usage in business. Figure 3.12: Contracted services and technology relation with recurrences. The customer’s expectations are also to be taken in account when trying to predict recurrences, since more demanding customers tend to recur more often. Through figure 3.13a it is possible to observe that customer who have internet service contracted usually recur more often but there are no hints about the motive this happen, like in figure 3.12a. However, after analyzing the figure 3.13b it is possible to observe a higher recurrence in customers with higher internet speeds contracted. 52 (a) Predictive model usage in business. (b) Predictive model usage in business. Figure 3.13: Contracted services and technology relation with recurrences. 3.2.3 Data Preparation Cleaning In order to reduce the noise fed to the models and improve the performances, the dataset needed to be cleaned. Among other problems, this cleaning tried to remove rows and columns with data having no variance, repeated, unnecessary or null. Furthermore, specific rows also needed to be eliminated due to repetition, errors or simply because they had data not related to the problem, created by the internal information systems’ operation. Remove Unwanted Observations Firstly, all the rows not related with the base (TV, Internet or Landline) or mobile (Cell phone or Broadband) services where removed. Also, all the entries which state could still be changed (due to ongoing resolutions) were removed, as they didn’t allow 53 to correctly trace the procedures and their outcomes. Some entries also didn’t have customer account information or where null, making it impossible to have important data about the customer itself and were also removed. This situation could occur when people reaching out to the service provider aren’t customers yet. Customer support operators have the possibility to insert additional information to the ticket, which leads to great inconsistency in the field that stores this data. There are also personal information fields that are all filled with the same data or repeat other columns information. Some fields with information about the internal system who created the entries were also unnecessary and were removed. In opposition to the previous related situation, which were full columns or rows to delete, there are several rows to delete by specific conditions. Some examples are: • Entries from different systems that the one encharged by customer complains; • Entries that are not caused by the customer but, instead, by the customer service reaching out to the customer in a pro-active way, as this situation cannot be considered a recurrence; • Entries created by very specific teams, that do not participate in the customer support service itself but, instead, have the permissions to work some problems related with customer support; • Entries duplicated due to automatic system propagation procedures. Handle Missing Data Although customer support operators have the possibility to add their own ticket information this doesn’t occur frequently. In fact, there’s not enough detail on the problem to complete all the automatic fields on a new customer support entry. These fields have a very high null frequency and were deleted from the dataset. In order to clean the data is also important to not only delete rows or columns but also to complete the fields with null values. This is important because deleting any entry that has a completable null field means a lost of information about a particular individual, meaning that all the entries related to it would loss their value to the model. Some examples are: • Customer age values, replaced by the median; • Account age, replaced by the median; • Service information (like TV box count, internet speed) that, sometimes, is not registered in the ticket but it available through other data sources. 54 Fix Structural Errors Some columns had information about previous recurrences of the same problem for each level of description available. Those, however, were filled incorrectly. After analyzing the data it was possible to see that due to system propagation a entry could be repeated for several times. This lead to an extensive work of filtering the repeated entries through several conditions. Table 3.2: Examples of target problems count and distributions during the cleaning process. Target Problem Before Cleaning After Cleaning ADESÃO / ALTERAÇÃO SERVIÇOS - SERV. ADICION. 621395 (10,6%) 360025 (9,6%) EQUIPAMENTOS - 2A VIA CARTAO SIM 305890 (5,2%) 135228 (3,6%) EQUIPAMENTOS - PRESTAÇÕES 198729 (3,4%) 77094 (2,1%) EQUIPAMENTOS - TROCA EQUIPAMENTO 150427 (2,6%) 70540 (1,9%) Informações @@@ CARACTERÍSTICAS PRODUTOS 121885 (2,1%) 115261 (3,1%) PEDIDOS @@@ TRANSFERÊNCIA DE MORADA 112655 (1,9%) 984 (0,0%) FATURAÇÃO - VALORES 108315 (1,8%) 98424 (2,6%) DESLIGAMENTO @@@ MÓVEL PRE-PAGO 97203 (1,7%) 27123 (0,7%) PEDIDOS @@@ FORMULÁRIO MÓVEL 88767 (1,5%) 43103 (1,2%) PEDIDOS @@@ ALTERAÇÃO TITULARIDADE 71437 (1,2%) 321 (0,0%) Total (including all the other problems) 5884432 3746847 After doing performing this operations, the data suffered heavy changes in number of entries but also in the problem’s distribution, as seen in table 3.2. Feature Extraction Extracting additional features increases the data quality, thereby improving the chances of a higher performance model. As many of the problems reported are due to technical difficulties or malfunctions, getting information about the installations is very important. For this reason, the following features were extracted: • #Manutencoes - a count of the number of maintenance works performed up to the date of the ticket; This includes all the works related with fixing reported problems. • #Instalacoes - a count of the number of different installations performed; This includes all the new installations of the different services a customer may have gone through. • #OTAlteraServico - a count of the number of times the service has changed and a technical team had to do equipment changes; This includes all the works performed due to service changes like changing internet routers due to higher speed contracts or changing TV boxes due to higher quality sources. 55 The following parameters were tested with different values: • n_estimators - the amount of trees the estimator will use. This is important because the number of trees needed to solve a problem varies from problem to problem. More trees than the necessary would not make the performance worst but will eat more CPU time, while the lack of trees will degrade performance; • max_features - this resembles the number of maximum features provided to each tree in a random forest. It is a good convention to consider the default value of this parameter, which is set to square root of the number of features present in the dataset. The ideal number of max_features generally tend to lie close to this value. • min_samples_leaf - specifies the minimum number of samples that should be present in the leaf node after splitting a node. Allow to control the growth of the tree by setting a minimum sample criterion for terminal nodes. helping to prevent overfitting as the parameter value increases. Logistic Regression Logistic Regression was used because there is no clear evidence of a high correlation among the predictors, which could result in a good performance for this algorithm. The following parameters were tested with different values: • tol - tolerance for stopping criteria. The default is 1e-4 but tests for lower and higher values were made; • C - inverse of regularization strength. Like in support vector machines, smaller values specify stronger regularization; • penalty - used to specify the norm used in the penalization. The default is l2 but using no penalization could be beneficial so that was also tested; • solver - algorithm to use in the optimization problem. sag is faster for large datasets and lbfgs is the default one, so both were tested. KNN KNN was used because similarities between entries and their problems could result in a clustering identifiable by the algorithm. The following parameters were tested with different values: 62 • n_neighbors - represents the number of neighbors to use for kneighbors queries. Using n_neighbors=1 means each sample is using itself as reference, that’s an overfitting case. More neighbors usually represent an improve in the test score. If too much neighbors are used, the performance gets worse; • leaf_zise - leaf size passed to BallTree or KDTree. This can affect the speed of the construction and query, as well as the memory required to store the tree. The optimal value depends on the nature of the problem so several were tested, while the default is 30. • weights - weight function used in prediction. In uniform all points in each neighborhood are weighted equally. In distance, weight points by the inverse of their distance. in this case, closer neighbors of a query point will have a greater influence than neighbors which are further away; • algorithm - algorithm used to compute the nearest neighbors. ball_tree and kd_tree were tested, and brute-force search excluded. Naïve Bayes Naïve Bayes was used because it cannot represent complex behaviour, therefore it would not overfit. It was tested more as a comparison and used as a guarantee that other models weren’t overfitting. The Gaussian Naïve Bayes was used and no parameters are changeable. SVM Linear SVMs work very well with a huge number of features. Linear kernel was used because other kernels are more computationally heavy and take too long to fit. The following parameters were tested with different values: • dual - Select the algorithm to either solve the dual or primal optimization problem. Preferably dual=False when n_samples > n_features, so both were tested, with the default being True; • C - Regularization parameter. The strength of the regularization is inversely proportional to C. The default is 1 but lower penalizations were tested. All the tested hyperparameters were selected based on the most commonly used optimizations, which often produce the biggest impacts in the overall performance of the model. There could be other hyperparameters that could allow for a better optimization but considering them would exponentially increase the time of the experiments. With the limited amount of time, this would not be possible. 63 4.1.2 Deep Neural Networks To get the best model, several experimental configurations of different fully connected MLPs were tested. When designing the models, two main architectures were selected: the first with 3 wide hidden layers and the second with 15 narrow hidden layers. According to (Karsoliya, 2012), architectures with one, two or three layers with about 2/3 of the neurons of the input size in each layer can achieve similar results compared to deeper architectures, which is why the first architecture was created. Fewer layers also contribute to a less computing-hungry model with shorter training times (Stathakis, 2009). However, deeper neural networks can sometimes find complex relationships within the data (Bianchini & Scarselli, 2014), which led to the second architecture being created for our tests. Batch normalization layers, which are not shown in Table 4.2, were used between all the MLP layers in order to improve the speed, performance, and stability of the artificial neural network (Ioffe & Szegedy, 2015). Table 4.2: Description of the different MLP structures used. Structure ID #Hidden Layers Structure #Connections 1 6 4673-3100-3100-3100-3100-1000 4.32E20 2 3 4673-3100-3100 4.49E10 3 15 4673-3100-2000-(2x)1000-(5x)500-(5x)100 9.05E39 4 2 3100-3100 9.61E6 The learning process is determined by the loss function, which in turn is affected by class imbalance. Various class weights have been tested to address this problem. After pre-evaluating the results obtained using equal class weights in comparison with balanced weights (King & Zeng, 2002), the latter were chosen due to the better performance obtained. For this reason, all experiments were carried out using balanced class weights. Binary cross entropy loss function was considered suitable for this problem. The ADAM optimizer was also chosen since it has been showing the best performances in similar problems (Kingma & Ba, 2014). Since the architecture of the DNN is not the only factor that needs to be considered when creating a model, several hyper-parameter configurations were tested for each of the structures specified (Table 4.3). The usual method for evaluating several hyperparameters in a neural network is to do some kind of grid-search. However, this method has a high computational cost and was not feasible due to time and computational limitations. Therefore, after analyzing some previous tests and leveraging the existing team knowledge, a set of hyperparameter configurations were chosen (Table 4.3). The following parameters were tested with different values: 64 • Batch size - The batch size defines the number of samples that will be propagated through the network. At the end of the propagation, the network’s weights are updated. This helps to reduce the memory needed for training the model because not every samples are passed at once, while increasing the speed of training. The risk with too low batch sizes is that they could make the optimization fluctuate too much. • Learning rate - The learning rate is controls how much to change the model, accordingly to the estimated error each time the model weights are updated. A value too small may result in a long training process that could get stuck, whereas a value too large may result in learning a sub-optimal set of weights too fast or an unstable training process. The Reduce LR option cuts the learning rate by half (in this case, 50%) when there is not a big enough evolution in the performance, meaning that the model is reaching close to the best point. • Loss function - The loss function is important for calculating the error of the model during the optimization process. Different loss functions are used depending on the problem, since the type of problem greatly affects what is considered to be a loss. • Optimizer - The optimizer is responsible for updating the weights on the neural networks, accordingly to the loss function calculations. Different optimizers allow for a faster approximation to the optimum results. Table 4.3: Hyperparameter configurations used for each different structure. ID Structure ID Batch Size Learning Rate (LR) Reduce LR Train Size 1 1 64 0.001 50% 320k 2 2 64 0.001 50% 320k 3 2 1024 0.001 50% 320k 4 2 10000 0.001 50% 320k 5 3 10000 0.001 50% 320k 6 3 64 0.001 50% 320k 7 2 64 0.0001 no 320k 8 2 64 0.01 no 320k 9 2 64 0.001 50% 640k 10 2 1024 0.1 no 320k 11 4 1024 0.001 50% 320k 12 4 64 0.001 50% 320k 13 4 64 0.001 50% 640k 4.1.3 TabNet TabNet is a novel high-performance and interpretable canonical deep tabular data learning architecture. TabNet uses sequential attention to choose which features to reason from at each decision 65 step, enabling interpretability and more efficient learning as the learning capacity is used for the most salient features. It outperforms other neural network and decision tree variants on a wide range of non-performance-saturated tabular datasets and yields interpretable feature attributions plus insights into the global model behavior (Arik & Pfister, 2019). Among several possible hyperparameters that could have been optimized, the following ones were selected as the ones offering the best possibility of increasing the prediction’s performance. Table 4.4 resumes the searched possibilities. The following parameters were tested with different values: • n_d - Width of the decision prediction layer. Bigger values give more capacity to the model with the risk of overfitting. The default value is 8. As the model is very complex and there is low correlation with the target variables among the features, values higher than the default 8 were tested; • n_a - Width of the attention embedding for each mask. According to the paper n_d=n_a is usually a good choice, so at each step the value was equal to the n_d; • n_steps - Number of steps in the architecture (usually between 3 and 10). The default value is 3. As this is a very unexplored model, a value of 7 was also tested. It would allow for a possibly better fit on the data; • gamma - This is the coefficient for feature reusage in the masks. A value close to 1 will make mask selection least correlated between layers. Values range from 1.0 to 2.0. The default value is 1,3, but values of 1 and 2 were also tested because it could help with the complexity of the problem. Table 4.4: Hyperparameters tested for TabNet. Hyperparameters Configurations #Combinations n_d n_a n_steps gamma [8, 32, 64] equal to n_d [3, 7] [1, 1.3, 2] 18 4.2 EVALUATION In this section, the performances of the models are presented, based on the validation set. This will allow to comprehend the advantages and disadvantages of each model and pick the best one from the classical models, the deep neural networks and the best configuration of TabNet. 66 With the selected models from each groups it will be possible to compare the different approaches and conclude about the best one. Both the classical models and the TabNet were trained with 500k entries (320k for training), with DNN being tested against a higher amount also (1M entries, 640k for training). The DNN was tested with a higher number of entries because it doesn’t comes to a plateau, as classical machine learning models do, accordingly to literature. 4.2.1 Classical Models Evaluation In table 4.5 it is possible to observe the performances of the models trained, as well as the hyperparameters that were needed to achieve those results. Memory used and time needed to train the model were also considered because computational resources can be expensive or scarce in a company. The best model is CatBoost, which was able to achieve and AUC-ROC of 79% with the lowest memory usage and one of the shortest time to train. Random Forest was the only estimator coming close to the CatBoost’s performance, with a higher time and memory needed to train. Table 4.5: Classical models’ performances comparison on the validation set. Model Best Hyperparameters Memory Time Prec. Pos Rec. Pos F1 Pos AUC ROC CatBoost ’depth’: 10, ’iterations’: 200, ’learning_rate’: 0.1 5 Gb 7 min 18% 75% 30% 79% Random Forest ’max_features’: ’sqrt’, ’min_samples_leaf’: 5, ’n_estimators’: 500 8 Gb 38 min 37% 15% 21% 78% Logistic Regression ’C’: 0.1, ’penalty’: ’l2’, ’solver’: ’sag’, ’tol’: 1e-06 5 Gb 3 min 15% 72% 25% 72% KNN ’algorithm’: ’ball_tree’, ’leaf_size’: 5, ’n_neighbors’: 5, ’weights’: ’distance’ 6 Gb 48 min 22% 7% 10% 63% Naïve Bayes - 6 Gb 1 min 16% 36% 23% 67% SVM Linear ’C’: 1, ’dual’: False 6 Gb 48 min 16% 71% 25% 67% The CatBoost model achieved a F1 score for the positive class of 30% and a AUC-ROC of 79%, with a low amount of training time. The precision-recall curve (Fig. 4.1) produced hints about the possible best decision threshold to use in this problem, in case it is selected as the best overall model. 67 4.2.2 Deep Learning Models Evaluation The best results achieved are highlighted in Table 4.6, with a AUC-ROC of 73%, and an F1-score of 35% with a Precision of 23% and a Recall of 72%. When comparing with the other experimental setups it is clear that the main factor is the amount of data the model was trained with. When comparing it with the same model structure and same parameters but using only 500k (ID 12), it is possible to see an increment of 5% in the AUC-ROC, as well as increase in both Precision and Recall for the positive class. Table 4.6: Results obtained with the different configurations for the validation set. ID Best Epoch Memory Used Time to Train Prec. Pos Rec. Pos F1 Pos AUC-ROC 1 5 18 GB 16,0 H 21% 60% 32% 69% 2 7 13 GB 16,0 H 23% 47% 31% 65% 3 7 13 GB 2,0 H 19% 55% 28% 65% 4 7 15 GB 2,5 H 20% 56% 29% 66% 5 11 16 GB 1,5 H 24% 45% 31% 65% 6 6 13 GB 25,0 H 21% 64% 31% 59% 7 5 13 GB 10,0 H 20% 58% 30% 57% 8 3 13 GB 10,0 H 20% 64% 30% 69% 9 5 22 GB 32,0 H 21% 68% 32% 70% 10 none 13 GB 0,5 H - - - - 11 3 13 GB 1,0 H 19% 67% 29% 68% 12 4 13 GB 6,0 H 21% 60% 32% 68% 13 4 20 GB 12,0 H 23% 72% 35% 73% The majority of the models were evaluated using 500k entries. From those, 320k were used to train, 80k to validate and 100k to test. In a deployment state, the models would likely be trained with the full 3.9 million entries. Increasing the training size would quickly increase the training time, as seen in the table 4.6. If the network had to be re-trained due to a sudden event, it can take weeks, which is a lot of downtime. For this reason, it can be useful to have a model with the same characteristics as the highlighted model, but with a larger batch size to allow a faster train. Regarding batch size, it can be seen that increasing from 64 to 1024 shortens training time because the calculation used to measure loss is less frequent. However, an increase from 1024 to 10000 shows an extension of the training time. This is due to the fact that extensive calculations are carried out for a much larger number of instances that have to be taken into account. Increasing or decreasing the learning rate from the standard 0.001 to 0.01 or 0.0001 does not have a major impact on the training time. However, if you increase this value to 0.1, it is possible that the model train is really faster, but loses all of its predictive power. Our previous tests showed that a decrease in the learning rate is essential to prevent the model 68 from being set to a local minimum. This can easily happen because it is an unbalanced problem. 4.2.3 TabNet Evaluation The TabNet model showed the best results with the parameters described in Table 4.7. The high n_d and n_a values seem to be important, due to the problem complexity. The number of steps (n_steps = 3) has a direct impact on the amount of time that the model needs to train. The best hyperparameters have a low number of steps, which is helpful. The best hyperparameter configuration was able to achieve and AUC-ROC of 78%. Table 4.7: Classical models’ performances comparison on validation set. Hyperparameters Memory Time Prec. Pos Rec. Pos F1 Pos AUC ROC ’n_d’: 64 ’n_a’: 64 ’n_steps’: 3 ’gamma’: 1.0 5 Gb 4,5 H 17% 78% 28% 78% 4.2.4 Discussion The CatBoost model was able to achieve the best performance among the different trained models, when considering the AUC-ROC score, the one that shows evidence of the separability of the classes. Comparing this model to TabNet and DNNs (Table 4.8), it is also the fastest one. This is possible because CatBoost is explicitly designed to work on heterogeneous data, while building his trees in a symmetric way. Symmetric trees help to reduce overfitting because they keep the decisions simple. Using gradient boosting, the branches of the trees are still organized in a way that possibilitates to capture complex relations between multiple features. On the other hand, both TabNet and DNNs are based on neural networks, which usually offer better performance on homogeneous data, like the one present in sound, image or text. In the present dataset, there are lots of categorical data columns, some with hundreds or thousands or different possible values, whose data distribution is not normally distributed. This presents a real difficulty to neural networks, while it is handled by CatBoost’s core. When comparing CatBoost to DNN (Table 4.8) in terms of memory costs, it is possible to understand that this is possible because of the way CatBoost works. Being based on trees, the conditions are built layer by layer, while DNN need to work with all the features at the same time in order to produce an output. The DNN backward propagation is also inherently more complex than adjusting the CatBoost tree’s branches. The memory and time usage was measured when using 640k entries to train the models, but when using 3 million entries the resource needs would increase greatly (at 69 least 4.5 times more, linearly). Depending on the systems were the models would be trained, this could have a big impact. If the model was set to be trained every weekend in the same computer that was used for the tests, then the training phase would take more than 48 hours, exceeding the weekend. However, if the model is set to be trained in a more capable machine, this could be a no-problem and the extra classification performance could be achieved. Table 4.8: Best model’s performances comparison on validation set. Model Memory Time Prec. Pos Rec. Pos F1 Pos AUC ROC CatBoost 5 Gb 0,1 H 18% 75% 30% 79% DNN 20 Gb 12,0 h 23% 72% 35% 73% TabNet 5 Gb 4,5 h 17% 78% 28% 78% 4.3 BUSINESS EVALUATION As the CatBoost model was the one obtaining better results on the validation set and would be used in production, it is worth analyzing the precision-recall curves (Fig. 4.1) and adapt the decision threshold. The default decision threshold for the predictions is 0.5 but accordingly to the precisionrecall curve a threshold of 0.75 would be optimal. This trade-off allows to identify less customers who would probably recur, but with more confidence in the prediction, making the process more efficient for the company (Table 4.9). Figure 4.1: Precision and Recall Scores as a function of the decision threshold from CatBoost. By doing so, a Recall of 61% and a Precision of 62% were achieved, with respect to the final test set. The final F1-score is 62% and the AUC-ROC is 79%. This means that from every 10 70 customer recurring, 6 of them would be correctly identified. Using this model in production could result in automatic measures being taken. Moreover, the service of the customers flagged could be inspected by free operators, depending on the occupation of the customer service, improving the overall quality of experience without any impact on the costs for the company. Table 4.9: Results on the test set: default vs. custom threshold. Decision threshold Prec. Pos. Rec. Pos. F1 Pos. AUC-ROC 0,50 (default) 18% 75% 30% 79% 0,75 (custom) 32% 28% 29% 79% 71 CBO9781107298019 Srivastava, T. (2018). KNearestNeighbor|KNNAlgorithm|KNNinPython&R. Retrieved 2020-10-04, from https://www.analyticsvidhya.com/blog/2018/03/ introduction-k-neighbours-algorithm-clustering/ Stathakis, D. (2009, 04). How many hidden layers and nodes? InternationalJournalofRemote Sensing,30, 2133-2147. doi: 10.1080/01431160802549278 Uhrig, R. E. (1995). Introduction to artificial neural networks. In Ieconproceedings(industrial electronicsconference)(Vol. 1, pp. 33–37). IEEE. Retrieved from http://ieeexplore .ieee.org/document/483329/ doi: 10.1109/iecon.1995.483329 Vazquez, F. (2017). DeepLearningMadeEasywithDeepCognition. Retrieved 2020-10- 04, from https://www.kdnuggets.com/2017/12/deep-learning-made-easy -deep-cognition.html Vazquez, F. (2018). ThedifferencesbetweenArtificialandBiologicalNeuralNetworks. Retrieved 2020-10-04, from https://towardsdatascience.com/the-differences -between-artificial-and-biological-neural-networks-a8b46db828b7 WelcometoLightGBM’sdocumentation! —LightGBM3.0.0.99documentation. (n.d.). Retrieved 2020-09-22, from https://lightgbm.readthedocs.io/en/latest/ Yan, L., Biosciences, A., Wolniewicz, R. H., & Computing, F. (2004). Behavior in Telecommunications. IEEEIntelligentSystems,19(2), 50–58. Yan, L., Miller, D. J., Mozer, M. C., & Wolniewicz, R. (2001). Improving prediction of customer behavior in nonstationary environments. ProceedingsoftheInternationalJointConference onNeuralNetworks,3, 2258–2263. doi: 10.1109/ijcnn.2001.938518 78