You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
description: Learn about the relationship between deep learning vs. machine learning and how they fit into the category of artificial intelligence. This article describes how deep learning solves scenarios, such as fraud detection, voice and facial recognition, sentiment analytics, and time series forecasting.
4
+
description: Learn about deep learning vs. machine learning and how both concepts relate to artificial intelligence. Deep learning can be applied in scenarios such as fraud detection, voice and facial recognition, sentiment analytics, and time series forecasting.
5
5
services: machine-learning
6
6
ms.service: machine-learning
7
7
ms.subservice: core
@@ -13,85 +13,97 @@ ms.date: 08/07/2019
13
13
14
14
# Deep learning vs. machine learning
15
15
16
-
This article helps you understand the relationship between deep learning vs. machine learning. You'll learn how the two concepts compare and how they fit into the broader category of artificial intelligence. Finally, the article describes how deep learning can be applied to real-world scenarios, such as fraud detection, voice and facial recognition, sentiment analytics, and time series forecasting.
16
+
This article helps you compare deep learning vs. machine learning. You'll learn how the two concepts compare and how they fit into the broader category of artificial intelligence. The article also describes how deep learning can be applied to real-world scenarios such as fraud detection, voice and facial recognition, sentiment analytics, and time series forecasting.
17
17
18
-
## How do deep learning, machine learning, and AI relate to one another?
18
+
## Deep learning, machine learning, and AI
19
19
20
20

21
21
22
-
In order to understand the difference between deep learning vs. machine learning vs. AI, learn about each of these fields of study:
22
+
Consider the following definitions to understand deep learning vs. machine learning vs. AI:
23
23
24
-
-**Deep learning** is a subset of machine learning based on artificial neural networks that permit a machine to train itself. In this case, the _learning process_ is called _deep_, because the structure of artificial neural networks consists of multiple input, output, and hidden layers. Each layer contains units that transform the input data into information that the next layer can use to perform a certain predictive task. Thanks to this structure, a machine is able to learn through its own data processing.
24
+
-**Deep learning** is a subset of machine learning that's based on artificial neural networks. The _learning process_ is _deep_ because the structure of artificial neural networks consists of multiple input, output, and hidden layers. Each layer contains units that transform the input data into information that the next layer can use for a certain predictive task. Thanks to this structure, a machine can learn through its own data processing.
25
25
26
-
-**Machine learning** is a subset of artificial intelligence that includes techniques (such as deep learning) that enable machines to improve at tasks with experience. In this case, the_learning process_ is based on the following steps:
26
+
-**Machine learning** is a subset of artificial intelligence that uses techniques (such as deep learning) that enable machines to use experience to improve at tasks. The_learning process_ is based on the following steps:
27
27
28
-
1. Feed an algorithm with data by providing it with more information (for example, by performing feature extraction).
29
-
2. Use this data to train a model.
30
-
3. Test and deploy the model.
31
-
4. Consume the deployed model to perform a certain automated predictive task.
28
+
1. Feed data into an algorithm. (In this step you can provide additional information to the model, for example, by performing feature extraction.)
29
+
1. Use this data to train a model.
30
+
1. Test and deploy the model.
31
+
1. Consume the deployed model to do an automated predictive task. (In other words, call and use the deployed model to receive the predictions returned by the model.)
32
32
33
-
-**Artificial intelligence (AI)** is a technique that enables computers to mimic human intelligence. It includes machine learning. It is important to understand the relationship between _AI vs. machine learning vs. deep learning_: Machine learning is a way of achieving artificial intelligence, which means by the use of machine learning and deep learning techniques you can build computer systems and applications that can perform tasks commonly associated with human intelligence, such as visual perception, speech recognition, decision-making, and translation between languages.
33
+
-**Artificial intelligence (AI)** is a technique that enables computers to mimic human intelligence. It includes machine learning.
34
+
35
+
It's important to understand the relationship among AI, machine learning, and deep learning. Machine learning is a way to achieve artificial intelligence. By using machine learning and deep learning techniques, you can build computer systems and applications that do tasks that are commonly associated with human intelligence. These tasks include visual perception, speech recognition, decision-making, and language translation.
34
36
35
-
## Comparison of deep learning vs. machine learning
37
+
## Techniques of deep learning vs. machine learning
36
38
37
-
Now that you have the overview of machine learning vs. deep learning, compare the two techniques. In the case of machine learning, the algorithm needs to be told how to make an accurate prediction by providing it with more information; whereas, in the case of deep learning, the algorithm is able to learn that through its own data processing thanks to the artificial neural network structure.
39
+
Now that you have the overview of machine learning vs. deep learning, let's compare the two techniques. In machine learning, the algorithm needs to be told how to make an accurate prediction by consuming more information (for example, by performing feature extraction). In deep learning, the algorithm can learn how to make an accurate prediction through its own data processing, thanks to the artificial neural network structure.
38
40
39
-
The table below compares the two techniques in more detail:
41
+
The following table compares the two techniques in more detail:
40
42
41
43
||All machine learning |Only deep learning|
42
44
|---|---|---|
43
-
|**Number of data points**| Can use small data amounts provided by users | Requires a large amount of training data to make concise conclusions |
44
-
|**Hardware dependencies**| Can work on low-end machines. It doesn't need a large amount of computational power | Depends on high-end machines. It inherently does a large number of matrix multiplication operations. These operations can be efficiently optimized using a GPU|
45
-
|**Featurization process**| Requires features to be accurately identified and created by users |It learns high-level features from data and creates new features by itself |
46
-
|**Learning approach**| Divides tasks into small pieces, and then combine received results into one conclusion | Solves the problem on an end-to-end basis |
47
-
|**Execution time**|Comparatively takes less time to train, ranging from a few seconds to a few hours | Takes an unusually long time to train, because there are many parameters in a deep learning algorithm |
48
-
|**Output**| The output is usually a numerical value, like a score or a classification | The output can be anything from a score, a text, an element, or a sound |
45
+
|**Number of data points**| Can use small data amounts provided by users.| Requires a large amount of training data to make concise conclusions.|
46
+
|**Hardware dependencies**| Can work on low-end machines. It doesn't need a large amount of computational power.| Depends on high-end machines. It inherently does a large number of matrix multiplication operations. A GPU can efficiently optimize these operations.|
47
+
|**Featurization process**| Requires features to be accurately identified and created by users.|Learns high-level features from data and creates new features by itself.|
48
+
|**Learning approach**| Divides tasks into small pieces and then combines received results into one conclusion.| Solves the problem on an end-to-end basis.|
49
+
|**Execution time**|Takes comparatively little time to train, ranging from a few seconds to a few hours.| Takes an unusually long time to train because a deep learning algorithm involves many parameters.|
50
+
|**Output**| The output is usually a numerical value, like a score or a classification.| The output can be text, a score, an element, or a sound.|
49
51
50
-
## Deep learning use cases: What problems does it solve?
52
+
## Deep learning use cases
51
53
52
-
Because of the artificial neural network structure, deep learning excels at identifying patterns in unstructured data, such as images, sound, video, and text. For this reason, it's rapidly transforming many industries including healthcare, energy, fintech, transportation, and others, to rethink traditional business processes. Some of the most common applications for deep learning are described in the following paragraphs.
54
+
Because of the artificial neural network structure, deep learning excels at identifying patterns in unstructured data such as images, sound, video, and text. For this reason, deep learning is rapidly transforming many industries, including healthcare, energy, finance, and transportation. These industries are now rethinking traditional business processes.
55
+
56
+
Some of the most common applications for deep learning are described in the following paragraphs.
53
57
54
58
### Named-entity recognition
55
59
56
-
One use of deep-learning networks is named-entity recognition, which is a way to extract from unstructured, unlabeled data certain types of information like people, places, companies, or things. That information can then be stored in a structured schema to build a list of addresses or serve as a benchmark for an identity validation engine.
60
+
One use of deep-learning networks is named-entity recognition, which is a way to extract certain types of information from unstructured and unlabeled data. This information could be people, places, companies, or things. The information can then be stored in a structured schema to build a list of addresses or serve as a benchmark for an identity validation engine.
57
61
58
62
### Object detection
59
63
60
-
Deep learning has been applied in many object detection use cases. Object detection is actually a two-part process: image classification, and then image localization. Image classification determines what the objects in the image are, like a car or a person, while image localization provides the specific location of these objects. Object detection is already being used in gaming, retail, tourism, and self-driving cars industries.
64
+
Deep learning has been applied in many object detection use cases. Object detection comprises two parts: image classification and then image localization. Image _classification_ identifies the image's objects, such as cars or people. Image _localization_ provides the specific location of these objects.
65
+
66
+
Object detection is already used in industries such as gaming, retail, tourism, and self-driving cars.
61
67
62
68
### Image caption generation
63
69
64
-
Similar to the image recognition task, image captioning is the task where, for a given image, the system must generate a caption that describes the contents of the image. Once you can detect objects in photographs and generate labels for those objects, you can see that the next step is to turn those labels into a coherent sentence description. Generally, the systems involve the use of very large convolutional neural networks for the object detection in the photographs and then a recurrent neural network (RNN) to turn the labels into a coherent sentence.
70
+
Like image recognition, in image captioning, for a given image, the system must generate a caption that describes the contents of the image. When you can detect and label objects in photographs, the next step is to turn those labels into descriptive, coherent sentences. Generally, image captioning systems use very large convolutional neural networks to detect objects in the photographs and then use a recurrent neural network (RNN) to turn the labels into coherent sentences.
65
71
66
72
### Machine translation
67
73
68
-
Machine translation takes words, phrases, or sentences from one language and automatically translates them into another language. Automatic machine translation has been around for a long time, but deep learning is achieving top results in two specific areas: automatic translation of text (and speech-to-text) and automatic translation of images. With the proper data transformation, a deep network is capable of understanding text, audio, and visual signals. Machine translation can be used to identify snippets of sound in larger audio files and transcribe the spoken word or image as text.
74
+
Machine translation takes words, phrases, or sentences from one language and automatically translates them into another language. Automatic machine translation has been around for a long time, but deep learning achieves impressive results in two specific areas: automatic translation of text (and translation of speech to text) and automatic translation of images.
75
+
76
+
With the proper data transformation, a deep network can understand text, audio, and visual signals. Machine translation can be used to identify snippets of sound in larger audio files and transcribe the spoken word or image as text.
69
77
70
78
### Text analytics
71
79
72
-
One important task that deep learning can perform is e-discovery. Companies are using deep learning-based text analytics for insider trading detection and government regulatory compliance. Hedge funds use text analytics to drill down into massive document repositories for obtaining insights into future investment performance and market sentiment. The use case for deep learning-based text analytics revolves around its ability to parse massive amounts of text data to perform analytics or yield aggregations.
80
+
One important task of deep learning is e-discovery. Companies use text analytics that are based on deep learning to detect insider trading and compliance with government regulations. Hedge funds use text analytics to drill down into massive document repositories to get insights into future investment performance and market sentiment. The use case for text analytics based on deep learning revolves around its ability to parse massive amounts of text data and perform analytics or yield aggregations.
73
81
74
-
## What are artificial neural networks?
82
+
## Artificial neural networks
75
83
76
-
Artificial neural networks are formed by layers of connected nodes. Deep learning models use neural networks with a very large number of layers. The most popular artificial neural network typologies are discussed below.
84
+
Artificial neural networks are formed by layers of connected nodes. Deep learning models use neural networks that have a large number of layers.
85
+
86
+
The following sections explore most popular artificial neural network typologies.
77
87
78
88
### Feedforward neural network
79
89
80
-
The feedforward neural network is the most basic type of artificial neural network, in which the information travels in only one direction from input layer to output layer. Feedforward neural networks transform an input by putting it through a series of hidden layers. Every layer is made up of a set of neurons, where each layer is fully connected to all neurons in the layer before. Finally, there is a last fully connected layer — the output layer — that represents the predictions generated.
90
+
The feedforward neural network is the most basic type of artificial neural network. In a feedforward network, information travels in only one direction from input layer to output layer. Feedforward neural networks transform an input by putting it through a series of hidden layers. Every layer is made up of a set of neurons, and each layer is fully connected to all neurons in the layer before. The last fully connected layer (the output layer) represents the generated predictions.
81
91
82
92
### Recurrent neural network
83
93
84
-
Recurrent neural networks are a more widely used type of artificial neural network, which works on the principle of saving the output of a layer and feeding it back to the input layer to help in predicting the outcome of the layer. These neural networks possess greater learning abilities and are widely employed for more complex tasks, such as learning handwriting or language recognition.
94
+
Recurrent neural networks are a widely used artificial neural network. These networks save the output of a layer and feed it back to the input layer to help predict the layer's outcome. Recurrent neural networks have great learning abilities. They're widely used for complex tasks such as learning handwriting and recognizing language.
85
95
86
96
### Convolutional neural networks
87
97
88
-
A convolutional neural network is a particularly effective type of artificial neural network, which presents a unique architecture. First, the layers are organized in three dimensions: width, height, and depth. Further, the neurons in one layer don't connect to all the neurons in the next layer, but only to a small region of it. Lastly, the final output will be reduced to a single vector of probability scores, organized along the depth dimension. These neural networks have been used in areas such as image recognition and classification.
98
+
A convolutional neural network is a particularly effective artificial neural network, and it presents a unique architecture. Layers are organized in three dimensions: width, height, and depth. The neurons in one layer connect not to all the neurons in the next layer, but only to a small region of the layer's neurons. The final output is reduced to a single vector of probability scores, organized along the depth dimension.
99
+
100
+
Convolutional neural networks have been used in areas such as image recognition and classification.
89
101
90
102
## Next steps
91
103
92
-
The following articles show you how to use deep learning technology on the [Azure Machine Learning service](/azure/machine-learning/service/):
104
+
The following articles show you how to use deep learning technology in the [Azure Machine Learning service](https://docs.microsoft.com/azure/machine-learning/service/?WT.mc_id=docs-article-lazzeri):
93
105
94
-
-[Classify handwritten digits with a TensorFlow model](how-to-train-tensorflow.md)
95
-
-[Classify handwritten digits with a TensorFlow estimator and Keras](how-to-train-keras.md)
96
-
-[Classify images with a Pytorch model](how-to-train-pytorch.md)
97
-
-[Classify handwritten digits with a Chainer model](how-to-train-pytorch.md)
106
+
-[Classify handwritten digits by using a TensorFlow model](https://docs.microsoft.com/azure/machine-learning/service/how-to-train-tensorflow?WT.mc_id=docs-article-lazzeri)
107
+
-[Classify handwritten digits by using a TensorFlow estimator and Keras](https://docs.microsoft.com/azure/machine-learning/service/how-to-train-keras?WT.mc_id=docs-article-lazzeri)
108
+
-[Classify images by using a Pytorch model](https://docs.microsoft.com/azure/machine-learning/service/how-to-train-pytorch?WT.mc_id=docs-article-lazzeri)
109
+
-[Classify handwritten digits by using a Chainer model](https://docs.microsoft.com/en-us/azure/machine-learning/service/how-to-train-chainer?WT.mc_id=docs-article-lazzeri)
0 commit comments