paint-brush
What is Machine Learning, How Does it Work and Why is it Important?by@robiriondo
8,451 reads
8,451 reads

What is Machine Learning, How Does it Work and Why is it Important?

by Roberto IriondoApril 30th, 2019
Read on Terminal Reader
Read this story w/o Javascript
tldt arrow

Too Long; Didn't Read

April 30, 2019 by <a href="https://www.robertoiriondo.com">Roberto&nbsp;Iriondo</a>

Companies Mentioned

Mention Thumbnail
Mention Thumbnail

Coin Mentioned

Mention Thumbnail
featured image - What is Machine Learning, How Does it Work and Why is it Important?
Roberto Iriondo HackerNoon profile picture

Learn what is machine learning, how it works and its importance in five minutes.

April 30, 2019 by Roberto Iriondo

Introduction to Machine Learning | Part 1 | #ML4All

Who should read these article series?

Anyone who is curious and wants a truly simple, yet accurate overview of the definition of machine learning, about how it works and its importance. We will go through each of the pertaining questions raised above by slicing technical definitions from machine learning pioneers and industry leaders as to present you with a true simplistic introduction to the amazing, scientific field of machine learning.

Glossary of terms can be found at the bottom of the article, along with a small set of resources for further learning, references and disclosures.

If the above applies to you, read on!

What is machine learning?

Computer Scientist and machine learning pioneer Tom M. Mitchell Portrayed | Source: Machine Learning, McGraw Hill, 1997, Tom M. Mitchell [2]

The scientific field of machine learning (ML) is a branch of artificial intelligence, as defined by Computer Scientist and machine learning pioneer [1] Tom M. Mitchell: “Machine learning is the study of computer algorithms that allow computer programs to automatically improve through experience [2].”

An algorithm can be thought of as a set of rules/instructions that a computer programmer specifies, which a computer is able to process. Simply put, machine learning algorithms learn by experience, similar to how humans do. For example, after having seen multiple examples of an object, a compute-employing machine learning algorithm can become able to recognize that object in new, previously unseen scenarios.

How does machine learning work?

<a href="https://medium.com/media/baeca0a102a74c4cd3b9f4fbd37b3063/href">https://medium.com/media/baeca0a102a74c4cd3b9f4fbd37b3063/href</a>

In the video above [3], Head of Facebook AI Research, Yann LeCun simply explains how machine learning works with easy to follow examples. Machine learning utilizes a variety of techniques to intelligently handle large and complex amounts of information to make decisions and/or predictions.

In practice, the patterns that a computer (machine learning system) learns can be very complicated and difficult to explain. Consider searching for dog images on Google search — as seen on the image below, Google is incredibly good at bringing relevant results, yet how does Google search achieves this task? In simple terms, Google search first gets a large quantity of examples (image dataset) of photos labeled “dog” — then the computer (machine learning system) looks for patterns of pixels and patterns of colors that will help it guess (predict) if the image queried it is indeed a dog.

Query on Google Search for “dog” | Source: Google Search

At first, Google’s computer makes a random guess of what patterns are good as to identify an image of a dog. If it makes a mistake, then a set of adjustments are made in order for the computer to get it right. In the end, such collection of patterns will be learned by a large computer system modeled after the human brain (deep neural network), that once is trained can correctly identify and bring accurate results of dog images on Google search, along with anything else that you could possibly think of —such process is called the training phase of a machine learning system.

Machine learning system looking for patterns between dog and cat images [5]

Imagine that you were in charge of building a machine learning prediction system to try and identify images between dogs and cats. The first step as we explained above would be to gather a large quantity of labeled images with “dog” for dogs and “cat” for cats. Second, we would train the computer to look for patterns on the images as to identify dogs and cats respectively.

Trained machine learning system capable of identifying cats or dogs. [5]

Once the machine learning model has been trained [7], we can throw at it (input) different images to see if it can correctly identify dogs and cats. As seen on the image above, a trained machine learning model can (most of the time) correctly identify such queries.

Why is machine learning important?

“Just as electricity transformed almost everything 100 years ago, today I actually have a hard time thinking of an industry that I don’t think AI will transform in the next several years.” ~ Andrew Ng | Source: Stanford Business Graduate School [4]

Machine learning its incredibly important nowadays, Firstly because it can solve complicated real-world problems in a scalable way. Secondly, because it has disrupted a variety of industries within the past decade [9], and will continue to do so in the future, as more and more industry leaders and researchers are specializing in machine learning, along taking what they have learned in order to continue with their research and/or develop machine learning tools to positively impact their own fields. Thirdly, artificial intelligence has the potential to incrementally add 16% or around $ 13 trillion to the US economy by 2030 [[18](https://blogs.wsj.com/cio/2018/11/16/the-impact-of-artificial-intelligence-on-the-world-economy/ [19] The macroeconomic impact of artificial i)]. The rate in which machine learning is causing positive impact, is already surprisingly impressive [10] [11] [12] [13] [14] [15] [16] which have been successful thanks to the dramatic change on data storage and computing processing power [17] — as more people are increasingly becoming involved, we can only expect it to continue with this route and continue to cause amazing progress on different fields [6].

Future work: In an upcoming article we will discuss the types of machine learning in simple terms, how they are currently being used by academia and industry alike with real-world examples of such.

Acknowledgements:

The author would like to thank Anthony Platanios, Doctoral Researcher with the Machine Learning Department at Carnegie Mellon University for constructive criticism, along editorial comments in preparation of this article.

DISCLAIMER: The views expressed in this article are those of the author(s) and do not represent the views of Carnegie Mellon University, nor other companies (directly or indirectly) associated with the author(s). These writings are not intended to be final products, yet rather a reflection of current thinking, along being a catalyst for discussion and improvement.

You can find me on: My personal website, Medium, Instagram, Twitter, Facebook, LinkedIn or through my SEO company.

Glossary:

Algorithm: Process that follows a set of rules, a problem solver — specially used by computers.

Computer program: Collection of instructions that perform specific tasks when launched by a computer.

Deep neural network: Large computer system modeled after the human brain.

Input: What is put in, taken in, or operated on a process or system.

ML: Machine learning.

Machine learning: Study of computer algorithms that allow computer programs to automatically improve through experience.

Machine learning model/system: Question/answering system that takes care of processing machine learning related tasks.

Resources:

Courses:

Introduction to Machine Learning | Matt Gormley | School of Computer Science, Carnegie Mellon University | http://www.cs.cmu.edu/~mgormley/courses/10601/

AI for Everyone | Andrew Ng | Coursera | https://www.coursera.org/learn/ai-for-everyone

Machine Learning Crash Course | Google | https://developers.google.com/machine-learning/crash-course/

Intro to Machine Learning | Udacity | https://www.udacity.com/course/intro-to-machine-learning--ud120

Machine Learning Training | Amazon Web Services | https://aws.amazon.com/training/learning-paths/machine-learning/

Introduction to Machine Learning | Coursera | https://www.coursera.org/learn/machine-learning

Books:

Machine Learning | Tom Mitchell | McGraw Hill, 1997 | Carnegie Mellon University | http://www.cs.cmu.edu/afs/cs.cmu.edu/user/mitchell/ftp/mlbook.html

Publications:

Machine Learning Blog, Cutting edge research on machine learning.

Distill, Latest articles on machine learning.

Google AI Blog, Latest news and articles from Google AI.

Recommended Stories:

References:

[1] For pioneering contributions and leadership in the methods and applications of machine learning. | “Prof. Tom M. Mitchell”. National Academy of Engineering. Retrieved October 2, 2011.

[2] Machine Learning Definition | Tom M. Mitchell| McGraw-Hill Science/Engineering/Math; (March 1, 1997), Page 1 | http://www.cs.cmu.edu/afs/cs.cmu.edu/user/mitchell/ftp/mlbook.html

[3] How Machine Learning Works? | Yann LeCun | Youtube | https://www.youtube.com/watch?v=mmXB636p_E8

[4] Andrew Ng: Why AI is the New Electricity | Shana Lynch | Stanford Business | https://www.gsb.stanford.edu/insights/andrew-ng-why-ai-new-electricity

[5] Breaking it down: A Q&A on machine learning | Google | https://www.google.com/about/main/machine-learning-qa/

[6] In Ten Years: The Future of AI and ML | Foursquare | https://medium.com/foursquare-direct/in-ten-years-the-future-of-ai-and-ml-fa68a527f378

[7] Training ML Models | Amazon Web Services | https://docs.aws.amazon.com/machine-learning/latest/dg/training-ml-models.html

[8] Machine learning models training process | Amazon Web Services | https://docs.aws.amazon.com/machine-learning/latest/dg/training-process.html

[9] 5 Industries Machine Learning is Disrupting Right Now | Disruption, Inc.| https://disruptionhub.com/5-industries-machine-learning-disrupting/

[10] Facebook Has Released a Machine Learning Tool to Help Engineers Code | DesignNews | https://www.youtube.com/watch?v=mmXB636p_E8

[11] Lithium-ion Battery Book Written by Machine Learning Algorithm | ChemistryWorld | https://www.chemistryworld.com/news/lithiumion-battery-book-written-by-machine-learning-algorithm/3010380.article

[12] Machine Learning Algorithm Predicts Who Will Survive Game of Thrones | VW | https://www.chemistryworld.com/news/lithiumion-battery-book-written-by-machine-learning-algorithm/3010380.article

[13] Machine Learning is Making Pesto Even More Delicious | MIT Technology Review | https://www.technologyreview.com/s/613262/machine-learning-is-making-pesto-even-more-delicious/

[14] Machine learning generated artwork auctions off for $ 432,500 | Data Driven Investor | https://medium.com/datadriveninvestor/machine-learning-generated-artwork-auctions-off-for-432-500-c377be74146f

[15] How machine learning will fundamentally change the lives of healthcare providers | Radiology Business | https://www.radiologybusiness.com/topics/artificial-intelligence/machine-learning-ai-healthcare-workflow-clinicians

[16] Google’s AI is better at spotting advanced breast cancer than pathologists | MIT Technology Review | https://www.technologyreview.com/the-download/612292/googles-ai-is-better-at-spotting-advanced-breast-cancer-than-pathologists/

[17] Visualizing the Trillion-Fold Increase in Computing Power | Visual Capitalist | https://www.visualcapitalist.com/visualizing-trillion-fold-increase-computing-power/

[18] The Impact of Artificial Intelligence on The World Economy | The Wall Street Journal | Intelligence in the economy | PWC | https://www.pwc.co.uk/economic-services/assets/macroeconomic-impact-of-ai-technical-report-feb-18.pdf