Professional Documents
Culture Documents
Unit 1 AI
Unit 1 AI
Unit 1 AI
Unit 1 – Introduction to AI
We need AI to help us manage in an increasingly demanding, highly complex world. AI can automate certain
tasks to save manpower and potentially increase productivity and accuracy. However, the capabilities of AI
are sometimes exaggerated. To truly understand AI, we need to know what it can and cannot do.
For example, AI can play chess, generate news reports, predict the needs of customers, process human
languages, create poems, and more. At the same time, however, AI in its current state cannot make moral
judgments, have empathy, feel emotions, or exercise free will.
Before the game starts, in step 1, AI needs to collect data of images of the gestures for “rock”, “paper” and
“scissors”. In step 2, a model is trained to classify any image as one of these three gestures. In step 3, human
can show any hand gesture to the camera. AI will recognize this gesture and choose a gesture that wins this
gesture from the human player.
9
10
Please click on the link below or scan the QR code to see how to build an AI
system to simulate human intelligence.
Training AI to play “Rock-paper-scissors” with humans
In the previous paragraph, we mentioned the term machine learning and the term deep learning. Machine
learning is a subfield of AI, with the aim to automatically “learn” models from data and use these models to
perform tasks which requires “intelligence”. Deep learning is a subfield of machine learning, with the aim of
using a kind of algorithm known as artificial neural networks to “learn” models from data. The neural
networks have many layers and therefore they are described as “deep”. People frequently use the term “AI”
to refer to machine learning or deep learning, because recent advancements in machine learning with deep
neural networks has made it one of the most popular approaches in AI.
10
11
Figure 1.4: Which applications have incorporated AI technologies? And which ones have not?
AI Technologies?
Reason(s)
(✓/✗)
✗ Not applied in normal security checkpoints with X-ray and human
(e.g.) or operators.
A ✓ or
Applied in the new security checkpoint machines, which employs
computer vision technologies for object detection.
B X
RFID tags use radio waves to transmit ID information to RFID readers.
calculator
by logical gates It
Calculations scientific
by are executed . is a human
C X
a
machine used of
operated
only for mathematics. (with the exception programmabla
D v Computer vision technologies are used in self-driving to recognise cars
inputs d generate
recommender
an
responses
recommendation
to the
which
user
.
recommend based
Song is a
system can
songs
F
~ On the user's interaction
history
.
G
~ computer techniques used to detect faces in
vision are
images .
H
X A SD printer is conceptually like an inkjet printer
but it
prints out 3D 3D printers interface
objects .
can
E-commerce
Smart phones
Social networking
websites
Robots
Task 4: Limitations of AI
While AI can help humans solve many problems and make our daily lives more convenient, related
technologies have their limitations. AI technologies sometimes do not work as expected!
For each example in the table below, describe how AI may not work as expected and explain the possible
reason(s).
.
response
limitations
Dark environment user's needs information
The
regest
that is
beyond the knowledge
(i e out
requestem
of the , an
.
scope
of- domain
confused by hairstyles ,
hats ,
glasses etc
,
.
12
13
What is AI?
AI refers to the technologies that enable computers or machines to simulate human intelligence.
Some aspects of AI:
AI enables computers or machines to communicate with human language, form concepts, self-learn and
self-improve, as well as simulate human logic in solving problems. With continuous technological
advancements, AI is rapidly developing in many ways.
Does AI always work as expected?
No. AI technologies are not fool-proof, and we must be aware of their limitations.
13
14
Machine learning is a branch of AI that studies how computer systems can learn from data to perform tasks
which require intelligence. By enabling computers to learn from data, machine learning systems can carry
out complex processes automatically, rather than following pre-programmed rules.
Figure 1.6 shows the process of machine learning. The training dataset contains many data samples. Each
sample consists of an input and its correct label for a specific task. The data samples are fed into the model
to generate an output label. The output label will be compared with the reference (correct label) to see if the
generated output is correct or not. If there is an error, then the algorithm will learn to reduce the error by
updating the model and this training continues until an optimal model (M*) with minimum error is obtained.
We can use this trained model to process new input data (that the model has not seen before).
14
15
Components of AI Functions
15
16
Components of AI Functions
Big data
Machine learning
Cloud computing
16
17
The definition of AI is the ability of computers and machines to simulate the natural intelligence of humans.
AI today is empowered by big data, machine learning and cloud computing, and the technologies will continue
to evolve.
Big data – Massive amounts of data and information that can be used for AI model training and testing.
Machine learning – Algorithms that produce models for input processing and output generation, which
enable the AI system to learn and improve automatically from data processing. This produces a trained
model that can be used to perform tasks on new data that it has never been seen before.
Cloud computing – Computational resources to support AI technologies.
17