Lecture 2: 11/4/1435 Problem Solving Agents Lecturer/ Kawther Abas 363CS – Artificial Intelligence.

Slides:



Advertisements
Similar presentations
Announcements Course TA: Danny Kumar
Advertisements

Artificial Intelligence By Mr. Ejaz CIIT Sahiwal.
Artificial Intelligence: Chapter 2
CS 484 – Artificial Intelligence
CS 4700: Foundations of Artificial Intelligence Bart Selman Reinforcement Learning R&N – Chapter 21 Note: in the next two parts of RL, some of the figure/section.
CSC 423 ARTIFICIAL INTELLIGENCE
1 Solving problems by searching Chapter 3. 2 Why Search? To achieve goals or to maximize our utility we need to predict what the result of our actions.
CHAPTER 3 CMPT Blind Search 1 Search and Sequential Action.
CS 380: Artificial Intelligence Lecture #3 William Regli.
Search Problems Russell and Norvig: Chapter 3, Sections 3.1 – 3.3 Slides adapted from: robotics.stanford.edu/~latombe/cs121/2003/home.htm by Prof. Jean-Claude.
1 Solving problems by searching Chapter 3. 2 Why Search? To achieve goals or to maximize our utility we need to predict what the result of our actions.
Uninformed Search Reading: Chapter 3 by today, Chapter by Wednesday, 9/12 Homework #2 will be given out on Wednesday DID YOU TURN IN YOUR SURVEY?
Adversarial Search: Game Playing Reading: Chess paper.
Solving problems by searching
Solving Problems by Searching AIMA Chapter 3 Fall 2006 Messiah College Dr. Gene Chase.
1 Solving problems by searching Chapter 3. 2 Why Search? To achieve goals or to maximize our utility we need to predict what the result of our actions.
Leroy Garcia 1.  Artificial Intelligence is the branch of computer science that is concerned with the automation of intelligent behavior (Luger, 2008).
Artificial Intelligence Course outline Introduction Problem solving Generic algorithms Knowledge Representation and Reasoning Expert Systems Uncertainty.
Solving problems by searching This Lecture Read Chapters 3.1 to 3.4 Next Lecture Read Chapter 3.5 to 3.7 (Please read lecture topic material before and.
CSE 473: Artificial Intelligence Spring 2014 Hanna Hajishirzi Problem Spaces and Search slides from Dan Klein, Stuart Russell, Andrew Moore, Dan Weld,
1 Solving problems by searching This Lecture Chapters 3.1 to 3.4 Next Lecture Chapter 3.5 to 3.7 (Please read lecture topic material before and after each.
Lecture 10: 8/6/1435 Machine Learning Lecturer/ Kawther Abas 363CS – Artificial Intelligence.
Dr.Abeer Mahmoud ARTIFICIAL INTELLIGENCE (CS 461D) Dr. Abeer Mahmoud Computer science Department Princess Nora University Faculty of Computer & Information.
Agents CPSC 386 Artificial Intelligence Ellen Walker Hiram College.
AI in game (II) 권태경 Fall, outline Problem-solving agent Search.
1 Solving problems by searching 171, Class 2 Chapter 3.
Adversarial Search Chapter Games vs. search problems "Unpredictable" opponent  specifying a move for every possible opponent reply Time limits.
Lecture 3: 18/4/1435 Searching for solutions. Lecturer/ Kawther Abas 363CS – Artificial Intelligence.
Advanced Artificial Intelligence Lecture 2: Search.
A General Introduction to Artificial Intelligence.
MDPs (cont) & Reinforcement Learning
Uninformed Search ECE457 Applied Artificial Intelligence Spring 2007 Lecture #2.
CPSC 420 – Artificial Intelligence Texas A & M University Lecture 3 Lecturer: Laurie webster II, M.S.S.E., M.S.E.e., M.S.BME, Ph.D., P.E.
Rational Agency CSMC Introduction to Artificial Intelligence January 8, 2007.
Artificial Intelligence Lecture No. 6 Dr. Asad Ali Safi ​ Assistant Professor, Department of Computer Science, COMSATS Institute of Information Technology.
Rational Agency CSMC Introduction to Artificial Intelligence January 8, 2004.
Introduction to Artificial Intelligence CS 438 Spring 2008 Today –AIMA, Ch. 3 –Problem Solving Agents State space search –Programming Assignment Thursday.
Intelligent Agents Introduction Rationality Nature of the Environment Structure of Agents Summary.
ARTIFICIAL INTELLIGENCE (CS 461D) Princess Nora University Faculty of Computer & Information Systems.
Introduction to State Space Search
Onlinedeeneislam.blogspot.com1 Design and Analysis of Algorithms Slide # 1 Download From
Lecture 2: Problem Solving using State Space Representation CS 271: Fall, 2008.
Chapter 5 Adversarial Search. 5.1 Games Why Study Game Playing? Games allow us to experiment with easier versions of real-world situations Hostile agents.
ECE457 Applied Artificial Intelligence R. Khoury (2007)Page 1 Please pick up a copy of the course syllabus from the front desk.
ARTIFICIAL INTELLIGENCE
Announcements Homework 1 Full assignment posted..
PENGANTAR INTELIJENSIA BUATAN (64A614)
ECE 448 Lecture 4: Search Intro
Artificial Intelligence Lecture No. 6
Artificial Intelligence Lecture No. 5
Problem Solving as Search
Intelligent Agents Chapter 2.
Artificial Intelligence
Solving problems by searching
Artificial Intelligence
Announcements Homework 3 due today (grace period through Friday)
Lecture 1B: Search.
SOLVING PROBLEMS BY SEARCHING
CS4341 Introduction to Artificial Intelligence
Artificial Intelligence
Artificial Intelligence
EA C461 – Artificial Intelligence Problem Solving Agents
CSE (c) S. Tanimoto, 2001 Search-Introduction
AI and Agents CS 171/271 (Chapters 1 and 2)
Solving problems by searching
ARTIFICIAL INTELLIGENCE
ECE457 Applied Artificial Intelligence Fall 2007 Lecture #2
Minimax strategies, alpha beta pruning
Solving problems by searching
Presentation transcript:

Lecture 2: 11/4/1435 Problem Solving Agents Lecturer/ Kawther Abas 363CS – Artificial Intelligence

Problem Solving Agents 4 Problem solving agent –One kind of agent –Find sequences of actions leading to desirable environment states (goal) –Defining goal, makes it easier to define performance measure, needed in definition of rational agent 4 Problem formulation –What aspects of the problem do we represent? –Representing actions, states, goals –These are typically represented in a programming language, e.g., Python

Problem Formulation Actions and states to consider States possible world states Accessibility the agent can determine via its sensors in which state it is consequences of actions the agent knows the results of its actions Levels problems and actions can be specified at various levels Constraints conditions that influence the problem-solving process Performance measures to be applied Costs utilization of resources

Defined problems and solutions Definition of a problem: collection of information that the agent will use to decide what to do –Start state –Actions Can specify as successor function or as operators Actions that can be applied to a state –Goal test set of properties or abstract specification tests a state to see if we have achieved goal –Path cost function assigns a numeric cost to a path, this is the sum of the step costs (e.g., operator costs) along the path

Goal & Start States; Actions 4 Goal state –A state we want to achieve E.g., we want to win a game of chess E.g., we want to be close to the wall in wall following –Set of environment states that we want achieve 4 Also have a start state 4 State representation –Means of defining states (e.g., in Python) of our environment 4 Actions –What can we do to a state? In chess, we can move a player, constrained by the way a player can be moved With a robot-agent, we can move turn, translate (move forward) –Actions cause transitions between states –Try to transform current state into goal state

6 How to implement a general agent?

Overall Process Search for goal Input: start state, goal state Computation Output: sequence of operators, and/or goal state Input: actions knowledge engineering Designer/ engineer

Types of Problems 4 Generally assume environments are –Fully observable, deterministic, sequential, static, discrete, single agent –If a problem can be solved directly or analytically –Practically, don’t apply problem solving using search –E.g., solving = 4; solving for the roots of a quadratic; programming a spreadsheet

Problem Solving Costs 4 Path Cost –Cost of operators along path to goal 4 Search Cost –Cost of expanding nodes in entire search process –E.g., cost of node expansion is 1 search cost is number of nodes expanded in search process Problem Formulation Actions and states to consider statespossible world states accessibilitythe agent can determine via its sensors in which state it is consequences of actionsthe agent knows the results of its actions levelsproblems and actions can be specified at various levels constraintsconditions that influence the problem-solving process performancemeasures to be applied costs utilization of resources