Machine Learning is a field of computing and artificial intelligence concerned with methods that allow computer systems to improve their performance on a task by learning patterns, relationships, or decision rules from data or experience rather than relying entirely on explicitly programmed instructions. The central idea is that a learning algorithm receives observations, constructs some representation or model of the relationships contained in those observations, and uses that model to make predictions, classifications, decisions, recommendations, or other outputs on new cases.
Learning can involve supervised data containing known outcomes, unsupervised data without specified target outcomes, semi supervised combinations of labelled and unlabelled data, self supervised construction of learning signals from the data itself, or reinforcement learning based on interaction and rewards. Machine Learning is therefore broader than simply training neural networks, because linear regression, decision trees, support vector machines, clustering algorithms, Bayesian methods, nearest neighbour methods, ensemble methods, and many other techniques are also machine learning methods.
The development of Machine Learning emerged from several overlapping traditions, including statistics, mathematical optimisation, pattern recognition, cybernetics, information theory, artificial intelligence, and computer science. Early work included statistical learning ideas, perceptrons, adaptive systems, nearest neighbour classification, decision tree induction, and symbolic approaches to automated reasoning. During the twentieth century, researchers increasingly formalised the problem of learning from examples and developed methods such as linear models, logistic regression, support vector machines, ensemble learning, probabilistic graphical models, and kernel methods.
The availability of large datasets, increasingly powerful processors, specialised hardware, and improved optimisation techniques subsequently enabled much larger models. The modern period has been strongly influenced by deep learning, in which multilayer artificial neural networks learn hierarchical representations from data. Despite this development, many classical statistical and machine learning methods remain important because they can be easier to interpret, cheaper to train, more effective on small structured datasets, or better suited to particular scientific and industrial problems.
Supervised learning treats a dataset as observations paired with target values and seeks a function that maps input variables to appropriate outputs. Classification predicts discrete categories, such as whether an image belongs to a particular class, while regression predicts numerical quantities, such as temperature, demand, or concentration. A model normally has parameters that are adjusted during training to reduce an objective function measuring disagreement between predictions and desired outputs.
Common loss functions include mean squared error, cross entropy, hinge loss, and likelihood based objectives. Generalisation is more important than simply achieving low training error, because a useful model must perform well on previously unseen observations. Training, validation, and test datasets are therefore commonly separated, although careful experimental design is required to avoid leakage between them. Cross validation can provide more robust estimates when data are limited. Regularisation, early stopping, feature selection, data augmentation, and appropriate model complexity can reduce overfitting, which occurs when a model captures idiosyncrasies of its training data rather than patterns that generalise.
Unsupervised learning addresses situations in which explicit target labels are absent or not directly used. Clustering algorithms group observations according to measures of similarity, while dimensionality reduction methods construct lower dimensional representations that preserve selected properties of the original data. Principal component analysis identifies directions of maximum variance under its mathematical assumptions, whereas methods such as manifold learning and autoencoders can capture more complex structures.
Density estimation attempts to model how observations are distributed, and anomaly detection identifies observations that differ substantially from expected patterns. Self supervised learning has become particularly important because it creates training targets from relationships within unlabelled data. Examples include predicting masked portions of text, reconstructing missing information, or determining relationships between transformed views of an observation. These approaches can allow models to learn useful representations from very large collections of data before being adapted to a narrower supervised task.
Reinforcement learning defines a different learning problem in which an agent interacts with an environment, observes states, selects actions, receives rewards or penalties, and attempts to maximise cumulative future reward. Important concepts include policies, value functions, action spaces, state transitions, exploration, exploitation, discounting, and temporal credit assignment. Dynamic programming established mathematical foundations for some forms of sequential decision making, while later reinforcement learning methods introduced model free approaches such as Q learning and policy optimisation.
Deep reinforcement learning combines these principles with neural networks and has been applied to games, control, recommendation, resource allocation, and robotics. Reinforcement learning differs from ordinary supervised learning because the desired action is not necessarily supplied for every state and rewards may be delayed. It can therefore face substantial difficulties involving sparse rewards, unstable training, exploration of dangerous actions, distribution shift, and the computational expense of interacting with complex environments.
The practical performance of Machine Learning depends heavily on the quality and structure of its data. Sampling bias can make a dataset unrepresentative, measurement error can distort relationships, missing values can introduce systematic problems, and inconsistent labelling can limit achievable accuracy. Class imbalance can cause a model to perform well on common cases while failing on rare but important cases.
Data preprocessing may involve normalisation, encoding categorical variables, imputation, deduplication, feature construction, and removal or treatment of anomalous observations, but preprocessing decisions can themselves introduce leakage if information from the evaluation set influences training. A model can also inherit social, historical, institutional, or measurement biases present in its training data. Fairness therefore cannot be reduced to a single universal metric, because different applications can require different definitions and trade offs. Privacy, security, intellectual property, provenance, consent, and data governance are also important whenever learning systems process sensitive or commercially valuable information.
Machine Learning is applied across science, engineering, medicine, finance, manufacturing, language processing, computer vision, environmental monitoring, cybersecurity, transportation, and many other domains. In scientific research it can assist with prediction, classification, surrogate modelling, parameter estimation, experimental design, image analysis, and discovery of empirical relationships. In medicine it can support image interpretation, risk estimation, patient stratification, and analysis of biological data, although clinical deployment requires appropriate validation and consideration of consequences from errors.
In industrial systems it can detect equipment anomalies, forecast demand, optimise processes, and automate inspection. The usefulness of a model depends on the decision context rather than on accuracy alone. Calibration, sensitivity, specificity, precision, recall, expected cost, uncertainty, latency, interpretability, robustness, and operational constraints may all matter. A highly accurate offline model can still be unsuitable for deployment if its data distribution changes, its predictions cannot be acted upon, or its errors have unacceptable consequences.
Important limitations of Machine Learning include dependence on data, susceptibility to distribution shift, vulnerability to adversarial or corrupted inputs, difficulty establishing causal relationships from observational correlations, and potential degradation when the environment changes. Predictive success does not by itself establish that a model has discovered the underlying mechanism responsible for an observed relationship. Interpretability is also context dependent.
A simple linear model may expose its coefficients directly, whereas a large neural network can contain millions or billions of interacting parameters whose individual roles are difficult to isolate. Explainability methods can provide useful diagnostic information but should not automatically be interpreted as complete causal explanations of model behaviour. Modern Machine Learning increasingly involves foundation models, transfer learning, multimodal systems, and generative models, but these remain instances of broader learning principles rather than replacements for the underlying statistical concepts. Understanding objectives, data generation processes, evaluation procedures, uncertainty, and deployment conditions remains essential for reliable use.