Department of Computer Science & Engineering Session 2020-2021
Department of Computer Science & Engineering Session 2020-2021
TULSIRAMJI GAIKWAD-PATIL
College of Engineering & Technology
Reference Books:
Introduction to Artificial Intelligence – Charniak (Pearson
Education)
P re
sen
Neh ted b
a M y:-
ogr
e
What is Intelligence???
Intelligence is the ability to learn
about, to learn from, to understand
about, and interact with one’s
environment.
• Artificial Neurons
(Artificial Neural
Network)
And
• Scientific theorems(If-
Then Statements, Logics)
Turing Test
Imitation Game Test!!!!
Agent Percepts
Sensors
Environment
?
Actions
Actuators
12 03/06/22
Examples Of Artificial Intelligence
Expert Systems!!
PUFF:
Medical system
for diagnosis of respiratory
conditions
PROSPECTOR:
Used by geologists to identify
sites for drilling or mining
Applications of Expert Systems
ARTIFICIAL INTELLIGENCE
WHAT IS INTELLIGENECE
DEFINITION
It is the study of how to make computers do things which, at the
moment, people do better.
This defination is somewhat ephemeral because of its reference
to the current state of computer science.
What are the problems contained within AI?
•Much of early work focused
on formal task such as game
playing and theorem proving.
CHAPTER III
HEURISTIC SEARCH
TECHNIQUES
GENERATE AND TEST
HILL CLIMBING
State-space Model
the agent’s model of the world
usually a set of discrete states
e.g., in driving, the states in the model could be towns/cities
Goal State(s)
a goal is defined as a desirable state for an agent
there may be many states which satisfy the goal test
e.g., drive to a town with a ski-resort
or just one state which satisfies the goal
e.g., drive to Mammoth
Static / Dynamic
Previous problem was static: no attention to changes in environment
Observable / Partially Observable / Unobservable
Previous problem was observable: it knew its initial state.
Deterministic / Stochastic
Previous problem was deterministic: no new percepts
were necessary, we can predict the future perfectly
Discrete / continuous
Previous problem was discrete: we can enumerate all possibilities
State-Space
Problem Formulation
A problem is defined by four items:
A solution consists of
a sequence of operators which transform S into a goal state G
A A Move (x,y)
B C
C B
Operator Description
The state-space graph
Graphs:
nodes, arcs, directed arcs, paths
Search graphs:
States are nodes
operators are directed arcs
solution is a path from start to goal
Problem formulation:
Give an abstract description of states, operators, initial state and goal
state.
Problem solving activity:
Generate a part of the search space that contains a solution
The Traveling Salesperson Problem
(a touring problem)
Find the shortest tour that visits all cities without visiting
any city twice and return to starting point.
States: sequence of cities visited
S0 = A C
B
A D
F
SG = a complete tour E
{a, c, d } {( a, c, d , x) | X a, c, d }
Example: 8-queen problem
Example: 8-Queens
1 2 3
4 5 6
7 8
1 2 3
4 5 6
7 8
Goal State
Formulating Problems;
another angle
Problem types
Satisficing: 8-queen
Optimizing: Traveling salesperson
Object sought
board configuration,
sequence of moves
A strategy (contingency plan)
Semi-optimizing:
Find a good solution
Systematic search
Do not leave any stone unturned
Efficiency
Do not turn any stone more than once
Tree search example
State space of the 8 puzzle problem
Why Search can be difficult
At the start of the search, the search algorithm does not know
the size of the tree
the shape of the tree
the depth of the goal states
Examples:
b = 2, d = 10: bd = 210= 1024
b = 10, d = 10: bd = 1010= 10,000,000,000
Ahead
Go e s ti on
u
With Q