Machine Learning (ML)
Machine Learning (ML) is a subset of Artificial Intelligence that allows computers to “learn” from data. Ordinarily, in programming, we provide data and the expected output, and the machine does the work.
In ML, it's a bit different; its goal is generalization, that is, training a model so it can use data it has never seen before and make a fairly accurate description. For ML to work, we need large collections of data. This data is then prepared/cleaned so the machine can read it - like turning text into binary numbers. Next comes the training, the algorithm analyzes the data in order to find patterns, for example, like in spam detection. The machine “learns” by being trained with a large dataset, and at the end, we can use unknown data to get results. ML can be supervised, unsupervised, and refined.
Real-world examples of machine learning are the suggestions you see on platforms like YouTube or Netflix, the facial recognition feature on your phone, and language translation tools. In a nutshell, machines are much faster than humans in recognizing repeating patterns, and ML can be very useful, or very harmful, depending on how it’s used.
Machine learning isn’t one method. It’s a field made up of several types of learning, each suited to different problems and data.
The main types of machine learning
- Supervised learning trains a model on labelled data, where every example comes with the correct answer. Used for spam filtering and predicting house prices.
- Unsupervised learning finds patterns in unlabelled data without being told what to look for. Used for customer clustering and fraud detection.
- Reinforcement learning teaches an agent through trial and error, using rewards and penalties. Used in game-playing AI and robotics.
- Semi-supervised learning combines a small amount of labelled data with a large amount of unlabelled data. Useful when labelling is expensive.
- Self-supervised learning has the model create its own labels from raw data, such as predicting the next word in a sentence. This is how large language models are pre-trained.
Is machine learning just supervised and unsupervised learning?
No. They’re the two best-known types, but reinforcement, semi-supervised and self-supervised learning are also part of machine learning.
No. They’re the two best-known types, but reinforcement, semi-supervised and self-supervised learning are also part of machine learning.
Lynqa executes your existing tests as written, no scripts or rewrites. Review step-by-step evidence. Start free.
Explore MoT
Tue, 19 Jan 2027
Register today to guarantee your spot!
Boost your career in software testing with the MoT Software Testing Essentials Certificate. Learn essential skills, from basic testing techniques to advanced risk analysis, crafted by industry experts.
Into the MoTaverse is a podcast by Ministry of Testing, hosted by Rosie Sherry, exploring the people, insights, and systems shaping quality in modern software teams.