machine learning is

What Is Machine Learning?

Machine Learning for non-techs in 5 minutes

When most people hear about Machine Learning (ML), an image appears in their heads similar to the one above. However, ML has very little to do with futuristic, human-like, intelligent robots.

In fact, Machine Learning has been around for quite a while (since the previous century precisely), just not wrapped in the insane tornado of hype that it is now, or backed up by increasingly big mountains of data that grow in size every single day.

This post will quickly explain what it is for people without any technical baggage. If you’ve heard about it, and you want to know what machine learning is, then keep reading.

What is Machine Learning?

programming artificial intelligence

Machine Learning is defined on Wikipedia as

“the study of computer algorithms that improve automatically through experience”

This definition is very vague, and despite there not being a unique way to precisely describe the field, there are definitely better options.

These are a couple of definitions that I prefer.

Machine learning…

  1. “… is the science of programming computers so they can learn from data
  2. “…is the field of study that gives computers the ability to learn without being explicitly programmed
  3. …is a sub-field of Artificial Intelligence (AI) that involves self-learning algorithms that derive knowledge from data

Notice how all these definitions have two things in common: programming and data. The usual way to build a computer program is to write code in a specific programming language and explicitly define its whole behaviour.

With Machine learning, what you do is let the program decide what to do by feeding it some data that defines this behaviour.

Let’s use a very simple example to quickly see the differences between a traditional computer program and software built using ML.


Email Spam Filter example

machine learning pdf

Before Machine Learning, email spam filters were built using a series of rules to detect if the incoming mail was spam or not.

For example, if it contained the words ‘Buy’, ‘Discount’, or ‘Price’, a lot of words in capital letters like ‘ DO THIS TO GET THE BEST SLEEP OF YOUR LIFE…’, an un-conventional sender like ‘adjaskfoja@spammer.com’, or a combination of the previous, then the mail was classified as spam.

If none of the rules could apply to the mail, then it was sent through to our inbox. This meant that humans had to study spam e-mails, come up with a series of common characteristics, and then define a set of rules that would identify them.

With Machine Learning we let a computer do all these tasks, by teaching it to do them using data. Every time an email appears in your inbox and you send it to the spam folder, you are contributing to the improvement of intelligent spam filters that use ML.

Once enough mails have been manually classified as spam (in this manner or others), a set of emails composed of spam and not spam (as the system has to learn to differentiate between the two) is fed to the computer, that using statistics and mathematics learns to distinguish spam from not spam.

Now when a new email comes, this computer that has already learned to differentiate between spam and not spam, can decide whether to allow it into your inbox or not.

This is a very simple example that illustrates what ML is: a way of programming computers so that THEY can find patterns in data, learn from them, and use these lessons for different tasks.


What Machine Learning really is: Maths and Statistics

maths of ml

This can all sound very pretty and sophisticated, but in the end, Machine Learning is just maths and statistics. 

Yes, I said it.

Maths and statistics, with the help of tremendous amounts of data, the appearance and improvement of complex algorithms, and amazing computing capabilities, put nicely together inside a fancy term, is what we nowadays call Machine Learning.

Don’t get me wrong, I’m not saying this to undermine the field in any way: it is an amazing technology that should provide way more value to business and industry than what it does now; I’m just highlighting that despite all the mystery around ML, it is no magic.


Machine Learning and Artificial Intelligence

ai and ml. Artificial Intelligence and Machine Learning.

Machine Learning is a field that, as one of the three offered definitions mentioned, is a part of the wider framework of Artificial Intelligence.

This makes sense as if in broad terms AI tries to achieve some sort of intelligence using non-biological systems, shouldn’t one of the main characteristics of these systems be the ability to learn?

So from now on, when you hear Machine Learning or Artificial Intelligence, know that they are not the same and that the former is generally perceived as a branch of the latter.

Artificial Intelligence and Machine Learning. AI ML.

Lastly , lets finish by exploring what Machine Learning is used for.


What is Machine Learning used for?

Machine Learning in Tesla Cars

ML is seamlessly integrated into our everyday life, without most of us knowing it. If you are wondering what Machine Learning can do, a quick Google search will return an interminable list of applications. Some of the coolest ones are:

  • Machine Learning is at the heart of most of the autonomous driving systems, like the autopilot in Tesla cars for example.
  • ML is the core of the software of our voice assistants like Alexa, Siri or Cortana.
  • Netflix, Amazon, and all those platforms that recommend us movies or products build these systems using Machine Learning.
  • And much more troubling stuff: DeepFakes, the videos of famous people saying stuff they didn’t really say, are made using ML. You can learn about them here.

These are just some applications, but there are tons more, from very simple ones to spam detectors like in our example, or house price prediction applications, to face recognition and image classification software.


Conclusion

We have learned what Machine Learning is with an intuitive example and unveiled some of its wonders.

It is an amazing technology that should not be looked at with wonder and fear, but with hope and excitement. We hope that with this article we have contributed a little bit to its demystification.

In the following posts we will explore what machine learning can and cannot do.

Also, if you want to get started into ML, check out our books, or online courses categories, there is surely something there that will get you started!

Have a good day!

Leave a Comment