MathWorks - Mobile View
  • Sign In to Your MathWorks AccountSign In to Your MathWorks Account
  • Access your MathWorks Account
    • My Account
    • My Community Profile
    • Link License
    • Sign Out
  • Products
  • Solutions
  • Academia
  • Support
  • Community
  • Events
  • Get MATLAB
MathWorks
  • Products
  • Solutions
  • Academia
  • Support
  • Community
  • Events
  • Get MATLAB
  • Sign In to Your MathWorks AccountSign In to Your MathWorks Account
  • Access your MathWorks Account
    • My Account
    • My Community Profile
    • Link License
    • Sign Out

Videos and Webinars

  • MathWorks
  • Videos
  • Videos Home
  • Search
  • Videos Home
  • Search
  • Contact sales
  • Trial software
  Register to watch video
  • Description
  • Full Transcript
  • Related Resources

Introduction to Deep Learning: Machine Learning vs. Deep Learning

From the series: Introduction to Deep Learning

Johanna Pingel, MathWorks

Learn about the differences between deep learning and machine learning in this MATLAB® Tech Talk. Walk through several examples, and learn how to decide which method to use.

The video outlines the specific workflow for solving a machine learning problem.

The video also outlines the differing requirements for machine learning and deep learning. You’ll learn about the key questions to ask before deciding between machine learning and deep learning.

The choice between machine learning or deep learning depends on your data and the problem you’re trying to solve. MATLAB can help you with both of these techniques – either separately or as a combined approach.

Learn more about using MATLAB for deep learning.

Recorded: 24 Mar 2017

Deep learning and machine learning both offer ways to train models and classify data. This video compares the two, and it offers ways to help you decide which one to use. Let's start by discussing the classic example of cats versus dogs. Now, in this picture, do you see a cat or a dog? How are you able to answer that? Chances are you've seen many cats and dogs over time, and so you've learned how to identify them. This is essentially what we're trying to get a computer to do: learn from and recognize examples.

Also keep in mind that sometimes even humans can get identification wrong, so we might expect a computer to make similar errors. To have a computer do classification using a standard machine learning approach, we'd manually select the relevant features of an image, such as edges or corners, in order to train the machine learning model. The model then references those features when analyzing and classifying new objects.

This is an example of object recognition. However, these techniques can also be used for scene recognition and object detection. When solving a machine learning problem, you follow a specific workflow. You start with an image, and then you extract relevant features from it. Then you create a model that describes or predicts the object. On the other hand, with deep learning, you skip the manual step of extracting features from images. Instead, you feed images directly into the deep learning algorithm, which then predicts the object.

So deep learning is a subtype of machine learning. It deals directly with images and is often more complex. For the rest of the video, when I mention machine learning, I mean anything not in the deep learning category. When choosing between machine learning and deep learning, you should ask yourself whether you have a high-performance GPU and lots of labeled data.

If you don't have either of these things, you'll have better luck using machine learning over deep learning. This is because deep learning is generally more complex, so you'll need at least a few thousand images to get reliable results. You'll also need a high-performance GPU so the model spends less time analyzing those images. If you choose machine learning, you have the option to train your model on many different classifiers. You may also know which features to extract that will produce the best results.

Plus, with machine learning, you have the flexibility to choose a combination of approaches. Use different classifiers and features to see which arrangement works best for your data. You can use MATLAB to try these combinations quickly. Also keep in mind that if you are looking to do things like face detection, you can use out-of-the-box MATLAB examples.

As we mentioned before, you need less data with machine learning than with deep learning, and you can get to a trained model faster too. However, deep learning has become very popular recently because it is highly accurate. You don't have to understand which features are the best representation of the object. These are learned for you. But in a deep learning model, you need a large amount of data, which means the model can take a long time to train.

You are also responsible for many of the parameters, and because the model is a black box, if something isn't working correctly, it may be hard to debug.

So, in summary, the choice between machine learning and deep learning depends on your data and the problem you're trying to solve. MATLAB can help you with both of these techniques, either separately or as a combined approach. To find out more, visit mathworks.com/deep-learning.

Related Products

  • Deep Learning Toolbox
  • Computer Vision Toolbox
  • Image Processing Toolbox
  • MATLAB
  • Statistics and Machine Learning Toolbox

Learn More

Deep Learning with MATLAB (5 Videos)
Deep Learning with MATLAB (Ebook)
Get Ready for AI with MATLAB (Article)
Getting Started with Neural Networks Using MATLAB (4:37)

FREE EBOOK

Introducing Deep Learning with MATLAB

Download ebook

Feedback

Featured Product

Deep Learning Toolbox

  • Request Trial
  • Get Pricing

Up Next:

Explore the basics of convolutional neural networks (also called CNNs or ConvNets) in this MATLAB Tech Talk. You’ll learn 3 concepts: local receptive fields, shared weights & biases, and activation & pooling. You’ll also learn 3 ways to train CNNs.
4:44
What Are Convolutional Neural Networks?
View full series (3 Videos)

Related Videos:

7:35
Deep Learning for Computer Vision with MATLAB (Highlights)
42:27
Machine Learning and Computer Vision for Medical Imaging...
40:27
Machine Learning and Computer Vision for Biological Imaging...
34:34
Machine Learning Made Easy
5:36
Machine Learning for Predictive Modelling (Highlights)

View more related videos

MathWorks - Domain Selector

Select a Web Site

Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .

Select web site

You can also select a web site from the following list:

How to Get Best Site Performance

Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.

Americas

  • América Latina (Español)
  • Canada (English)
  • United States (English)

Europe

  • Belgium (English)
  • Denmark (English)
  • Deutschland (Deutsch)
  • España (Español)
  • Finland (English)
  • France (Français)
  • Ireland (English)
  • Italia (Italiano)
  • Luxembourg (English)
  • Netherlands (English)
  • Norway (English)
  • Österreich (Deutsch)
  • Portugal (English)
  • Sweden (English)
  • Switzerland
    • Deutsch
    • English
    • Français
  • United Kingdom (English)

Asia Pacific

  • Australia (English)
  • India (English)
  • New Zealand (English)
  • 中国
    • 简体中文Chinese
    • English
  • 日本Japanese (日本語)
  • 한국Korean (한국어)

Contact your local office

  • Contact sales
  • Trial software

Explore Products

  • MATLAB
  • Simulink
  • Student Software
  • Hardware Support
  • File Exchange

Try or Buy

  • Downloads
  • Trial Software
  • Contact Sales
  • Pricing and Licensing
  • How to Buy

Learn to Use

  • Documentation
  • Tutorials
  • Examples
  • Videos and Webinars
  • Training

Get Support

  • Installation Help
  • Answers
  • Consulting
  • License Center
  • Contact Support

About MathWorks

  • Careers
  • Newsroom
  • Social Mission
  • Contact Sales
  • About MathWorks

MathWorks

Accelerating the pace of engineering and science

MathWorks is the leading developer of mathematical computing software for engineers and scientists.

Discover…

  • Select a Web Site United States
  • Patents
  • Trademarks
  • Privacy Policy
  • Preventing Piracy
  • Application Status

© 1994-2021 The MathWorks, Inc.

  • Facebook
  • Twitter
  • Instagram
  • YouTube
  • LinkedIn
  • RSS

Join the conversation