




























































































Estude fácil! Tem muito documento disponível na Docsity
Ganhe pontos ajudando outros esrudantes ou compre um plano Premium
Prepare-se para as provas
Estude fácil! Tem muito documento disponível na Docsity
Prepare-se para as provas com trabalhos de outros alunos como você, aqui na Docsity
Encontra documentos específicos para os exames da tua universidade
Prepare-se com as videoaulas e exercícios resolvidos criados a partir da grade da sua Universidade
Responda perguntas de provas passadas e avalie sua preparação.
Ganhe pontos para baixar
Ganhe pontos ajudando outros esrudantes ou compre um plano Premium
O principal objetivo dos sistemas de IA, é executar funções que, caso um ser humano fosse executar, seriam consideradas inteligentes. É um conceito amplo, e que recebe
Tipologia: Trabalhos
1 / 272
Esta página não é visível na pré-visualização
Não perca as partes importantes!





























































































UNIT I Introduction and Problem Solving I 9
Artificial Intelligence: Definition-Turing Test-Relation with other Disciplines-History of AI
Applications- Agent: Intelligent Agent-Rational Agent - Nature of Environments-Structure of Agent.-Problem Solving Agent - Problems: Toy Problems and Real-world Problems-Uninformed Search Strategies: BFS, DFS, DLS, IDS, Bidirectional Search -Comparison of uninformed search
strategies.
UNIT II Problem Solving II: 9 Informed Search Strategies-Greedy best-first search-A search-Heuristic functions-Local search*
Algorithms and Optimization problems - Online Search Agent-Constraint Satisfaction Problems- Backtracking Search for CSP’s –Local Search for Constraint Satisfaction Problems-Structure of
Problems -Adversarial Search-Optimal Decision in Games-Alpha-Beta Pruning-Imperfect Real Time Decisions-Games that Include an Element of Chance.
UNIT III Knowledge Representation 9
First-Order Logic-Syntax and Semantics of First-Order-Logic-Using First-Order-Logic-Knowledge Engineering in First-Order-Logic.- Inference in First-Order-Logic- Inference rules-Unification and
Lifting-Forward Chaining-Backward Chaining-Resolution.
UNIT IV Learning 9
Learning from Observations- Forms of Learning-Learning Decision – Ensemble Learning - A Logical
Formulation of Learning-Knowledge in Learning-Explanation Based Learning-Learning using Relevance Information-Inductive Logic Programming.
UNIT V Applications 9
Communication – Communication as action -A formal grammar for a fragment of English – Syntactic Analysis – Augmented Grammars – Semantic Interpretation – Ambiguity and
Disambiguation – Discourse Understanding – Grammar Induction. Perception – Image Formation – Early Image Processing Operations – Extracting Three Dimensional
Information – Object Recognition – Using Vision for Manipulation and Navigation. Total:
1. Stuart Russell, Peter Norvig, “Artificial Intelligence – A Modern Approach”, 3rd^ Edition, Pearson
Education / Prentice Hall of India 2010(yet to be published).
2. Nils J. Nilsson, “Artificial Intelligence: A new Synthesis”, Harcourt Asia Pvt. Ltd,2003.
REFERENCES:
1. Elaine Rich and Kevin Knight, “Artificial Intelligence”, 2nd Edition, Tata McGraw-
Hill, 2003.
2. Patrick Henry Winston, “Artificial Intelligence”, Pearson Education / PHI, 2004.
Knowledge representation: to store what it knows or hears Automated reasoning: to use the stored information to answer questions and to draw new conclusions Machine learning: to adapt to new circumstances and to detect and extrapolate patterns.
To pass the total Turing test, the computer will need,
Computer vision: to perceive objects Robotics: to manipulate objects and move about
Acting humanly
"If it looks, walks, and quacks like a duck, then it is a duck”
The Turing Test
Interrogator communicates by typing at a terminal with TWO other agents. The human can say and ask whatever s/he likes, in natural language. If the human cannot decide which of the two agents is a human and which is a computer, then the computer has achieved AI
this is an OPERATIONAL definition of intelligence, i.e., one that gives an algorithm for testing objectively whether the definition is satisfied
Thinking humanly: cognitive modeling
Develop a precise theory of mind, through experimentation and introspection, then write a computer program that implements it
Example: GPS - General Problem Solver (Newell and Simon, 1961)
trying to model the human process of problem solving in general
Thinking Rationally- The laws of thought approach
Capture ``correct'' reasoning processes”
A loose definition of rational thinking: Irrefutable reasoning process
How do we do this
Develop a formal model of reasoning (formal logic) that “always” leads to the “right” answer
Implement this model
How do we know when we've got it right?
when we can prove that the results of the programmed reasoning are correct
soundness and completeness of first-order logic
Example:
Ram is a student of III year CSE. All students are good in III year CSE.
Ram is a good student.
Acting Rationally
Act so that desired goals are achieved
The rational agent approach (this is what we’ll focus on in this course)
Figure out how to make correct decisions, which sometimes means thinking rationally and other times means having rational reflexes
correct inference versus rationality
reasoning versus acting; limited rationality
Agent : entity in a program or environment capable of generating action.
An agent uses perception of the environment to make decisions about actions to take.
The perception capability is usually called a sensor.
The actions can depend on the most recent perception or on the entire history (percept sequence).
An agent is anything that can be viewed as perceiving its environment through sensors and acting upon the environment through actuators.
Ex: Robotic agent
Human agent
Sensors
Agents interact with environment through sensors and actuators.
Percept sequence action
[A, clean] right
[A, dirt] suck
[B, clean] left
[B, dirty] suck
[A, clean], [A, clean] right
[A, clean], [A, dirty] suck
Fig: practical tabulation of a simple agent function for the vacuum cleaner world
The agent function is a mathematical function that maps a sequence of perceptions into action.
The function is implemented as the agent program.
The part of the agent taking an action is called an actuator.
environment sensors agent function actuators environment
A (^) B
Autonomy : the capacity to compensate for partial or incorrect prior knowledge (usually by learning).
Task environment – the problem that the agent is a solution to.
Includes
Performance measure
Environment
Actuator
Sensors
Agent Type Performance Measures
Environment Actuators Sensors
Taxi Driver Safe, Fast, Legal, Comfort, Maximize Profits
Roads, other traffic, pedestrians, customers
Steering, accelerators, brake, signal, horn
Camera, sonar, GPS, Speedometer, keyboard, etc
Medical diagnosis system
Healthy patient, minimize costs, lawsuits
Patient, hospital, staff
Screen display (questions, tests, diagnoses, treatments, referrals)
Keyboard (entry of symptoms, findings, patient's answers)
Partially Observable:
Ex: Automated taxi cannot see what other devices are thinking.
Stochastic:
Ex: taxi driving is clearly stochastic in this sense, because one can never predict the behavior of the traffic exactly.
Semi dynamic:
If the environment does not change for some time, then it changes due to agent’s performance is called semi dynamic environment.
Single Agent Vs multi agent:
An agent solving a cross word puzzle by itself is clearly in a single agent environment.
An agent playing chess is in a two agent environment.
Example of Task Environments and Their Classes
Table-driven agents : the function consists in a lookup table of actions to be taken for every possible state of the environment.
If the environment has n variables, each with t possible states, then the table size is tn.
Only works for a small number of possible states for the environment.
Simple reflex agents : deciding on the action to take based only on the current perception and not on the history of perceptions.
Based on the condition-action rule:
(if (condition) action)
Works if the environment is fully observable
Definition:
SRA works only if the correct decision can be made on the basis of only the current percept that is only if the environment is fully observable.
Characteristics
Condition-action rule
Ex : medical diagnosis system.
Algorithm Explanation:
UPDATE-INPUT : This is responsible for creating the new internal stated description.
The agent has a purpose and the action to be taken depends on the current state and on what it tries to accomplish (the goal).
In some cases the goal is easy to achieve. In others it involves planning , sifting through a search space for possible solutions, developing a strategy.
Characteristics
If one state is preferred over the other, then it has higher utility for the agent
Utility-Function (state) = real number (degree of happiness)
The agent is aware of a utility function that estimates how close the current state is to the agent's goal.
(e.g., game playing)
Agent Example
A file manager agent.
Sensors: commands like ls, du, pwd.
Actuators: commands like tar, gzip, cd, rm, cp, etc.
Purpose: compress and archive files that have not been used in a while.
Environment: fully observable (but partially observed), deterministic (strategic), episodic, dynamic, discrete.
Agent vs. Program
Size – an agent is usually smaller than a program.
Purpose – an agent has a specific purpose while programs are multi-functional.
Persistence – an agent's life span is not entirely dependent on a user launching and quitting it.
Autonomy – an agent doesn't need the user's input to function.
Problem Solving Agents
Formulate Goal, Formulate Problem
Search
Execute
Problem formulation is the process of deciding what actions and states to consider, given a goal
A path in the state space is a sequence of states connected by a sequence of actions.
The sequence of steps done by intelligent agent to maximize the performance measure:
Goal Formulation : based on the current situation and the agent’s performance measure, it is the first step in problem solving.
Problem Formulation : it is the process of deciding what actions and states to consider, given a goal.
Search : the process of looking for different sequence.
Solution: A search algorithm takes a problem as input and returns a solution in the form of an action sequence.
Execution: Once a solution is found, the actions it recommends can be carried out called execution phase.
Solutions