Artificial Intelligence, Machine Learning, and Deep Learning — What the Difference?

栏目: IT技术 · 发布时间: 3年前

Artificial Intelligence, Machine Learning, and Deep Learning — What the Difference?

Simple explanations of Artificial Intelligence, Machine Learning, and Deep Learning and how they’re all different

Artificial Intelligence, Machine Learning, and Deep Learning — What the Difference?

Photo by NeONBRAND on Unsplash

Artificial intelligence is the new electricity — Andrew Ng

Electricity has changed how the world operated. It changes transportation, manufacturing, agriculture, and even health care. For example, before the invention of electric lighting, humans were limited to daytime activities, because at night it was dark, only people who could afford gas lamps could do activities. Compared to now, we can still do activities at night because it is illuminated by electric lights.

Likewise with Artificial Intelligence (AI). AI is expected to have a similar effect . A concrete example that we can take today is the advertising problem. Previously, the ads that appeared were determined manually by humans. Now, advertisements that appear are determined by AI, based on the user profile data. For example, if the user likes fashion then what might appear is a clothing advertisement.

As technology advances, research in the field of AI is also growing, so the previous benchmarks that define Artificial Intelligence (AI) are now becoming obsolete.

From this development came new terms such as machine learning and deep learning. But sometimes, there are slices between AI, machine learning, and deep learning, so the difference between them can be very unclear. So in this post, I’ll give a quick explanation of what AI, machine learning, and deep learning mean and how they are different.

Let’s start with this image.

Artificial Intelligence, Machine Learning, and Deep Learning — What the Difference?

Artificial intelligence, machine learning, and deep learning

When viewed from the picture we get a little picture that machine learning is part of AI and deep learning is part of machine learning. However, some people argue that AI and machine learning are separate. However, in this article, I will be in the argument that machine learning is part of AI. For more details, let’s be more clear about what is AI.

Artificial Intelligence

Artificial Intelligence, Machine Learning, and Deep Learning — What the Difference?

Photo by Franck V. on Unsplash

AI has been studied for decades and is still one of the most difficult subjects to understand in Computer Science. This is partly because of how large and vague the subject is. This has applications in almost every way we use computers in society. AI is anything that refers to the Simulation of Human Intelligence in machines that are programmed to think like humans and imitate their actions.

The term artificial intelligence was first coined by John McCarthy in 1956 when he held his first academic conference on the subject. Although, the journey to understanding if a machine can really think begins long before that.

AI typically analyzes its environment and takes actions that maximize its chances of success . In early days, approaches to AI are such as formal logic and expert systems. These methods dominated AI at the time.

However, as the development of computational power, greater emphasis on solving specific problems, and also there are new ties between AI and other fields. And one method that rises by the effect of this is learning or we will called it machine learning.

Machine Learning

Artificial Intelligence, Machine Learning, and Deep Learning — What the Difference?

Photo by Mario Gogh on Unsplash

In accordance with the words, machine learning means machines that learn from data. Machine Learning mimics the concept of human learning from childhood to adulthood. For example, if a baby is taught to distinguish between dogs and cats, they will be given pictures of dogs and cats, as well as machines, if you want to make a machine learning we must provide knowledge to machines about dogs and cats. And the more pictures that are given the smarter the machine is to distinguish between cats and dogs.

Artificial Intelligence, Machine Learning, and Deep Learning — What the Difference?

Image detection — Source: Pixabay ( https://www.pexels.com/photo/kitten-cat-rush-lucky-cat-45170/ )

Machine learning is closely related to computational statistics, which focus on making predictions. Data mining is also related to this study, which focuses on exploratory data analysis through unsupervised learning.

In machine learning, there are several types of algorithms used and are grouped based on the expected input and output of the algorithm.

Supervised Learning

Supervised learning create functions that map an input to the desired output, for example in classification. It observed patterns of data and converts them into model to predict future data. For more details, we see this example.

Artificial Intelligence, Machine Learning, and Deep Learning — What the Difference?

Classification example

It can be seen from the illustration above that at first we only had data with the cross and round classes. Then we have new data, triangle. The new data is then predicted based on models that have been previously trained. Because the new data has similarities to the cross classes, these data are classified into cross classes.

An example of a method that is included in supervised learning is neural network, kNN, decision trees, naïve bayes, SVM, etc.

Unsupervised Learning

Unsupervised learning models the input set, such as clustering. Unlike the classification that each data has a class. Clustering works by grouping similar data.

Artificial Intelligence, Machine Learning, and Deep Learning — What the Difference?

Clustering example

From the illustration above it can be seen that at first, we have a set of data, then the data is grouped into certain groups based on the similarity of the data with other data.

An example of a method that is included in supervised learning is k-means, DBSCAN, etc.

Reinforcement Learning

Reinforcement learning is a learning algorithm that is applied to intelligent agents so that they can adjust to the conditions in their environment, this is achieved by maximizing the value of the ‘reward’ prize that can be achieved. This type teaches how to act to deal with a problem, an action that has an impact.

The most common example is a self-driving car, the machine is asked to avoid collisions or violations. If an accident or violation occurs, then the machine will be given a negative reward, if the machine does it right, it will be given a positive value. From there the machine will learn to drive a car.

From some of the explanations above, maybe we already understand what is machine learning. Where machine learning focuses on predicting future events based on existing data in the past.

Today, almost all industries in the AI ​​field focus on developing machine learning, such as sentiment analytics, image recognition, etc. This is based on the rapid development of machine learning today.

However, the methods mentioned above still have weaknesses, one of which is not optimal for complex data. Therefore, in the next section, I will discuss the next level of machine learning that is deep learning.

Deep Learning

Artificial Intelligence, Machine Learning, and Deep Learning — What the Difference?

Photo by Josh Riemer on Unsplash

Deep learning is machine learning algorithms based on learning multiple levels (i.e deep) of representation/abstraction inspired by the structure and function of the brain called artificial neural networks . Basically deep learning is a large neural network.

You might ask, how many layers are needed in order to qualify as deep? There is no definite answer to this, but usually having two or more hidden layers counts as deep. The “deep” term itself was introduced by Geoffrey Hinton in his paper entitled “ A Fast Learning Algorithm for Deep Belief Nets ” to explain the development of large artificial neural networks.

One reason why new deep learning is emerging now is that there are already Faster machines and multicore CPUs / GPUs added with faster & open distributed systems (Hadoop, Spark, etc).

The advantages of deep learning compared to traditional machine learning methods are being able to handle large numbers of datasets, as well as reducing human intervention in modeling.

AI Research Director on Facebook, Yann LeCun , gave a speech entitled “ Convolutional Networks: Unleashing the Potential of Machine Learning for Strong Perception Systems ”, why deep learning is called deep is because it has several stages to recognize an object and all of that is part of the training. The difference between deep learning and traditional machine learning can be seen in the following picture.

Artificial Intelligence, Machine Learning, and Deep Learning — What the Difference?

Learning Hierarchical Representations — Inspired by https://www.slideshare.net/embeddedvision/01-am-keynotelecun — Cat image by Pixabay ( https://www.pexels.com/photo/animal-pet-cute-kitten-45201/ )

When using traditional machine learning, feature extraction is often not enough, we often add mid-level features. But this is not enough to represent the data and often this part is trained by unsupervised learning. Basically, it just capturing statistical data without doing much. With deep learning, it replaced by module pipeline and its trainable. But there is a price to pay for this, which is a lot of computing and requires a lot of data.

There are many methods in deep learning, such as Convolutional Neural Network (CNN), Long Short Term Memory (LSTM), etc. If you are interested in knowing about neural network architecture, you can visit the link below.

The following are examples of the application of deep learning.

  • Self-driving car
  • Machine translation
  • Image colorization

If you are interested in a better understanding of neural networks, you can try using a Tensorflow playground.


以上就是本文的全部内容,希望对大家的学习有所帮助,也希望大家多多支持 码农网

查看所有标签

猜你喜欢:

本站部分资源来源于网络,本站转载出于传递更多信息之目的,版权归原作者或者来源机构所有,如转载稿涉及版权问题,请联系我们

程序员的自我修养

程序员的自我修养

俞甲子、石凡、潘爱民 / 电子工业出版社 / 2009-4 / 65.00

这本书主要介绍系统软件的运行机制和原理,涉及在Windows和Linux两个系统平台上,一个应用程序在编译、链接和运行时刻所发生的各种事项,包括:代码指令是如何保存的,库文件如何与应用程序代码静态链接,应用程序如何被装载到内存中并开始运行,动态链接如何实现,C/C++运行库的工作原理,以及操作系统提供的系统服务是如何被调用的。每个技术专题都配备了大量图、表和代码实例,力求将复杂的机制以简洁的形式表......一起来看看 《程序员的自我修养》 这本书的介绍吧!

HTML 编码/解码
HTML 编码/解码

HTML 编码/解码

Base64 编码/解码
Base64 编码/解码

Base64 编码/解码

MD5 加密
MD5 加密

MD5 加密工具