Executive Summary

February 26, 2026

Customer Churn Prediction in Telecommunications with Machine Learning and Explainable AI

João Carlos Matos Druczkoski; Daniel Alvarez Firmino

Summary prepared by the ResumeAI tool, an artificial intelligence solution developed by Instituto Pecege focused on synthesis and writing.

The objective of this work is to develop a high-performance predictive model for customer churn in the telecommunications sector, translating the findings into strategic recommendations. The specific objectives are: to identify the impact variables; build and compare the performance of machine learning algorithms, including Logistic Regression, Random Forest, XGBoost, and CatBoost; validate the models with classification metrics, focusing on recall; and utilize Explainable Artificial Intelligence (XAI) to extract actionable insights that optimize customer retention. The research thus seeks to create an accurate prediction tool and provide a diagnosis on the factors driving customer loss, enabling proactive actions.

The telecommunications sector operates in an environment of high competitiveness and growing commoditization of services. Companies in the sector depend on maintaining a stable customer base for their business model, based on recurring revenues (Lima and Pamplona, 2010). Customer churn is a critical metric, as the cost of acquiring a new customer (CAC) is significantly higher than retaining an existing one, making loyalty a pillar for business profitability (Hennig-Thurau et al., 2004).

In this scenario, anticipating which customers are at risk of canceling their services represents a competitive advantage. Effective retention is proactive, based on understanding customer needs and satisfaction levels. Factors such as service quality, innovation, and perceived value are crucial for consumer loyalty (Reicheld, 2022). In-depth knowledge of these factors allows telecommunications companies to personalize their offers and communication strategies, increasing the chances of loyalty.

Machine learning emerges as a solution to analyze large volumes of historical data and identify complex patterns associated with churn. Classification algorithms can, with high accuracy, group customers by risk, allowing retention teams to focus their efforts on those most likely to churn. This data-driven approach transforms customer management from a reactive practice to a proactive strategy, optimizing resource allocation.

This study proposes a churn prediction system that combines high predictive performance with interpretability. The use of advanced classification algorithms and the SHAP (Shapley Additive Explanations) methodology allows not only to predict “who” will churn, but also to understand “why”. This diagnostic capability enables the development of targeted interventions, such as personalized marketing campaigns, discount offers, or improvements in specific services, with the aim of strengthening customer relationships and reducing the churn rate.

The research adopts a quantitative approach, applying machine learning techniques to develop a binary classification model. The study followed the phases of the CRISP-DM methodology (Chapman et al., 2000). The database used is a public dataset from IBM, with anonymized information of 7,043 customers of a telecommunications company in California, collected in the third quarter of 2018 (IBM, 2017). The dataset consists of 21 variables, including demographic data, contractual data, service data, and the target variable, which indicates whether the customer churned.

For the modeling, four algorithms were selected. Logistic Regression was chosen as the baseline due to its simplicity and interpretability (Boateng and Abaye, 2019). Ensemble models, such as Random Forest, were explored for their robustness and ability to reduce overfitting (Breiman, 2001). Additionally, two Gradient Boosting algorithms were tested: XGBoost, known for its speed (Chen and Guestrin, 2016), and CatBoost, designed to efficiently handle categorical variables and often demonstrating superior performance (Prokhorenkova et al., 2018). The literature indicates that ensemble models based on boosting are effective for churn prediction due to their ability to handle class imbalance and complex interactions (Imani, 2024).

Hyperparameter optimization was performed using a hybrid strategy to maximize the model’s predictive potential. Initially, Random Search was employed to efficiently explore a vast space of values (Bergstra and Bengio, 2012). Subsequently, Grid Search was applied to refine the search in promising regions, exhaustively evaluating a focused set of combinations. This approach balances exploration and refinement, increasing the probability of finding a configuration close to the global optimum (Wang and Gadi, 2024).

To ensure that the results were comprehensible and actionable, the XAI technique known as SHAP (Shapley Additive Explanations) was applied. Based on game theory, the SHAP methodology calculates the contribution of each variable to each individual prediction, allowing for a detailed analysis of how the model makes its decisions (Lundberg and Lee, 2017). This step was crucial for translating the patterns identified by the algorithm into strategic insights, identifying the main risk and retention factors. Model evaluation was performed using metrics such as Accuracy, Precision, Recall, F1-Score, and the area under the ROC curve (AUC-ROC), ensuring a comprehensive performance analysis.

The exploratory data analysis revealed that the overall churn rate in the base was 26.5%. Data preparation included converting the TotalCharges variable to a numeric format, which revealed 11 null values, which were removed. The analysis of numerical variables showed that tenure and TotalCharges had a high correlation, with a Variance Inflation Factor (VIF) of 9.53 for TotalCharges. To avoid multicollinearity, the TotalCharges variable was excluded from modeling.

The investigation of the relationship between the variables and churn revealed that most cancellations occur in the first months of the contract, suggesting flaws in the onboarding process. Another finding was the greater propensity to churn among elderly customers (SeniorCitizen), which may indicate barriers of technical complexity. Customers with fiber optic internet (Fiber optic) showed a churn rate of 41.89%, signaling possible quality or pricing issues with this service.

The analysis of categorical variables deepened the understanding of risk factors. Contract type (Contract) emerged as one of the strongest predictors: customers with monthly contracts (Month-to-month) had a churn rate of 42.71%, while those with two-year contracts (Two year) presented a rate of only 2.85%. Payment method by electronic check (Electronic check) was associated with a churn rate of 45.29%, much higher than automatic methods such as bank transfer (16.73%) or credit card (15.25%). The absence of services like online security (OnlineSecurity) and technical support (TechSupport) was also correlated with higher cancellation rates.

The combination of characteristics allowed the identification of extremely high-risk segments. New customers (tenure of up to 3 months) without the online security service presented a churn rate of 71.1%. The segment of customers with a monthly contract and fiber optic internet had a rate of 54.6%. Elderly customers without technical support canceled the service in 50.6% of cases. Finally, customers who used electronic checks and had monthly charges exceeding 75 dollars had a churn rate of 49.3%. These segments represent priority targets for retention actions.

The modeling process began with the final data preparation. After removing the CustomerID and TotalCharges columns, categorical variables were transformed using One-Hot Encoding. The database was divided into training (70%) and testing (30%) sets in a stratified manner. The numerical variables tenure and MonthlyCharges were standardized using StandardScaler to adjust their distribution to a mean of zero and a standard deviation of one.

In the first evaluation phase, the four algorithms were trained with default settings and 5-fold cross-validation. To address class imbalance (26.5% churn), an algorithm-level weighting strategy was applied. Logistic Regression achieved an average recall of 78.59%, with a precision of 52.19%. Random Forest had a modest performance, with a recall of 49.24%. The boosting models, XGBoost and CatBoost, presented balanced performance, with CatBoost standing out with a recall of 77.82%, F1-Score of 62.89%, and AUC of 0.85. Considering the objective of maximizing recall and its superior performance in balance metrics, CatBoost was selected for the optimization step.

The CatBoost model underwent a two-stage hyperparameter optimization (Random Search and Grid Search) to maximize the F1-Score. The final model, with optimized hyperparameters, demonstrated incremental gains: recall increased from 79% to 80%, precision rose from 51% to 52%, and the F1-Score improved from 62% to 63%. Although marginal, these gains are relevant in the business context, as a 1% increase in recall can translate into retaining thousands of subscribers. The AUC value remained at 0.85, indicating that the optimization refined the balance between precision and recall. These results align with the literature, which reports recall values between 70% and 85% for telecommunications churn models (Barsotti et al., 2024).

The final stage consisted of the interpretation of the optimized model using SHAP. The analysis revealed that the variables with the greatest impact on churn prediction were, in order: Contract, tenure, and InternetService. SHAP dependency plots showed that monthly contracts (Month-to-month) drastically increase the prediction towards churn, while two-year contracts (Two year) act as a retention factor. The tenure variable showed that the risk of churn is very high in the first few months and decreases continuously, becoming a protective factor after approximately 20 months. For internet service, fiber optic (Fiber optic) was the main driver of churn, while the absence of services such as OnlineSecurity and TechSupport also contributed to the risk. Based on these findings, recommendations were formulated, such as the implementation of an onboarding program, incentives for migration to long-term contracts, investigation of problems with fiber optic service, and promotion of cross-selling of security and support services.

The present work developed a high-performance model for churn prediction, achieving the proposed objective. Through the CatBoost algorithm and a rigorous optimization process, a predictive model was built capable of identifying customers prone to canceling the service with a recall of 80%. The use of XAI techniques, such as SHAP, allowed for the unveiling of the determining factors behind the predictions, transforming the model into a diagnostic tool. The analysis revealed that adherence to monthly contracts, low tenure, and the acquisition of fiber optic internet are the main drivers of churn. In contrast, long-term contracts and the acquisition of additional security and support services emerged as strong indicators of retention. The findings provide actionable direction for management, indicating the need for actions focused on migrating to long-term contracts, improving the initial customer experience, and investigating possible operational failures or perception of value in specific services. The implementation of these actions has the potential to reduce the churn rate and strengthen the company’s competitive position. The main limitation of the study lies in the use of a public database, which may not capture all the nuances of the Brazilian market. It is concluded that the objective was achieved: it was demonstrated that it is possible to develop a high-performance machine learning model to predict customer churn and identify its main determinants, providing a robust tool for the creation of proactive retention strategies.

References:
Barsotti, A.; Gianini, G.; Mio, C.; Cabitza, F.; Campagner, A. 2024. A decade of churn prediction techniques in the TelCo domain: a survey. SN Computer Science 5: 404.
Bergstra, J.; Bengio, Y. 2012. Random search for hyper-parameter optimization. Journal of Machine Learning Research 13:281-305.
Boateng, E. Y.; Abaye, D. A. 2019. A review of the logistic regression model with emphasis on medical research. Journal of Data Analysis and Information Processing 7(4):190-207.
Boehmke, B.; Greenwell, B. 2019. Hands-On Machine Learning with R. Chapman and Hall/CRC, New York, NY, USA.
Breiman, L. 2001. Random forests. Machine Learning 45(1):5-32.
Chapman, P.; Clinton, J.; Kerber, R.; Khabaza, T.; Reinartz, T.; Shearer, C.; Wirth, R. 2000. CRISP-DM 1.0: Step-by-Step Data Mining Guide. SPSS Inc, Chicago, IL, USA.
Chen, T.; Guestrin, C. 2016. Xgboost: A scalable tree boosting system. In: 22nd ACM SIGKDD International Conference on Knowledge Discovery and Data Mining, 2016, San Francisco, CA, USA. Proceedings… p. 785-794.
Hennig-Thurau, T.; Gwinner, K. P.; Walsh, G.; Gremler, D. D. 2004. Electronic word-of-mouth via consumer-opinion platforms: What motivates consumers to articulate themselves on the internet. Journal of Interactive Marketing 18(1):38-52.
IBM. 2017. Telco Customer Churn. Available at: <https://www. kaggle. com/datasets/blastchar/telco-customer-churn>. Accessed on: May 21, 2025.
Imani, M. 2024. Customer Churn Prediction in Telecommunication Industry: A Literature Review. Available at: <https://www. preprints. org/manuscript/202403.0585/v3>. Accessed on: May 21, 2025.
Lima, K.; Pamplona, N. 2010. Brazil’s contribution goes beyond the sector of telecommunications. Estadão. Available at: <https://www. estadao. com. br/economia/contribuicao-do-brasil-vai-alem-do-setor-de-telecom-imp-/>. Accessed on: May 21, 2025.
Lundberg, S. M.; Lee, S. I. 2017. A unified approach to interpreting model predictions. In: Conference on Neural Information Processing Systems, 2017, Long Beach, CA, USA. Proceedings… p. 4765-4774.
Prokhorenkova, L.; Gusev, G.; Vorobev, A.; Dorogush, A. V.; Gulin, A. 2018. CatBoost: unbiased boosting with categorical features. In: Conference on Neural Information Processing Systems, 2018, Montréal, Canada. Proceedings… p. 6638-6647.
Reicheld, F. 2022. Winning with Purpose. Benvirá Publishing House, São José dos Campos, SP, Brazil.
Ul Hassan, C. A.; Khan, M. S.; Shah, M. A. 2018. Comparison of machine learning algorithms in data classification. In: 24th International Conference on Automation and Computing (ICAC), 2018, Newcastle upon Tyne, UK. Proceedings… p. 1-6.
Wang, Z.; Gadi, M. 2024. Optimal HVAC setpoints for energy efficiency and thermal comfort in Chinese residential buildings. Journal of Building Engineering 96:107626.

Executive summary from the Final Course Work of the Specialization in Data Science and Analytics of the MBA USP/Esalq

Learn more about the course; click here:

Who edited this article

Most recent

You may also like

Executive Mba In Leadership And Management

November 23, 2026

Improvements in the efficiency of a secondary biological sludge drying plant

The management of industrial solid waste, especially secondary biological sludge, represented an operational and strategic challenge for a company in the pulp and paper sector. A secondary biological sludge drying plant, installed to meet environmental requirements and reduce costs, operated with low efficiency and high unavailability. The objective of this study was to evaluate and propose a set of actions to increase the operational availability of the plant, ensure the integral processing of the generated sludge, and reduce treatment and transportation costs, in addition to mitigating environmental risks. To this end, an analysis of the root causes of low efficiency was carried out, using tools such as the cause-and-effect diagram (Ishikawa) and the “5 whys” analysis, and hypotheses were tested to identify the most impactful factors. Three main root causes were identified: addition of low-load effluent to the process, absence of a dedicated maintenance team, and lower consistency of dewatered sludge. The proposed countermeasures, which included stopping the addition of effluent, hiring a maintenance team, and testing polymers, had a monthly implementation cost of R$ 35,000.00. An annual reduction in operating expenses of up to R$ 1,800,000.00 and maintenance costs of R$ 600,000.00 was estimated, in addition to a 25% reduction in operational unavailability. It was concluded that the proposed measures are viable, quick to implement, and capable of ensuring the integral processing of secondary biological sludge, strengthening the company’s ESG strategy and ensuring environmental compliance.

Keywords: Operational costs; Operational efficiency; ESG; Biological sludge; Sludge drying.

Data Science And Analytics For Operations

November 19, 2026

Polyp-YOLO: an efficient, low-latency detector for polyps in colonoscopies

The early detection of colorectal polyps is crucial for the prevention of colorectal cancer, and real-time computer-aided detection (CADe) systems have shown gains in endoscopic practice. The objective was to develop and validate a lightweight colorectal polyp detector, based on the YOLO architecture, capable of operating on restricted hardware with high precision and low latency. The methodology used public datasets of endoscopic images, partitioning the Kvasir-SEG dataset for training and internal validation, and CVC-ClinicDB and ETIS-Larib Polyp DB for cross-dataset evaluation. Lightweight variants of the YOLOv8, YOLO11, and YOLO26 families with 640×640 pixel input were evaluated. A grid search tested 70 combinations of optimizers and activation functions, and identified AdaBelief and LeakyReLU as the configuration with the best generalization. The optimization pipeline applied unstructured pruning, knowledge distillation, and fine-tuning. The optimized YOLO11n-seg model outperformed the higher-capacity architecture (YOLO26m-seg) in mAP50 and showed similar performance in F1-Score, operating with approximately seven times fewer parameters. It achieved an mAP50 of 0.7929 and an F1-Score of 0.7514 on the ETIS-Larib dataset, and fast inference was demonstrated in different formats, with real-time latencies. The explainability of predictions was validated by Grad-CAM activation maps. The proposed solution demonstrated itself to be a promising experimental tool for diagnostic support, with technical feasibility for integration into environments with reduced computational power, although it requires future clinical validation.

Keywords: Computer-aided detection; Edge computing; Hyperparameter optimization; Endoscopic image segmentation; Medical computer vision.

Data Science And Analytics For Operations

November 19, 2026

Multi-touch Attribution in E-commerce: A Comparison between Markov Chains and Last-Click

The research investigated Multi-touch Attribution (MTA) Models in e-commerce, seeking to overcome the limitations of the Last-Click model, widely used in the market. The objective was to compare the performance of first-order Markov Chains with Last-Click and Position-Based approaches, identifying the value of assistance channels frequently ignored. To this end, Markov Chain algorithms were applied to a large volume of purchase journey data from the Google Merchandise Store, extracted via BigQuery. The study probabilistically mapped the purchase journey and calculated the Removal Effect to quantify channel relevance. The results demonstrated that data-driven models identified the strategic role of discovery (awareness) and assistance channels, which Last-Click neglected in 65% of complex journeys. Simulated financial analysis indicated an approximate 28% hidden efficiency in Cost Per Acquisition (CPA) for Paid Search, compared to the Last-Click model. It was concluded that Markov Chains allowed for a more accurate mapping of purchase journeys, validating the technical feasibility of the modeling and providing evidence for more efficient budget allocation in digital media, mitigating the risk of early divestment in crucial channels.

Keywords: Assistance channels; Data science; E-commerce; Digital marketing; Media optimization.

Project Management

November 19, 2026

Integrated Software for Operational Communication and Control: Practical Evidence in a Medium-Sized Company

The study analyzed the impacts of the lack of integration between commercial and operational modules of an integrated management software (ERP/CRM) in a medium-sized company in the mechanical engineering sector. The main objective was to evaluate practical evidence of communication and operational control optimization, identify bottlenecks, and formulate improvement proposals. A qualitative-quantitative approach was adopted through a single case study with documentary research, based on the extraction and filtering of historical task records from the Bitrix24 software and statistical correlation analysis between workload and allocated team. Based on the diagnosis, an action plan structured in the 5W2H tool was developed. The results revealed that 54.4% of the registered tasks consisted of duplicate, test, or practically useless records, generated by manual insertion during the scope transition between commercial CRM and engineering. It was also demonstrated that the increase in the commercial team linearly accompanied the growth of inefficient tasks, polluting the database and masking the organization’s real productive capacity. It was concluded that the automation of workflows and native integration between modules are essential to mitigate operational and financial risks, providing replicable guidelines for data governance in small and medium-sized enterprises.

Keywords: System Customization; Enterprise Resource Planning (ERP); Task Management; Management Software.

Project Management

November 19, 2026

Supervised learning in voltammetric quantification with electrochemical sensors

The application of supervised learning in the voltammetric quantification of paraquat in artificial urine was evaluated. The study aimed to quantitatively assess the predictive performance of supervised learning models compared to a univariate “baseline”, preserving independence between devices in the training and testing sets. The research was conducted as an applied case study, processing data from four physical devices, each evaluated under a blank condition and six paraquat concentration levels, totaling 28 square wave voltammetry (SWV) curves. A computational “pipeline” integrated automated file reading, organization of curves into current-potential matrices, generation of potential maps, and device-specific blank correction. Five approaches were considered: conventional univariate calibration, predictive univariate “baseline”, partial least squares (PLS) regression, support vector regression (SVR), and random forest (RF). Predictive evaluation was performed using device-grouped cross-validation. PLS showed the best predictive performance for curves from a device not used in training, with an R² of 0.7981. RF exhibited intermediate performance, while SVR and the predictive univariate “baseline” showed inferior and similar performance between themselves. It was concluded that a compact multivariate representation of the voltammetric profile was more favorable for inter-device prediction than increasing model flexibility under the studied conditions. Grouped validation preserved independence, but the limited number of devices restricts the generalization of results.

Keywords: Supervised learning; Paraquat; PLS; Electrochemical sensors; Square wave voltammetry.

Project Management

November 19, 2026

Improvement of Inventory Management via Lean Six Sigma: Study in the Paper Industry

Organizations seek methodologies to reduce waste, increase efficiency, and become more competitive, promoting sustainable improvements in their processes. In this context, the study aimed to apply the Lean Six Sigma methodology, through the DMAIC cycle, to improve inventory management in a company in the paper industry manufacturing pneumatic hoses, aiming to increase the accuracy between physical and systemic inventories and improve the visual management of parts storage. The research was developed from the collection and analysis of data extracted from the company’s ERP system. Tools such as SIPOC, Ishikawa Diagram, and 5 Whys were used to define and identify the root cause of the problem. As improvement proposals, a Digital Kanban system and an adaptation of the Two-Bin system, called the Three-Bin System, were implemented, in addition to the development of standardized operating procedures and the establishment of control mechanisms. The results demonstrated a significant improvement in inventory accuracy, raising the lowest identified index from 28% to 80%, and detected discrepancies between systemic and physical records equivalent to R$ 134,335.53. It was concluded that the application of Lean Six Sigma, combined with Project Management, represented an effective approach for conducting operational improvement projects, contributed to increased reliability of inventory information, to the improvement of material control processes, and to the strengthening of the organization’s operational management.

Keywords: Inventory accuracy; DMAIC; Visual management.

Data Science And Analytics For Operations

November 19, 2026

Predictive Analysis Methodology for Performance Optimization in E-commerce: Correlation between Public Data and Paid Media

A predictive analysis methodology was developed for e-commerce, integrating transactional data and public search trends. The objective was to develop and validate a predictive model, based on machine learning algorithms, capable of correlating organic search trends with sales performance and paid media costs in the Beauty and Health category of Brazilian e-commerce. The Brazilian E-Commerce Public Dataset by Olist and data from Google Trends were used, processed in Python with the Random Forest Regressor algorithm. A moderate inverse correlation (r = -0.43) with a seven-day lag was identified between organic search volume and purchase. Initial models, based solely on behavioral variables, presented insufficient metrics (R² = -0.47; MAE of R$ 2,120.54). The incorporation of microeconomic (average ticket and shipping) and macroeconomic (exchange rate and Ibovespa index) variables raised the R² of the final model to 0.29, with an MAE of R$ 1,489.63, representing a 24.7% reduction in error compared to the baseline. Temporal cross-validation showed that, in periods of mature operation (2018), the model achieved an R² of 0.42. It was concluded that isolated search volume explains the moment of consumer interest, but not the financial magnitude of sales, making the fusion with transactional and economic data mandatory for predictive viability.

Keywords: Beauty and Health; Consumer Behavior; Google Trends; Machine Learning; Time Series.