What the heck is machine learning, and why is it everywhere these days?

machine learning

Unless you’ve been living under a rock, ignoring every big tech advance in the past decade, you’ve probably heard of machine learning. Whether it’s better fraud detection and prevention, the handy online recommendations made by Netflix and Amazon, revolutionary facial recognition technology, or futuristic self-driving cars, machine learning is powering the current artificial intelligence revolution. But what is it exactly? Here’s a handy beginner’s guide.

What is machine learning, and why does it matter?

Machine learning is an approach to artificial intelligence that’s focused on making machines which can learn without being explicitly programmed. Learning is a profoundly important part of what makes us human. If we’re going to build AI that can carry out tasks with human-like intelligence, we therefore need to make machines that can learn for themselves, based on their past experiences.

This is different to the classical symbolic approach to AI, in which programmers create step-by-step rules for machines to follow, rather than allowing them to discover insights for themselves. While machine learning still involves this classical style of programming, it combines those basic rules with knowledge that computers are able to gather on their own to grow smarter.

Oh, and there’s a whole lot of statistics in there as well. Today, machine learning’s massive success has led to it becoming the most dominant subset of AI that is practiced around the world.

Can you give me a basic example of machine learning in action?

Absolutely. Machine learning can achieve some pretty impressive feats in AI (think self-driving cars or teaching robots to autonomously interact with the world around them), but it’s also responsible for simpler, but still incredibly useful applications.

One good illustration of machine learning in action is the so-called “spam” filter that your email system most likely uses to distinguish between useful emails and unsolicited junk mail. To do this, such filters will include rules entered by the programmer, to which it can add numbers that — when added up — will give a good indication of whether or not the software thinks the email is good to show you.

The problem is that rules are subjective. A rule that filters out emails with a low ratio of image to text isn’t so useful if you’re a graphic designer, who is likely to receive lots of useful emails that meet these parameters. As a result, machine learning allows the software to adapt to each user based on his or her own requirements. When the system flags some emails as spam, the user’s response to these emails (either reading or deleting them) will help train the AI agent to better deal with this kind of email in the future.

It’s simplistic compared to how we learn as humans, but it nonetheless achieves the result of creating an algorithm that improves its performance the more knowledge it receives.

I’ve heard of data mining. Is that the same thing?

Not quite. There are a lot of statistical tools involved in machine learning, and a good knowledge of math is going to help you as much on a machine learning course as speaking English will help you on an English literature course.

There’s definitely some crossover between the two fields, but the main distinction is that data mining is about drilling down into a dataset to find information. Machine learning is about using data to work out how to predict future outcomes, or to train a machine to perform a certain task.

One way we’ve heard it explained is that data mining is finding a list of dance centers in Portland; machine learning is learning how to dance.

Are there different types of machine learning?

You bet! The major way of dividing up machine learning is to focus on how the machine learns. There are four main approaches: supervised learning, unsupervised learning, semi-supervised learning, and reinforcement learning.

Supervised learning involves training data in which there is a desired output. (This is the category our spam filter algorithm falls into.) Next up is unsupervised learning, in which training data doesn’t have clear outputs. Then there’s semi-supervised learning, in which there are few desired outputs.

The other type of machine learning — which is increasingly popular these days — is reinforcement learning. This ambitious approach to machine learning involves rewarding an artificial agent based on what it does. Reinforcement learning can help machines achieve feats like figuring out how to play video games through trial-and-error, based on working out what increases its score.

Where do neural networks come into all of this?

Ah, yes: neural networks. If you’ve followed AI at all over the past decade (or read our handy recent explainer article) you’ve almost certainly come across these brain-inspired machine learning tools. Deep learning neural networks are a big part of machine learning today, but they’re not the only part.

Because the field is all about figuring out how best to fit data into models that can be utilized by people, a crucial step for machine learners is working out how best to represent knowledge when they set out to solve a problem. Neural networks are one example of how this might be achieved. Others include support vector machines, decision trees, genetic algorithms, and more.

Which programming languages to machine learners use?

Like the question above, there’s no one answer to this. Machine learning is a big field and, with so much ground to cover, there’s no one language that does absolutely everything.

Due to its simplicity, and the availability of deep learning libraries such as TensorFlow and PyTorch, Python is currently the number one language. If you’re thinking about delving into machine learning for the first time, it’s also one of the most accessible languages — and there are loads of online resources available.

Java is a good option, too, and comes with a great community of its own, while C++ and R are also worth checking out.

Is machine learning the perfect solution to all our AI problems?

You can probably guess where we’re going with this. No, machine learning isn’t infallible. Algorithms can still be subject to human biases, and the rule of “garbage in, garbage out” holds as true here as it does to any other data-driven field.

There are also questions about transparency, particularly when you’re dealing with the kind of “black boxes” that are an essential part of neural networks.

But as a tool that’s helping to revolutionize technology as we know it, and making AI available to the masses? You bet that it’s a great tool!


Premiere Pro A.I. plug-in for Adobe paints your videos in the style of van Gogh

CyberLink is bringing its suite of artificial intelligence-based video effects directly to Adobe users as a plug-in for Premiere Pro. The A.I. Style video plug-in "redraws" video in the styles of artists like Vincent van Gogh.

Master your new Nokia 7.1 with our favorite tips and tricks

At $350, the Nokia 7.1 is a nearly perfect budget phone. It has a gorgeous body, good hardware, and a capable camera. Recently purchased the Nokia 7.1? Here are a few of our favorite tips and tricks to get you started with your new phone.

These 100 best iPhone apps will turn your phone into a jack-of-all-trades

The iPhone is the most popular smartphone in the world, and we want to bring out the best in yours. Behold our comprehensive list of the best iPhone apps, from time-saving productivity tools to fun apps you won’t be able to put down.

Sending SMS messages from your PC is easier than you might think

Texting is a fact of life, but what to do when you're in the middle of something on your laptop or just don't have your phone handy? Here's how to send a text message from a computer, whether you prefer to use an email client or Windows 10.
Emerging Tech

‘Bionic mushroom’ can generate electricity without using fossil fuels

Researchers have come up with a way to produce electricity without fossil fuels using mushrooms covered with bacteria. The mushroom provides a safe environment for special cyanobacteria that generate electricity when light is shone on them.
Emerging Tech

Curiosity rover active and drilling again after computer issue

The Curiosity rover has succeeded in drilling a hole into the tough bedrock that previously defeated it, allowing imaging and collection of samples. The rover had been incapacitated for a few weeks due to problems with its computer.
Emerging Tech

Awesome Tech You Can’t Buy Yet: 1-handed drone control, a pot that stirs itself

Check out our roundup of the best new crowdfunding projects and product announcements that hit the web this week. You may not be able to buy this stuff yet, but it sure is fun to gawk!
Emerging Tech

Astronomers discover two rogue planets that do not orbit a star

Astronomers have identified two rogue planets in our galaxy which do not orbit around a star. Unlike the vast majority of discovered planets, these rogue planets drift through space alone with no sun to shine on them.
Emerging Tech

Pairs of supermassive black holes spotted in colliding galaxies

Astronomers have discovered several pairs of supermassive black holes in galaxies that are colliding with each other. These black holes will spiral closer and closer together and eventually merge into one supermassive black hole.
Emerging Tech

Quantum-based accelerometer can locate objects without GPS

Researchers have created a quantum "compass" that allows navigation without satellites. The instrument, technically called a standalone quantum accelerometer, is small enough to be transportable and has a very high level of accuracy.
Emerging Tech

Ancient continent discovered beneath the ice of Antarctica

Antarctica could be hiding the remains of a long-lost continent. Scientists created a 3D map of the crust beneath the Antarctic ice sheet which shows a similarity to the crust in Australia and India, suggesting they used to be joined.
Emerging Tech

Rocket Lab steps into spotlight with its first commercial rocket launch

Rocket Lab has deployed multiple small satellites into orbit in its first notable commercial launch. Its New Zealand-born boss said the success means "rapid and reliable access to space is now a reality for small satellites."
Emerging Tech

Alibaba’s Singles’ Day sale smashes online shopping records

The annual online shopping frenzy that is Singles' Day this year raked in $30.8 billion, up from $25 billion last time around. The Alibaba-organized event generates more in sales than Black Friday and Cyber Monday combined.
Emerging Tech

Watch this lab-grown heart tissue beat just like the real thing

A team of researchers in Germany have used stem cells to create a lab-grown human heart tissue which actually beats, as well as responding to drugs in the same way as the real thing.