AI value or vanity? Why your AI isn’t delivering yet
Download the report
Request a DemoTry PiLog in

The Panintelligence Way: Deploy Machine Learning Without Python and at Scale

Persis Duaik Tech Pre Sales
Publish date: 30th June 2026

When I first started working with machine learning models, I had a very specific picture in my head of what “deploying a model” meant. You train something in Python, then you wrap it in an API, put it behind a service, deploy it somewhere, and then connect your application to it. That was the mental model I had. The model lives in one place, the data lives somewhere else, and your job is to build enough infrastructure in the middle to make the two talk to each other reliably. 

Why Traditional Machine Learning Deployment Creates Complexity?

That approach makes sense in many cases, but it also brings complexity. You now have another service to maintain, another deployment process to manage, another place where things can fail, and another point where data needs to move. For some types of models, that is completely justified. If you are working with large neural networks, image models, language models, or anything that requires a specialised runtime, then of course the model needs its own environment. But not every machine learning problem looks like that. 

This is where decision trees are interesting. 

A decision tree sounds like something very “machine learning”, but once it has been trained, the logic is quite easy to understand. It is essentially a sequence of questions. Is this value greater than a certain threshold? If yes, go one way. If not, go another way. Keep doing that until you reach a result. The training process may involve statistics, data preparation and model evaluation, but the final trained model is not magic. It is a set of rules. 

That is the part I find fascinating. 

How Panintelligence Converts Decision Trees into SQL

At Panintelligence, one of the things we can do with a trained decision tree is convert it into SQL. The first time I saw that, I had a small “wait, what?” moment, because in my head machine learning belonged in Python. But when you think about what a decision tree actually is, it starts to make sense. A tree can be represented as nested logic. SQL is very good at conditional logic. So the model becomes a set of CASE statements that can run directly where the data already lives. 

That changes the deployment story quite a lot. 

Instead of moving data out of the database, sending it to an API, waiting for a response, and then bringing the result back into your analytics layer, the prediction can happen inside the query itself. The database already has the rows. The database already understands the fields. The database is already part of the reporting workflow. So rather than introducing another moving part, the model becomes part of the SQL layer. 

But the other important part is scale. 

When people talk about scaling machine learning, they often think about infrastructure first. More compute. More services. More pipelines. More engineering. But there is another type of scale that matters just as much: scaling access to machine learning across the organisation. 

If only one technical person can build, deploy and explain the model, then machine learning remains a specialist activity. It might be powerful, but it is still locked away. The moment that person is busy, unavailable or working on something else, the whole process slows down. 

Making Machine Learning Accessible to Business Users

The Panintelligence approach is different because once the data has been prepared properly, the modelling process becomes much more accessible. Users are not starting from raw, messy data every time. They are working from governed data objects that already contain the fields, definitions and structure needed for analysis. From there, they can build predictive models without needing to write Python, package an API or manage a separate deployment process. 

For me, that is what “at scale” really means in this context. It is not just that the model can run against lots of rows. It is that more people can take part in the process. A business user, analyst or product team can explore predictive analytics using the same data layer they already understand, rather than waiting for a full data science project every time they have a question. 

The technical simplicity also helps with trust. 

If a model returns a prediction from a black-box service, the result might be useful, but it can also feel detached from the data. Someone sees a score, a classification or a probability, and the natural question is: “Why?” With a SQL-based decision tree, the path is much easier to follow. You can see which condition was met, which branch the record went down, and which rule led to the final result. That matters a lot in analytics, especially when people need to trust the output before making a decision. 

It also makes the conversation around AI a bit more grounded. Not every useful AI feature needs to involve a huge model, a GPU or a separate application stack. Sometimes the useful thing is much simpler: prepare the data properly, allow people to build models on top of it, turn those models into something the database can execute, and make the result visible inside the same environment where users already explore their data. 

A Real Example: World Cup Prediction with Panintelligence

We used this idea in our World Cup prediction project. The football part is fun, of course, but the underlying pattern is the same one many organisations deal with. You have historical data, current indicators, a model that finds patterns, and users who need to understand the output. The important bit is not pretending the model can predict football perfectly. It cannot. The important bit is that every prediction can be traced back to the data and the rules behind it. 

 

Final Thought: Machine Learning Deployment Does Not Always Need Python

That is what I like about this approach. It does not try to make machine learning feel mysterious. It does the opposite. It takes a trained model and turns it into something readable, executable and close to the data. 

Sometimes deploying a model does not need to mean building another service. 

And sometimes scaling machine learning does not mean giving everyone Python. 

It means giving people trusted data, explainable models and a way to turn predictions into something they can actually use. 

Topics in this post: 
Persis Duaik, Tech Pre Sales View all posts by Persis Duaik
Share this post
Related posts: 
Houston... we've got mail.
Sign up with your email to receive news, updates and the latest blog articles to inspire you and your business.
© Panintelligence 2026