Loading...

Deep Learning Fundamentals - Premium Edition

Deep Learning Course 2 of 6 - Level: Beginner

AI vs. Machine Learning vs. Deep Learning - Relationship Overview

video

expand_more chevron_left

text

expand_more chevron_left

AI vs. Machine Learning vs. Deep Learning - Relationship Overview

We'll first start our deep learning journey by understanding where the field of deep learning falls in relation to the fields of machine learning and artificial intelligence (AI).

Deep learning is a subfield of machine learning, which itself is a subfield of artificial intelligence.

drawing

While our focus in this course will be on deep learning, we'll take a moment to get introduced to the broader fields of artificial intelligence and machine learning.

Artificial intelligence introduction

Generally speaking, artificial intelligence is intelligence that is inhabited by a machine, rather than from a natural biological life form.

If we wanted to get philosophical, then we could dwell on this definition for quite a while, contemplating the definition of intelligence and debating about what is considered "natural" life forms. For now, though, let's agree to think about this more broadly and generally for the time being.

We may consider a machine, or a specific program on a machine, to be artificially intelligent if it can perceive its environment and act in that environment in such a way to reach a given goal.

Applications of AI

Artificial intelligence may seem a bit sci-fi or futuristic sounding on the surface, but actually, it's widely implemented and already in use today!

Ever wonder how YouTube chooses which videos to recommend to you next? That's AI. How about when you use a face filter available on social media apps? How is it able to fit so seamlessly to your own and everyone elses face? AI! What about when Facebook automatically tags you in a photo? You guessed it, AI.

drawing

Oh, and I'm sure you're familiar with all the craze around self-driving cars, right? If you weren't sure how that was happening before, I bet you can guess the answer now.

Narrow AI

These are just a few of the many applications of AI already in use today, and each of these AI applications are what we call narrow AI. Narrow AI is AI that is focused only on a narrow subject or task.

drawing

For example, the narrow AI involved with auto-tagging photos on Facebook may just have the task of accurately tagging photos of people. It has the goal to maximize the probability that the tag it applies to a photo is correct.

For self-driving cars, generally speaking, we can think about the narrow AI as having the task of safely driving the vehicle from point A to point B. This is an oversimplification, but still the task is narrow. The self-driving car is not trying to safely drive at the same time as trying to come up with the recipe for the best donut.

Artificial General Intelligence (AGI)

Artificial general intelligence (AGI), on the other hand, is an AI system that is able to understand and learn to do any intellectual task that a human can.

So, an AGI self-driving car would be able to safely drive you around, develop the recipe for the best donut, accurately predict the weather, be your physical trainer, have deep and meaningful conversations, diagnose and treat cancer, etc. Throw robotics into the mix as well, and we're in for a totally new world!

AGI is a very active area of research and has not yet been solved. Once it is, our world as we currently know it will be forever changed.

Our focus in this course will be on narrow AI via deep learning, which we'll be introducing soon.

Machine learning introduction

Now that we have a basic understanding of the field of AI, we can now be introduced to the subfield of Machine Learning (ML). Machine learning is one approach that we can take to implement AI.

drawing

Machine learning is the practice of using algorithms to analyze data, learn from that data, improve, and then make a determination or prediction about new data.

The key distinction of machine learning algorithms as opposed to traditional non-ML algorithms is that ML algorithms learn from the data.

With machine learning, rather than a developer manually writing code with a specific set of instructions to accomplish a specific task (as with traditional programming), the machine is instead trained using data and algorithms that give it the ability to learn from the data and perform the task without being explicitly told how to do so.

This "learning" may sound like magic, but we'll see in later lessons exactly how this is achieved.

Let's look a basic example of how a task may be done using machine learning verses traditional programming. Let's suppose the task is to analyze articles from a fitness publication and classify the articles as either being about diet or exercise.

Traditional programming approach

The algorithm may be programmed to first look for particular words associated with diet or exercise.

With conditional statements, the algorithm would classify articles as either diet or exercise based on the words that it knows falls into these categories.

# pseudocode
diet = [
    "diet", 
    "food", 
    "eat"
]

exercise = [
    "exercise", 
    "movement", 
    "weightlifting"
]

These words are arbitrarily chosen by the programmer. Once we have the list of diet and exercise examples, one simple algorithm is to simply count up the occurrences of each type of word in a given article. Then, the article can be classified as diet or exercise based on which word count is higher, the diet words or the exercise words.

Machine learning approach

The algorithm analyzes given media data and learns the features that classify what a diet article looks like versus a exercise article.

With what it has learned, the algorithm can then classify new articles as diet or exercise. A machine learning developer in this case won't explicitly specify the words for the algorithm to recognize. Instead, the algorithm will have β€œlearned” that certain words are associated with diet vs exercise based on labels given to each article it examines during the learning phase.

# pseudocode
articles = [
    {
        label: "diet",
        data: "Wholegrains are a great source of fiber..."
    },
    {
        label: "diet",
        data: "Processed meats, like hotdogs..."
    },
    {
        label: "exercise",
        data: "Once your heartrate reaches..."
    },
    {
        label: "exercise",
        data: "Squats activate the quads..."
    }
]

Deep Learning Introduction

Now that we have a basic understanding of machine learning is, the next topic to introduce is the topic of this course itself, deep learning! As previously mentioned, deep learning is a subfield of machine learning.

drawing

Artificial Neural Networks (ANNs)

Just as with machine learning, deep learning uses algorithms learn from data. It is the specific type of learning algorithms that deep learning uses that creates the boundary between it and machine learning in general.

Deep learning makes use of algorithms called artificial neural networks (ANNs) to learn data. These algorithms are loosely inspired by the biological structure and function of the human brain's neural networks, hence the name.

drawing

We'll get a more thorough introduction to ANNs in an upcoming lesson.

We should now have a general understanding of the relationship between artificial intelligence, machine learning, and deep learning.

We have much more to discuss regarding deep learning and artificial neural networks – an entire course worth, in fact! We'll pick up next time with a more thorough introduction into deep learning itself.

quiz

expand_more chevron_left
deeplizard logo DEEPLIZARD Message notifications

Quiz Results

resources

expand_more chevron_left
In this lesson, we begin our deep learning journey by understanding where the field of deep learning falls in relation to the fields of machine learning and artificial intelligence (AI). πŸ•’πŸ¦Ž VIDEO SECTIONS πŸ¦ŽπŸ•’ 00:00 Welcome to DEEPLIZARD - Go to deeplizard.com for learning resources 00:14 How AI, ML, & DL are Related 00:47 Artificial Intelligence Field Overview 04:34 Machine Learning Field Overview 09:55 Deep Learning Field Overview 11:55 Collective Intelligence and the DEEPLIZARD HIVEMIND πŸ’₯🦎 DEEPLIZARD COMMUNITY RESOURCES 🦎πŸ’₯ πŸ‘‹ Hey, we're Chris and Mandy, the creators of deeplizard! πŸ‘€ CHECK OUT OUR VLOG: πŸ”— https://youtube.com/deeplizardvlog πŸ’» DOWNLOAD ACCESS TO CODE FILES πŸ€– Available for members of the deeplizard hivemind: πŸ”— https://deeplizard.com/resources ❀️🦎 Special thanks to the following polymaths of the deeplizard hivemind: Tammy BufferUnderrun Mano Prime πŸ‘€ Follow deeplizard: Our vlog: https://youtube.com/deeplizardvlog Facebook: https://facebook.com/deeplizard Instagram: https://instagram.com/deeplizard Twitter: https://twitter.com/deeplizard Patreon: https://patreon.com/deeplizard YouTube: https://youtube.com/deeplizard πŸŽ“ Deep Learning with deeplizard: Deep Learning Dictionary - https://deeplizard.com/course/ddcpailzrd Deep Learning Fundamentals - https://deeplizard.com/course/dlcpailzrd Learn TensorFlow - https://deeplizard.com/learn/video/RznKVRTFkBY Learn PyTorch - https://deeplizard.com/learn/video/v5cngxo4mIg Reinforcement Learning - https://deeplizard.com/learn/video/nyjbcRQ-uQ8 Generative Adversarial Networks - https://deeplizard.com/course/gacpailzrd πŸŽ“ Other Courses: Data Science - https://deeplizard.com/learn/video/d11chG7Z-xk Trading - https://deeplizard.com/learn/video/ZpfCK_uHL9Y πŸ›’ Check out products deeplizard recommends on Amazon: πŸ”— https://amazon.com/shop/deeplizard πŸ“• Get a FREE 30-day Audible trial and 2 FREE audio books using deeplizard's link: πŸ”— https://amzn.to/2yoqWRn 🎡 deeplizard uses music by Kevin MacLeod πŸ”— https://youtube.com/channel/UCSZXFhRIx6b0dFX3xS8L1yQ πŸ”— http://incompetech.com/ ❀️ Please use the knowledge gained from deeplizard content for good, not evil.

updates

expand_more chevron_left
deeplizard logo DEEPLIZARD Message notifications

Update history for this page

Did you know you that deeplizard content is regularly updated and maintained?

  • Updated
  • Maintained

Spot something that needs to be updated? Don't hesitate to let us know. We'll fix it!


All relevant updates for the content on this page are listed below.