You are on page 1of 69

Artificial Intelligence

Dr. Akram Alkouz

11/16/21
2

Agenda
• Why and What is AI
• History
• Current Status
• Challenges of AI
• Future of AI
• Applications with AI
• AI in UAE
• Opened Discussion
3

Why AI?
4th Industrial Revolution
4

What is AI?
The power of a machine to copy the intelligent of human behavior
5

What is AI?
Artificial intelligence is nothing but a computer program. Using artificial
intelligence machines learns from the surrounding and thinks on their
own. It is not like writing a program and getting an output.
6

What is AI?
Examples:

Smart Assistant
Manufacturing Robots

Social Media Monitoring

Automated Financial Investing

Proactive Health care Managements


7

What is AI?
AI Examples in Real life:
Google’s AI Powered Prediction
By using location data from smart
phones traffic at any place and at
any time can be found out .

Ride Sharing Apps


Apps like UBER uses AI technique to find
out the wait time of the cab after booking,
price for the ride etc.

Banking/Finance
Banks offers a ability to deposit checks
through smart phones by using AI means.
This helps to eliminate the customer to
physically present in the branch and deposit
the cheque.
Social Networking Sites
Social sites like Facebook uses AI technique
in personalising one’s news feed, Displaying
ads relevant to their interest and so on.
‫‪8‬‬

‫?‪What is AI‬‬
‫‪Computers versus humans‬‬

‫ذكاء االنسان‬
‫فـــمـ اـالشياء وـتـعلمهـا ‪-‬‬
‫اــدرـة على ه‬
‫لقـ‬
‫اـالدراـك ‪-‬‬ ‫لاــحسو اـالستنتاج ‪ ,‬اـالستنباط ‪ ,‬لاــتحليل‪,‬‬
9

What is AI?
Computers versus humans
A computer can do some things better than a human can
Adding a thousand four-digit numbers
Drawing complex, 3D images
Store and retrieve massive amounts of data

However, there are things humans can do much better.


‫‪10‬‬

‫?‪What is AI‬‬
‫القدرة على التعلم واكتساب المعلومات بسرعة‬ ‫•‬
‫القدرة على اتخاذ القرارات الصحيحة بناء على االدراك الحسي‬ ‫•‬
‫والعقلي لجوانب المشكلة‪،‬‬
‫القدرة على اكتشاف االخطاء وتصحيحها‪،‬‬ ‫•‬
‫نقل التجربة والخبرة الذاتية الى مواقف جديدة‪،‬‬ ‫•‬
‫التمييز بين انواع المعرفة المختلفة (المعرفة الضمنية والمعرفة‬ ‫•‬
‫الصريحة)‪،‬‬
‫القدرات والمهارات بالفطرة‪.‬‬ ‫•‬
11

What is AI?
A computer would have difficulty identifying the cat, or matching it to
another picture of a cat.
12

What is AI?
A computer would have difficulty identifying the difference in meaning
between bank and the bank in the following sentences:
I set on the bank waiting the teller in the bank near the river bank.
‫ مر‬r‫مر علي‬
‫مساعد مساعد مدير الهيئة‬
‫الشيخ زايد زايد بافعالة‬
13

What is AI?
Computer or Human?
Which of the following occupations could (or should) be performed by computers?
Postman
Bookstore clerk
Librarian
Doctor
Lawyer
Judge
Professor
14

What is AI?
The Turing Test 1950 (can machine think?)
15

History
The Birthplace of “Artificial Intelligence”, 1956
Darmouth workshop, 1956: historical meeting of the perceived founders
of AI met: John McCarthy, Marvin Minsky, Alan Newell, and Herbert
Simon.
16

History
The evolution of AI
17

Current Status

Artificial Intelligence
18

Current Status

Artificial Intelligence
19

Impact of AI

Artificial Intelligence
20

Impact of AI
Robots & Applications with AI

Assembly Packaging
It is used in complex manufacturing It helps to reduce the cost, make accurate
sectors like aerospace. packing and do the packing quicker.

Customer Service Open Source Robotics


They are employed in customer services In open source, users can feed the robots
in retail stores and in hotels. with the data of specific task required.
21

Advantages of AI

High precision, accuracy, speed. Low error compared to humans.

They can work in tasks that are CONTENTS They can work 24*7.
dangerous to humans. TITLE

They can be employed in repetitive They are used in day to day


and boring kind of jobs. applications.
22

Disadvantages of AI

Since they are replacing humans Cost of creation is very high. If any error occurs it is very
in many fields there is a chance difficult to rectify it.
of huge unemployment.
23

Fields of AI
24

Types of AI
25
Machine Learning Applications

Applications of AI
26
Machine Learning Applications
27

Types of AI
28

Traditional Programming vs Machine Learning


29

Machine Learning vs Deep Learning


30

Machine Learning vs Deep Learning


31

Machine Learning vs Deep Learning


Why Deep Learning Now?
Big Data
Advances in Algorithms
Advances in Hardware
32

Data Science
Data Science uses statistical learning algorithms (Machine learning) to extract
intelligence from the data.
33

Data Science
Evolution of Data Science

1990’s 2000’s 2015 and


beyond

What What’s What Will How Can we


Happened? Happening? Happen? Make it
Happen?

Descriptive Diagnostic Predictive Perspective


Analytics Analytics Analytics Analytics
34

Data Science
AI, DS and Big Data
35

Data Science
Phases
36

Data Science
Business Understanding
37

Data Science
Business Understanding
Project objective?
Business sponsors play the most critical role
What are we trying to do – what is the goal? •
How do you define “success” and how can you measure it?
38

Data Science
Business Understanding
Traffic: Problem:
Traffic congestion wastes time and money Clear question:
How can we optimize traffic light duration using data on traffic patterns,
weather, and pedestrian traffic?
Measurable outcomes:
- % decrease in commute time
- % decrease in length/duration of traffic jams
39

Data Science
Data Understanding
40

Data Science
Data Understanding
Getting the dataset
Importing the necessary Libraries
Importing the Dataset
Exploring the Data set
Nan, NaT, NA, None
41

Data Science
Data Understanding
Understand the problem. We'll look at each variable and do a
philosophical analysis about their meaning and importance for this
problem.
Univariable study. We'll just focus on the dependent variable
('SalePrice') and try to know a little bit more about it.
Multivariate study. We'll try to understand how the dependent
variable and independent variables relate.
Outliers
42

Data Science
Data Preparation
43

Data Science
Data Preparation
Missing Data
Categorical Data
Splitting Data Set into Training Set and Testing Set
Features Scaling
Some python tricks
44

Data Science
Data Preparation
Numpy
Pandas
Matplotlib
45

Data Science
Missing data strategies
Delete the lines with missed data????????????????
The mean of the column
The STD
The most Frequent
Fill forward
Fill backward
46

Data Science
Categorical variables:
Country: France, Germany and Spain
Purchased: Yes and No
ML/DL only deals with numbers
Encoding
Relational order problem
Dummy variables
47

Data Science
Dummy variables
48

Data Science
Splitting Data into Training and Test Sets
20%
25%
30%
49

Data Science
Feature Scaling
Usually variables are in different scales Country Age Salary Purchased
Age and Salary are examples France 44 72000 No
Spain 27 48000 Yes
Germany 30 54000 No
Spain 38 61000 No
Germany 40 Yes
France 35 58000 Yes
Spain 52000 No
France 48 79000 Yes
Germany 50 83000 No
France 37 67000 Yes
50

Data Science
Feature Scaling
Usually variables are in different scales Country Age Salary Purchased
Age and Salary are examples France 44 72000 No

Solution: Spain
Germany
27
30
48000
54000
Yes
No
Scale the variables in the same range Spain 38 61000 No
so that no variable is dominated by Germany 40 Yes
France 35 58000 Yes
the other
Spain 52000 No
France 48 79000 Yes
Germany 50 83000 No
France 37 67000 Yes
51

Data Science
Modeling
52

Data Science Constant


Coefficient

Modeling  Linear Regression

Y = b0 + b1 *
X1
Dependent Variable

Independent Variable
53

Data Science
Salary $
Modeling  Linear Regression

Y = b0 + b1 * X1

Experience
54

Data Science
Salary $
Modeling  Linear Regression

Y = b0 + b1 * X1

Experience
55

Data Science
Salary $
Modeling  Linear Regression

Y = b0 + b1 * X1

Salary = b0 + b1 * Experience

Experience
56

Data Science
Salary $
Modeling  Linear Regression

Y = b0 + b1 * X1
t line
i
est f
B

Salary = b0 + b1 * Experience

Experience
57

Data Science yi
Salary $
Modeling  Linear Regression

yi^
it line
s tf
Be

  Sum  min

Experience
58

Data Science
Evaluation  Confusion Matrix
59

Data Science
Evaluation  Confusion Matrix

• Show the correct and the incorrect predictions


• Correct
• Incorrect
65 3
8 24
60

Data Science
Evaluation  Confusion Matrix

• Show the correct and the incorrect predictions


• Correct
• Incorrect
61

UAE National Strategy for Artificial Intelligence


2031
62

UAE National Strategy for Artificial Intelligence


2031

• Strategies:
• Build a reputation as an AI destination.
• Increase the UAE competitive assets in priority sectors
through deployment of AI.
• Develop a fertile ecosystem for AI.
• Adopt AI across customer services to improve lives and
government.
• Attract and train talent for future jobs enabled by AI.
• Bring world-leading research capability to work with
target industries.
• Provide the data and supporting infrastructure essential
to become a test bed for AI.
• Ensure strong governance and effective regulation.
63

UAE National Strategy for Artificial Intelligence


2031

• Objective:
64

Projects
65

Projects
66

Projects

https://www.tahaluf.ae/ar/
67

Demo
https://quickdraw.withgoogle.com/#
68

Discussion
Thank You

800 MyHCT (800 69428) www.hct.ac.ae

You might also like