When the Vendor Model Wasn’t Enough: Building an In-House Churn Predictor
Several years ago, during my time at Hamrah-e Aval (MCI), I was part of a team working on machine-learning projects, including subscriber churn prediction. An international vendor solution was already in place. We were not starting from scratch, and the question was not whether churn could be predicted at all.
The real problem surfaced when the model needed to evolve but the support required to change it was unavailable. We had access to a model, but not enough control over its future development. What happened next became a memorable lesson for me in the relationship between technical capability and organizational decision-making.
Why churn prediction matters in telecom
Subscriber churn refers to customers leaving or discontinuing a service, according to the definition used by the business. A churn prediction model aims to identify subscribers who are more likely to leave, based on patterns in available data.
That prediction can inform decisions about which customers may need attention, how retention efforts are prioritized, or where resources should be focused. But predicting churn is not the same as preventing it. Correctly identifying a subscriber as high risk does not, by itself, prove that any subsequent intervention will retain them.
This distinction matters throughout the story. I am describing the development and evaluation of a predictive model—not claiming a measured business outcome from a retention program.
The limitation: a vendor model we couldn’t keep adapting
Our team had an existing churn prediction solution supplied by an international vendor. The challenge became clear whenever redesign or updates were needed to keep the model aligned with changing requirements.
International sanctions meant the vendor was providing no technical support. That left serious constraints on our ability to update the existing solution. Having a model and retaining practical control over its evolution turned out to be two different things.
At first glance, this might sound like a maintenance issue. It is also a management issue: who determines when a critical component can be changed, how much that change costs, and whether the organization can continue to improve it? Access to a product does not necessarily mean independence in maintaining and developing it.

Why we decided to build in-house
Against that background, we decided to develop an in-house subscriber churn prediction model rather than remain fully dependent on the external solution. The objective was not simply to swap one tool for another. We wanted a model we could adapt, update, and improve ourselves as requirements evolved.
Building in-house is not automatically easier or less expensive. It demands the right technical skills, authorized access to appropriate data, ongoing evaluation, and a clear commitment to maintenance. A well-supported vendor product may be the better option in many organizations. Our experience is not evidence that building is always preferable to buying.
For this project, the ability to keep developing the model was central to the decision. With external support unavailable, in-house development offered a path to greater control over future changes and maintenance.
What the development-stage tests showed
We developed the model and evaluated its performance during the testing phase. The results were both interesting and encouraging: in that project’s evaluation, the in-house model performed better than the existing vendor solution on Accuracy, Precision, and ROC-AUC.
Those metrics describe different aspects of predictive performance:
- Accuracy measures the proportion of all classifications that are correct. Where non-churners greatly outnumber churners, accuracy on its own can give a misleading impression of how useful a model is.
- Precision answers a narrower question: of the subscribers flagged as likely to churn, what proportion actually belong to the positive class? It helps describe the reliability of positive predictions.
- ROC-AUC summarizes how well a classifier separates positive and negative cases across different decision thresholds. It is not interchangeable with accuracy or precision.
These three measures do not cover everything. Recall—the proportion of actual churners identified—and the relative costs of different errors can also matter. But the three metrics above are the ones on which I can report the better performance observed in that project’s tests.

What those results do—and do not—establish
An important boundary is worth stating explicitly: this was a development-stage evaluation, not evidence of a production deployment or a demonstrated reduction in subscriber churn.
I am not publishing the original numerical evaluation report here. Accordingly, I am not assigning improvement percentages, naming an algorithm, inventing dataset sizes, or making broad claims that an in-house model is generally superior. Reproducible comparisons depend on factors such as the evaluation setup and definition of churn; those details should not be assumed when they are not available.
The outcome I can describe is narrower and still meaningful. We pursued in-house development to address the loss of support and control, and the model also showed better performance on those three metrics in our project tests.
What I learned about build versus buy
When choosing an AI solution, asking which model performs best today is essential. It is not the whole decision. The experience also made me pay closer attention to questions such as:
- Who has the ability and authority to modify the model as requirements change?
- What access is available to the code, documentation, evaluation tools, and support process?
- Who will be responsible for maintenance and updates over the coming years?
- What happens if the supplier becomes unavailable?
- Will promising results in testing remain useful under real operational conditions?
These are general considerations for technology decisions, not a claim that every one of these steps was followed in that historical project. Together, they point to an important principle: predictive performance, control over future development, and support continuity should be evaluated together.
The lesson that stayed with me
We began building our own model because dependence on an unsupported vendor solution had become a constraint. The testing outcome gave us an additional encouraging result. Yet my main takeaway was neither that in-house is always best nor that winning on three metrics settles a technology decision.
An AI model’s value is not limited to how well it performs today. It also depends on how confidently you can adapt, evaluate, maintain, and improve it tomorrow.
Sometimes buying is the right choice. Sometimes taking responsibility for in-house development makes more sense. The answer depends on the organization’s circumstances, technical capabilities, and long-term needs.
If you had been in our position, would you have built an in-house alternative or stayed with the vendor solution?