Different approaches to Machine Learning
Learn to recognize what defines different machine learning solutions.
There are various ways to learn
There are different ways for a machine to learn. Different approaches to ML are commonly distinguished by the kinds of problems they try to solve, as well as the type and amount of feedback provided by the programmer.
Broadly, we can divide machine learning into three subareas:
- Supervised learning
- Unsupervised learning
- Reinforcement learning
Although this might look like a neat categorization, it's not always easy to place a particular method. Let's see what differentiates these three categories.
Supervised Learning
Let's say you want to teach a machine to recognize dogs from cats. You give it as input photographs labelled as "cat" or "dog". Studying the examples, the algorithm will learn to recognize what distinguishes a cat from a dog and to assign the correct label to each new image you ask it to analyze.
In supervised learning, the machine needs labelled examples to learn. Those examples are used to train an algorithm to automatically assign the correct label.
In the journalistic context, supervised learning can, for example, train an algorithm to spot documents that might be interesting for an investigation. On a number of occasions this has already proven useful to investigative journalists having to deal with large volumes of documents.
Unsupervised Learning
With unsupervised learning, the examples provided to the machine are not labelled. The algorithm is tasked with learning by itself to recognize patterns in the data, for example with the goal of clustering together records that share similar characteristics.
In other words, the algorithm is trained to discover some structure in the unlabelled data that you ask it to analyze. This might be used by a business to better understand its customers, for example by grouping them into categories that show similar shopping behaviours.
In journalism, these kinds of techniques have been deployed by investigative journalists to uncover tax evasion and to help campaign finance reporters link multiple donation records to the same donor.
Reinforcement Learning
The third type is reinforcement learning. Similarly to unsupervised learning, it doesn't need labelled data. It is instead based on the idea of learning what actions to take through trial and error, or in other words: by making mistakes. Initially the algorithm acts randomly, exploring the environment, but it learns with time by being rewarded when it makes the right choices.
Reinforcement learning is commonly used to teach machines to play games, with the most famous example being AlphaGo, the computer program developed by DeepMind that in 2016 managed to beat world’s top player Lee Sedol at the Chinese board game Go.
Journalistic applications are still rare, but reinforcement learning is used, for example, for headline testing.
And what about Deep Learning?
Deep learning is another type of learning that has made a name for itself in recent years thanks to the increased computing powers we already discussed. It's in itself a subfield of machine learning, but differently from the approaches we just studied, deep learning is defined by the complexity and depth (hence the name) of the mathematical model involved.
The depth of the model refers to the use of multiple layers of analysis that allow the algorithm to learn progressively more complex structures. Deep learning is based on artificial neural networks, whose architecture is inspired by human biological systems, for example by how visual information is processed by our brain through our eyes.
Different learning models… so what?
Supervised, unsupervised, reinforcement, neural networks... your head must be spinning.
This lesson was not designed to put you off. It's important to understand the complexity of the field of machine learning and meet its subfields, but unless you want to dive deeper (pun intended) into the data science rabbit hole, what you should retain from this lesson is fairly simple: different problems require different solutions and different ML approaches to be tackled successfully.
In the next lesson, we will look at what situations in your work might welcome a machine learning solution. After that, we will explore the process that allows a machine to learn and introduce the concept of bias, with a few tips on how to deal with it.
-
-
Advanced Search: Researching with precision.
課程Simple tools and tips to help you get better results, faster. -