Machine learning (ML) is a branch of AI in which software learns patterns from example data and uses them to make predictions or decisions, instead of following rules a programmer wrote by hand.

Definition
Machine learning is the practice of building models that improve at a task by learning from data. Rather than coding every rule for spotting a fraudulent payment or predicting which customers will cancel, you give an algorithm many past examples and let it find the patterns that separate one outcome from another. The result is a model: a mathematical function that takes new inputs and returns a prediction, a score or a category.
There are three broad families. Supervised learning trains on labeled examples, such as emails marked spam or not spam. Unsupervised learning looks for structure in unlabeled data, such as grouping customers with similar behavior. Reinforcement learning learns by trial and error against a reward signal, which suits problems like game playing or control systems. Most business applications use supervised learning on structured data, often with well-established methods such as gradient-boosted trees or logistic regression rather than deep neural networks.

How it works
A machine learning project starts with a clearly defined question and a dataset that reflects it. Engineers clean the data, choose the features the model will see, such as order history or account age, and split the data into training and test sets. The training set is used to fit the model; the test set is held back so the team can measure how well the model handles examples it has never seen.
During training, an algorithm adjusts the model’s parameters to reduce its error on the training data. Practitioners compare several algorithms and settings, watch for overfitting, where a model memorizes the training data but performs poorly on new data, and pick the version that generalizes best. Evaluation uses metrics that match the business problem: precision and recall for fraud, error ranges for forecasts, ranking quality for recommendations.
After evaluation the model is packaged and deployed, either as a service that answers requests in real time or as a batch job that scores records on a schedule. From then on it needs monitoring, because the data it sees in production will drift away from the data it learned from. Retraining, versioning and testing are part of normal operations, a discipline known as MLOps.
Keep learning
Put it into practice
Custom machine learning models for prediction, scoring, forecasting and detection, deployed with the MLOps needed to keep them accurate.
Explore serviceBusiness intelligence, Power BI dashboards and data engineering that give leaders one trusted view of performance across their systems.
Explore serviceAI consulting, LLM and generative AI applications, NLP and AI integration engineered into the products and systems you already run.
Explore serviceFAQ
In traditional programming, a developer writes the rules and the computer applies them to data. In machine learning, the developer supplies data and desired outcomes, and an algorithm infers the rules. Machine learning is the better fit when the rules are too complex or too fluid to write down, and traditional code remains the better fit when the logic is clear and must be exact.
There is no fixed number. It depends on how complex the pattern is, how many input features there are and how noisy the data is. Simple models on structured data can work with modest datasets, while image or language models trained from scratch need far more. A quick baseline experiment on the data you have is the most reliable way to find out.
No. For tabular business data such as transactions, customer records or sensor logs, classical methods like gradient-boosted trees are often accurate, faster to train and easier to explain. Deep learning shines on unstructured data such as images, audio and free text. Choosing the simplest model that meets the requirement usually lowers cost and maintenance effort.
Talk to a solution architect about where it fits in your roadmap.
