Académique Documents
Professionnel Documents
Culture Documents
Artificial Intelligence
ECE 434
If human beings can think then why not
machines?
If machines If machines
can think, How? can not think, Why?
2
3
Artificial + Intelligent
What is artificial intelligence?
4
Artificial :
o Fake, not real , man made
Intelligence:
the capacity to learn and solve problems
In particular,
VIDEOS\KISMET ROBOT.mp4
VIDEOS\ASIMO.mp4
where,
Banks
automatic check readers, signature verification systems
automated loan application classification
Customer Service
automatic voice recognition
The Web
Identifying your age, gender, location, from your Web surfing
Automated fraud detection
Database information
Digital Cameras
Automated face detection and focusing
Computer Games
Intelligent characters/agents
VIDEOS\HUMAN ROBOT.mp4
VIDEOS\Maximum Automation - The End of the Labor System.mp4
Stanley Robot in Stanford Racing Team
11
Robot holding the Bulb
12
Factory Automation with industrial robots
13
Foundations of AI
14
Computer
Science &
Mathematics Engineering Philosophy
Biology
Economics
AI
Linguistics
Psychology
Cognitive
Science
15
History of AI
Psychologists strengthened the idea that human can be considered as
information processing machines.
Mathematician provided tools to manipulate certain or uncertain.
logical statements of certainty .
The birth of AI (1943 1956)
Pitts and McCulloch (1943): simplified mathematical model of
neurons
synapse axon
nucleus
cell body
dendrites
16
Basic Components of Biological Neurons
1.The majority of neurons encode their activations or outputs as a
series of brief electrical pulses (i.e. spikes or action potentials).
2. The neurons cell body (soma) processes the incoming
activations and converts them into output activations.
3. The neurons nucleus contains the genetic material in the form of
DNA. This exists in most types of cells, not just neurons.
4. Dendrites are fibres which emanate from the cell body and
provide the receptive zones that receive activation from other neurons.
5. Axons are fibres acting as transmission lines that send
activation to other neurons.
6. The junctions that allow signal transmission between the axons and
dendrites are called synapses.
The McCulloch-Pitts Perceptron Model
The Neuron Model
U is Weighted Sum
M denotes the number of Inputs
Xi are inputs to neuron
Wi are the weights
Early enthusiasm (1952 1969)
1956 Dartmouth conference
1957,Alan Newell and Herbert Simon (GPS)General Problem
Solver(related to common sense, GPS as a universal problem solver
machine. For Instance: theorems proof, geometric problems
and chess playing);
1958,John McCarthy (Lisp)LISt processing language(logical
programming);
Imitation Game
Human
Human Interrogator
AI System
Turing Test(cont..)
23
Use of generalization
X X
o
Introductory Problem: Tic-Tac-Toe(1)
35
Program 1:
Data Structures:
Board: 9 element vector representing the board, with 1-9 for each square. An
element contains the value 0 if it is blank, 1 if it is filled by X, or 2 if it is filled
with a O
Move-Table: A large vector of 19,683 elements ( 3^9), each element is 9-
element vector.
1 000000001 020000001
2 000000010 000000012
3
Introductory Problem: Tic-Tac-Toe(1)
36
Comments:
This program is very inefficient in time.
1 2 3
4 5 6
7 8 9
Introductory Problem: Tic-Tac-Toe(2)
38
Program 2:
Data Structure: A nine element vector representing the board.
But instead of using 0,1 and 2 in each element, we store
2 for blank
3 for X
5 for O
Functions:
o Go(n): Makes a move in the square n
o Make_2: helps computer to make two valid moves.
o Posswin(p): Returns 0 if the player p cannot win on his next move;
otherwise it returns the number of the square that constitutes a
winning move.
If the product is 18 (3x3x2), then X can win. If the product is 50
( 5x5x2) then O can win.
Introductory Problem: Tic-Tac-Toe(2)
39
C Plays X , H Plays O
8 1 6
3 5 7
4 9 2
New appraoch
43
Make a list, for each player , of the squares in which he/she has played.
Consider each pair of square owned by that player