What is machine learning (ML) and how does it work?

Glossary AI & Data Atlas

Machine learning (ML) is the branch of artificial intelligence that lets a computer discover patterns in historical data on its own, instead of having every rule written for it, and use them to make predictions or decisions. A model is first trained on example data, then produces outputs for new records it has never seen. At SoftwareArge, we explain this approach, which underlies many business problems involving forecasting and classification, without getting lost in technical detail.

What steps does machine learning follow?

A machine learning effort goes through four stages:

  1. Data is collected Past examples related to the event to be predicted are brought together.
  2. The model is trained The algorithm learns the relationship between inputs and outputs from these examples.
  3. The model is tested How accurate the model is gets measured on a separate dataset that was not used in training.
  4. The model is put into use The model produces predictions for new incoming records; its performance is reviewed at regular intervals.

What are the main types of machine learning?

Based on how the model learns, three main types are distinguished:

TypeHow it learnsExample
Supervised learningLearns from examples whose outcome is known in advance.Predicting churn based on data from customers who have already left
Unsupervised learningLooks for groups and patterns on its own in unlabeled data.Segmenting customers by similar characteristics
Reinforcement learningFinds the best behavior step by step through trial and the feedback it receives.Dynamic pricing, robotics

Frequently asked questions

How much data does a machine learning model need?

There is no exact number; the more complex the problem, the more data is needed. The basic expectation is that the event to be predicted has occurred often enough in the past and that the factors affecting it have been recorded.

Why does the performance of machine learning models decline over time?

A model learns the patterns in the data from the period it was trained on. As markets, customer habits or business processes change, these patterns lose their validity. This is called model drift, and it is why models are regularly monitored and retrained as part of MLOps.

How does machine learning differ from statistics?

The two disciplines are very close, but their goals differ. Statistics mainly tries to explain and interpret the relationships between variables, while machine learning prioritizes making predictions that are as accurate as possible when new data arrives.

Let's bring machine learning into your business decisions

Let's work through together which decisions forecasting models could improve in your organization.