Vezi pagina în română

IT Glossary

What is machine learning, and how does it work?

Software that works out its own rules from examples, instead of a programmer writing them — then applies them to new cases.

6
sections
5
questions answered

Machine learning is the branch of artificial intelligence in which a program works out its own rules from examples — historical data, labelled or not — instead of a programmer writing them, then applies them to new cases to predict, classify or recommend. Classical programming runs one way: a person writes the rules, the computer applies them. Machine learning reverses the flow: you give the computer examples, such as thousands of invoices marked “paid on time” or “paid late”, and it finds the patterns that separate the categories, too subtle or too numerous for a human to spell out.

From that reversal come the business applications that have already survived contact with the market: prediction (which customers will churn, which stock will run out, which receivables will slip), classification (mail sorted, suspicious transactions flagged, products categorised), recommendation (which product this buyer is likeliest to want next) and estimation (prices, lead times, risk scores from historical data). Below: how it works, which learning types exist and what a company should know before a project.

Why it matters for your business

The near future, estimated from data

Customer churn, stock-outs, late payments — flagged from patterns before they become accomplished facts.

Automatic triage at volume

Thousands of transactions, emails or requests sorted and prioritized automatically — people see only the exceptions that need judgment.

Personalization that sells

Recommendations learned from real customer behavior can lift basket value; the effect is proven with an A/B test on your own traffic, not by a vendor's promise.

How it works: from examples to predictions

A machine-learning project has five steps. You start from historical data. Next comes training: the model adjusts its parameters until it makes as few mistakes as possible on the examples. Then validation, on data it has never seen, to learn whether it picked up the pattern or merely memorised the examples. Then use on new cases and, last, monitoring, because reality changes.

An example with no invented client: a company has its invoices issued through e-Factura, with their due dates, and in its accounts the date each one was paid. Those paid on time and those paid late become the labelled examples. After training, the model receives a new invoice and estimates the risk that it is paid late, and the accountant calls the high-risk customers first. Another example, also given by the European Commission: a spam filter trained on emails marked “spam” or “not spam”.

The types of machine learning

The European Commission's guidelines of 29 July 2025 on the definition of an AI system (C(2025) 5053) describe four types. Supervised learning uses labelled data: the spam filter, and fraud detection on transactions already marked. Unsupervised learning works on data without labels and finds the structure itself, for example grouping customers into segments or detecting anomalies.

Self-supervised learning is a subcategory of unsupervised learning: the data creates its own labels, and the language models that predict the next word are largely trained this way. Reinforcement learning learns from experience, by trial and error, receiving rewards for good outcomes; the guidelines give a robotic arm learning to grasp objects as an example.

Want an estimate for your project?

Message us on WhatsApp. We reply the same working day, and the first 30-minute call is free.

Book a free call

Machine learning, artificial intelligence and deep learning

Artificial intelligence is the wider field: it also includes logic- and knowledge-based systems that do not learn from data (recital 12 of the AI Act). Machine learning is the part that learns from data. Deep learning is its subset that uses neural networks with many layers, able to learn features from raw data on their own (Commission guidelines, point 38), and large language models are deep-learning models.

The term already appears in the title of “Some Studies in Machine Learning Using the Game of Checkers”, published by Arthur Samuel in the IBM Journal of Research and Development, July 1959, about a checkers program that improved from the games it played.

For a company: when it pays off, the risks and what the AI Act says

Three truths before any project. The model mirrors the data: a messy or thin history yields predictions to match, so clean data first, models second. Outputs are probabilistic, not certain: use them as a signal that assists the decision, with thresholds and human review where the stakes are high. And value is measured in money on a concrete case, not in abstract laboratory accuracy; a small pilot on one valuable question beats a grand strategy.

On the legal side: a model trained by machine learning that infers predictions or recommendations is, as a rule, an “AI system” under Article 3(1) of Regulation (EU) 2024/1689 (the AI Act). A forecast that merely repeats an average, such as last week's average sales, is a “simple prediction system” and falls outside the definition (Commission guidelines, points 49–51). The guidelines are not binding, and the obligations depend on the system's risk category.

Frequently asked questions

How much data do we need for a machine-learning project?

It depends on the task, and there is no universal threshold. For predictions on tabular data (churn, late payment) you need enough historical cases, including of the rare outcome. To adapt an already-trained language model, OpenAI's fine-tuning guide sets a minimum of 10 examples and sees improvements from 50–100. Quality beats volume.

How does machine learning differ from a business rule?

You write the rule yourself (“no order in 90 days — alert”); the model discovers predictive combinations on its own, including ones you would never think of. The cost of the difference: a rule is transparent and free, a model needs data, validation and upkeep, so it pays off where patterns outgrow rules.

Does the model keep learning, or stay as trained?

By default it stays a snapshot of its training data and degrades as reality shifts (markets, seasons, behavior), a phenomenon called drift. Healthy practice: monitor accuracy over time and retrain on a schedule, so ML is a living service, not a one-off purchase.

What machine-learning examples do you already use every day?

The spam filter in your email, card-fraud alerts, recommendations in online shops and on video platforms, the phone keyboard that predicts your next word, and voice transcription. All of them learn from examples rather than from hand-written rules for each individual case.

How much does a machine-learning pilot cost a company?

An AI pilot or prototype costs roughly €3,000–8,000, excluding VAT, for a single use case, on your real data, with a measured result. The price depends on the quality of the starting data and how many systems must be connected. If the pilot uses a hosted model, a monthly API cost comes on top.