CS347 FS2003 Final Exam Model Answers
|
|
- Gerald Hutchinson
- 5 years ago
- Views:
Transcription
1 CS347 FS003 Final Exam Model Answers This is a closed-book test. The only item not supplied that you are allowed (and required) to use, is a pen or pencil. Mark all paper you use with your name, the date, and the string cs347fs003 final exam. If you are caught cheating, you will receive a zero grade for this test. The max number of points per question is indicated in square brackets after each question. The sum of the max points is 05, but the exam grade is capped at 00. You have exactly two hours to complete this test. Good luck! Part I - Chapters &. Describe briefly The Turing Test? [6] The Turing Test was designed to provide a satisfactory operational definition of intelligence, based on indistinguishability from human beings; the computer passes the test if a human interrogator, after posing some written questions, cannot tell whether the written responses come from a person or not.. Give one argument for and one argument against The Turing Test being a good test for measuring intelligence [4] For: Giving a closed-form definition of intellingece (i.e., without external references such as comparisons to humans), is an unsolved problem; The Turing Test gives us a workable approximation which in order for a computer to pass will require many advances in AI. Against: It is easy to envision an intelligent entity that could easily be distinguished from humans (e.g., if it can quickly and accurately solve a very complex differential equation it is probably not a human). Therefore, the Turing Test encourages modeling human intelligence, not rational intelligence. 3. Give the PEAS description for the board game Stratego. [5] Performance Measure: Capture the opponent s flag or capture all the opponent s movable pieces Prevent the opponent from taking your flag or all your movable pieces Minimizing the number of moves required to win Minimizing the amount of computational time required to win Minimizing the amount of storage space Environment: 0x0 Grid Game pieces Actuators: Making a move Sensors: Something to detect the current state of the board
2 4. Classify the Statego task environment according to these properties: [5] Fully observable/partially observable Deterministic/stochastic Episodic/sequential Static/dynamic/semi-dynamic Discrete/continuous 5. Explain concisely each of your five choices in the previous question. [5] Partially observable: You have full information about your pieces, but initially no information about your opponents pieces which are only gradually revealed. Deterministic: The next state of the board is completely determined by the move of the agent. Sequential: Later moves will depend on what moves were taken previously. Semi-dynamic: The environment itself does not change with the passage of time, but the agent s performance decreases (the clock is ticking!) Discrete: Stratego has a finite state space. Part II - Chapters 3 & 4 All the questions on this page are about the following state space graph, with A being the start state and T the goal state. The order in which successors are generated is counterclockwise, starting downwards. Example: E generates first T, then G, and finally A. Note the many unidirectional edges in this state space graph! When sorting nodes, whether for path-cost, heuristic value, etc., nodes with equal sorting value are ordered such that the earlier a node is generated, the higher its priority. Nodes already on the open list have higher priority than newly added nodes for equal sorting value. For this exam assume that graph search discards generated nodes if they are already on the closed list, EVEN IF THE ONES ON THE CLOSED LIST HAVE A HIGHER COST! When performing execution traces, let the leftmost column indicate the open list, the next column the closed list (if you are using a closed list), and the rightmost column the node to be evaluated. Two heuristics are defined for this exam: h(node) = minimal number of hops from node to goal (e.g., h(a) = [AET]) h(node) = max number of hops from node to goal without revisiting any state (irrespective of the closed list) (e.g., h(a) = 8 [ABCDGHFET]) with special clause: h(goal) = h(goal) = 0 A 6 E G D B F T 4 3 H C
3 6. What is the diameter of this state space? Explain your answer! [] 3; this is the largest minimal number of hops between any two nodes. 7. Give the execution trace of Iterative-Deepening Depth-First Graph Search (ID-DFGS). [8] depth-limit=0 A - A depth-limit reached and no goal found depth-limit= A - A BE A B E AB E depth-limit reached and no goal found depth-limit= A - A BE A B CFE AB C FE ABC F E ABCF E TG ABCFE T goal found; solution=aet; path-cost(aet)=7 8. Is ID-DFGS complete for this problem? Explain your answer! [] Yes, because it found a solution. 9. Does ID-DFGS find the optimal solution for this problem? Explain your answer! [] No, because it found AET and path-cost(abfet)= 5 < 7 =path-cost(aet). 0. Give the execution trace of A* graph search employing h. [0] A - A B3E7 A B3 F3C6E7 AB F3 E5C6T6 ABF E5 T5C6G7 ABFE T5 goal found; solution=abfet; path-cost(abfet)=5. Give the execution trace of A* graph search employing h. [0] A8 - A8 B9E4 A B9 F0CE4 AB F0 T6CE ABF T6 goal found; solution=abft; path-cost(abft)=6
4 . Is for this problem h admissible? Explain your answer. [] Yes, because the step cost is or larger and h predicts that the step cost is, therefore it never overestimates the path cost to the goal. 3. Is for this problem h consistent? Explain your answer. [] Yes, because n, n : h(n) step-cost(n, n ) + h(n ) with n being a successor node of node n. 4. Is A* graph search employing h optimal for this problem? Explain your answer. [] Yes, because A* graph is optimal for consistent heuristics. (Note: answering this with because it found the optimal path would require proving that it found the optimal path!) 5. Is for this problem h admissible? Explain your answer. [] No, proof by counterexample: h(e) = 8 > = path-cost(et ) (it overestimates) 6. Is for this problem h consistent? Explain your answer. [] No, it is not admissible and therefore not consistent. 7. Is A* graph search employing h optimal for this problem? Explain your answer. [] No, because it found ABFT and path-cost(abft)= 6 > 5 =path-cost(abfet). 8. Explain briefly how the local search technique Simulated Annealing works (this is a general question which has nothing to do with the above state space graph). [4] Simulated Annealing search is inspired by the process of annealing in metallurgy, with the aim to combine the benefits of hill-climbing search (efficiency) and random search (completeness). It works by selecting randomly from the successor moves, always accepting the selected move if it resulted in an improvement, and otherwise accepting it with a probability less than. The probability decreases exponentially with the amount by which the evaluation is worsened; it also decreases as the temperature goes down.
5 Part III - Chapter 6 All the questions on this page are about the following adversarial search tree. State evaluation heuristic values for the max player are provided in the form of numbers following the letter labels of the states (e.g., A3 indicates that the heuristic value of state A is 3). The order in which successors are generated is from left to right. Example: A generates first B, then C, and finally D. The non-quiescent states are circled in bold; assume that all moves from these states are a threat or counter a threat (which implies that they need to be explored). A3 B3 C4 D4 E F3 G H5 I J3 K3 L3 M8 N6 O P Q R7 S 9. What is the advantage of adding a move-ordering heuristic to a minimax algorithm with alpha-beta pruning? [] It on average speeds up the algorithm by reducing the number of nodes that need to be examined. This is achieved by increasing the chance that good moves are examined early on, which results in increased alpha-beta pruning. 0. Give the execution trace of Depth Limited Minimax employing Alpha-Beta pruning with depth-limit= and root-node=a and Quiescence Search with QSdepth-limit= (QSABDLM(A,,,, )). [9] Define: DLM = QSABDLM, MinV = QSABMinV, MaxV = QSABMaxV call open eval value α, β best action,value DLM(A,,,, ) BCD B MinV(B,,,, )= (SSS), B, CD C MinV(C,,,, )=, B, D D MinV(D,,,, )=6 (SSS & QS) 6, D,6 AD MinV(C,,,, ) FGH F MaxV(F,0,,, )=3, 3 F,3 GH G MaxV(G,0,,, 3)= (prune), 3 G,. What is the Principal Variant (PV) found by QSABDLM(A,,,, )? [] ADI
6 . Give the execution trace of Iterative Deepening Minimax employing Alpha-Beta pruning with depthlimit= and root-node=a and History Table Move Ordering Heuristic and Quiescence Search with QSdepth-limit= (QSHTABIDM(A,,,, )). [0] Define: DLM = QSHTABDLM, MinV = QSHTABMinV, MaxV = QSHTABMaxV call open eval value α, β best action,value Iteration DLM(A,,,, ) B0C0D0 B MinV(B,0,,, )=3 3, B,3 C0D0 C MinV(C,0,,3, )= 3, B,3 D0 D MinV(D,0,,3, )=4 4, D,4 [AD:] AD MinV(C,0,,3, ) F0G0H0 F MaxV(F,0,0,3, )=3 3, 3 F,3 G0H0 G MaxV(G,0,0,3, 3)= (prune) 3, 3 G, [CG:] Iteration DLM(A,,,, ) DB0C0 D MinV(D,,,, )=6 (SSS & QS) 6, D,6 [DI:,IN:] B0C0 B MinV(B,,,6, )= (SSS) 6, D,6 [BE:] C0 C MinV(C,,,6, )= 6, D,6 [AD:] AD MinV(C,,,6, ) GF0H0 G MaxV(G,0,,6, )= (prune) 6, G, [CG:] 3. What is the PV found by QSHTABIDM(A,,,, )? [] ADI 4. From ALL the information available to you in the adversarial search tree, did having the Quiescence Search in the above traces you executed improve the search results? [] No, because the Quiescence Search caused AD to be returned as best move instead of AB, while AB is the better move if you look at all the information provided: DLM(A,4)= with PV=ABEJO.
7 The final three questions are about the following adversarial chance tree. MAX CHANCE MIN A a a 3 a B C D Calculate the EXPECTIMINIMAX values for nodes B, C and D in the above adversarial chance tree. Show your calculations! [3] EXPECTIMINIMAX(B) =.5 * * = =.5 EXPECTIMINIMAX(C) =.3 * * +. * 7 = = 3. EXPECTIMINIMAX(D) =.8 * +. * 8 = =.4 6. Which action will MAX choose, a, a, or a 3? Explain your answer! [] MAX will choose action a because it has the highest EXPECTIMINIMAX value. 7. If the utility values given for MIN were multiplied with a positive constant c, which action would MAX then choose? [] MAX would still choose action a because multiplying with a positive constant is a positive linear transformation and such transformations do not change decisions made on the basis of EXPECTIMINIMAX values.
Potential Midterm Exam Questions
Potential Midterm Exam Questions 1. What are the four ways in which AI is usually viewed? Which of the four is the preferred view of the authors of our textbook? 2. What does each of the lettered items
More informationCOMP SCI 5400 SP2017 Exam 1 Key
COMP SCI 5400 SP2017 Exam 1 Key This is a closed-book, closed-notes exam. The only items you are permitted to use are writing implements. Mark each sheet of paper you use with your name and the string
More informationUniversity of Waterloo Department of Electrical and Computer Engineering ECE 457A: Cooperative and Adaptive Algorithms Midterm Examination
University of Waterloo Department of Electrical and Computer Engineering ECE 457A: Cooperative and Adaptive Algorithms Midterm Examination Exam Date/Time: Tuesday, June 13, 2017, 8:30-9:50 pm Exam Hall:
More informationMidterm Examination CS540-2: Introduction to Artificial Intelligence
Midterm Examination CS540-2: Introduction to Artificial Intelligence March 15, 2018 LAST NAME: FIRST NAME: Problem Score Max Score 1 12 2 13 3 9 4 11 5 8 6 13 7 9 8 16 9 9 Total 100 Question 1. [12] Search
More informationCS 416, Artificial Intelligence Midterm Examination Fall 2004
CS 416, Artificial Intelligence Midterm Examination Fall 2004 Name: This is a closed book, closed note exam. All questions and subquestions are equally weighted. Introductory Material 1) True or False:
More informationCSCI-630 Foundations of Intelligent Systems Fall 2015, Prof. Zanibbi
CSCI-630 Foundations of Intelligent Systems Fall 2015, Prof. Zanibbi Midterm Examination Name: October 16, 2015. Duration: 50 minutes, Out of 50 points Instructions If you have a question, please remain
More informationArtificial Intelligence CS 6364
Artificial Intelligence CS 6364 Professor Dan Moldovan Section 4 Informed Search and Adversarial Search Outline Best-first search Greedy best-first search A* search Heuristics revisited Minimax search
More informationCS 188: Artificial Intelligence. Recap Search I
CS 188: Artificial Intelligence Review of Search, CSPs, Games DISCLAIMER: It is insufficient to simply study these slides, they are merely meant as a quick refresher of the high-level ideas covered. You
More informationMore Realistic Adversarial Settings. Virginia Tech CS5804 Introduction to Artificial Intelligence Spring 2015
More Realistic Adversarial Settings Virginia Tech CS5804 Introduction to Artificial Intelligence Spring 2015 Review Minimax search How to adjust for more than two agents, for non-zero-sum Analysis very
More informationFinding optimal configurations Adversarial search
CS 171 Introduction to AI Lecture 10 Finding optimal configurations Adversarial search Milos Hauskrecht milos@cs.pitt.edu 39 Sennott Square Announcements Homework assignment is out Due on Thursday next
More informationCS 540: Introduction to Artificial Intelligence
CS 540: Introduction to Artificial Intelligence Midterm Exam: 7:15-9:15 pm, October, 014 Room 140 CS Building CLOSED BOOK (one sheet of notes and a calculator allowed) Write your answers on these pages
More informationTwo-player Games ZUI 2012/2013
Two-player Games ZUI 2012/2013 Game-tree Search / Adversarial Search until now only the searching player acts in the environment there could be others: Nature stochastic environment (MDP, POMDP, ) other
More informationDownloaded from ioenotes.edu.np
Chapter- 3: Searching - Searching the process finding the required states or nodes. - Searching is to be performed through the state space. - Search process is carried out by constructing a search tree.
More informationIntroduction to Fall 2014 Artificial Intelligence Midterm Solutions
CS Introduction to Fall Artificial Intelligence Midterm Solutions INSTRUCTIONS You have minutes. The exam is closed book, closed notes except a one-page crib sheet. Please use non-programmable calculators
More informationUninformed Search Methods. Informed Search Methods. Midterm Exam 3/13/18. Thursday, March 15, 7:30 9:30 p.m. room 125 Ag Hall
Midterm Exam Thursday, March 15, 7:30 9:30 p.m. room 125 Ag Hall Covers topics through Decision Trees and Random Forests (does not include constraint satisfaction) Closed book 8.5 x 11 sheet with notes
More informationTwo-player Games ZUI 2016/2017
Two-player Games ZUI 2016/2017 Branislav Bošanský bosansky@fel.cvut.cz Two Player Games Important test environment for AI algorithms Benchmark of AI Chinook (1994/96) world champion in checkers Deep Blue
More informationMidterm Examination CS 540-2: Introduction to Artificial Intelligence
Midterm Examination CS 54-2: Introduction to Artificial Intelligence March 9, 217 LAST NAME: FIRST NAME: Problem Score Max Score 1 15 2 17 3 12 4 6 5 12 6 14 7 15 8 9 Total 1 1 of 1 Question 1. [15] State
More informationReview Adversarial (Game) Search ( ) Review Constraint Satisfaction ( ) Please review your quizzes and old CS-271 tests
Review Agents (2.1-2.3) Mid-term Review Chapters 2-6 Review State Space Search Problem Formulation (3.1, 3.3) Blind (Uninformed) Search (3.4) Heuristic Search (3.5) Local Search (4.1, 4.2) Review Adversarial
More informationArtificial Intelligence
Artificial Intelligence Dr. Malek Mouhoub Department of Computer Science University of Regina Fall 2005 Malek Mouhoub, CS820 Fall 2005 1 3. State-Space Search 3. State-Space Search Graph Theory Uninformed
More informationArtificial Intelligence. Chapters Reviews. Readings: Chapters 3-8 of Russell & Norvig.
Artificial Intelligence Chapters Reviews Readings: Chapters 3-8 of Russell & Norvig. Topics covered in the midterm Solving problems by searching (Chap. 3) How to formulate a search problem? How to measure
More informationCS-171, Intro to A.I. Mid-term Exam Winter Quarter, 2016
CS-171, Intro to A.I. Mid-term Exam Winter Quarter, 016 YOUR NAME: YOUR ID: ID TO RIGHT: ROW: SEAT: The exam will begin on the next page. Please, do not turn the page until told. When you are told to begin
More informationAPHID: Asynchronous Parallel Game-Tree Search
APHID: Asynchronous Parallel Game-Tree Search Mark G. Brockington and Jonathan Schaeffer Department of Computing Science University of Alberta Edmonton, Alberta T6G 2H1 Canada February 12, 1999 1 Running
More information3.6.2 Generating admissible heuristics from relaxed problems
3.6.2 Generating admissible heuristics from relaxed problems To come up with heuristic functions one can study relaxed problems from which some restrictions of the original problem have been removed The
More information(Due to rounding, values below may be only approximate estimates.) We will supply these numbers as they become available.
Below, for each problem on this Midterm Exam, Perfect is the percentage of students who received full credit, Partial is the percentage who received partial credit, and Zero is the percentage who received
More informationCS 540-1: Introduction to Artificial Intelligence
CS 540-1: Introduction to Artificial Intelligence Exam 1: 7:15-9:15pm, October 11, 1995 CLOSED BOOK (one page of notes allowed) Write your answers on these pages and show your work. If you feel that a
More informationFinal Exam. Introduction to Artificial Intelligence. CS 188 Spring 2010 INSTRUCTIONS. You have 3 hours.
CS 188 Spring 2010 Introduction to Artificial Intelligence Final Exam INSTRUCTIONS You have 3 hours. The exam is closed book, closed notes except a two-page crib sheet. Please use non-programmable calculators
More informationQuestion 1: 25% of students lost more than 2 points Question 2: 50% of students lost 2-4 points; 50% got it entirely correct Question 3: 95% of
Question 1: 25% of students lost more than 2 points Question 2: 50% of students lost 2-4 points; 50% got it entirely correct Question 3: 95% of students got this problem entirely correct Question 4: Only
More informationCS-171, Intro to A.I. Mid-term Exam Fall Quarter, 2013
CS-171, Intro to A.I. Mid-term Exam Fall Quarter, 2013 YOUR NAME AND ID NUMBER: YOUR ID: ID TO RIGHT: ROW: NO. FROM RIGHT: The exam will begin on the next page. Please, do not turn the page until told.
More informationIntroduction to Artificial Intelligence Midterm 1. CS 188 Spring You have approximately 2 hours.
CS 88 Spring 0 Introduction to Artificial Intelligence Midterm You have approximately hours. The exam is closed book, closed notes except your one-page crib sheet. Please use non-programmable calculators
More informationMonotonicity. Admissible Search: That finds the shortest path to the Goal. Monotonicity: local admissibility is called MONOTONICITY
Monotonicity Admissible Search: That finds the shortest path to the Goal Monotonicity: local admissibility is called MONOTONICITY This property ensures consistently minimal path to each state they encounter
More informationSection Marks Pre-Midterm / 32. Logic / 29. Total / 100
Name: CS 331 Final Exam Spring 2011 You have 110 minutes to complete this final exam. You are only allowed to use your textbook, your notes, your assignments and solutions to those assignments during this
More informationCS-171, Intro to A.I. Mid-term Exam Fall Quarter, 2014
CS-171, Intro to A.I. Mid-term Exam Fall Quarter, 2014 YOUR NAME: YOUR ID: ID TO RIGHT: ROW: SEAT: The exam will begin on the next page. Please, do not turn the page until told. When you are told to begin
More informationCS-171, Intro to A.I. Mid-term Exam Fall Quarter, 2017
CS-171, Intro to A.I. Mid-term Exam Fall Quarter, 2017 YOUR NAME: YOUR ID: ID TO RIGHT: ROW: SEAT: Please turn off all cell phones now. The exam will begin on the next page. Please, do not turn the page
More informationMultiple Agents. Why can t we all just get along? (Rodney King) CS 3793/5233 Artificial Intelligence Multiple Agents 1
Multiple Agents Why can t we all just get along? (Rodney King) CS 3793/5233 Artificial Intelligence Multiple Agents 1 Assumptions Assumptions Definitions Partially bservable Each agent can act autonomously.
More informationLecture 9. Heuristic search, continued. CS-424 Gregory Dudek
Lecture 9 Heuristic search, continued A* revisited Reminder: with A* we want to find the best-cost (C ) path to the goal first. To do this, all we have to do is make sure our cost estimates are less than
More informationCIS 192: Artificial Intelligence. Search and Constraint Satisfaction Alex Frias Nov. 30 th
CIS 192: Artificial Intelligence Search and Constraint Satisfaction Alex Frias Nov. 30 th What is AI? Designing computer programs to complete tasks that are thought to require intelligence 4 categories
More informationIntroduction to Fall 2008 Artificial Intelligence Midterm Exam
CS 188 Introduction to Fall 2008 Artificial Intelligence Midterm Exam INSTRUCTIONS You have 80 minutes. 70 points total. Don t panic! The exam is closed book, closed notes except a one-page crib sheet,
More informationIntroduction to Spring 2007 Artificial Intelligence Midterm Solutions
NAME: SID#: Login: Sec: CS 88 Introduction to Spring 2007 Artificial Intelligence Midterm Solutions You have 80 minutes. There are five questions with equal points. Look at all the five questions and answer
More informationArtificial Intelligence
Artificial Intelligence Information Systems and Machine Learning Lab (ISMLL) Tomáš Horváth 10 rd November, 2010 Informed Search and Exploration Example (again) Informed strategy we use a problem-specific
More informationIntroduction to Computer Science and Programming for Astronomers
Introduction to Computer Science and Programming for Astronomers Lecture 9. István Szapudi Institute for Astronomy University of Hawaii March 21, 2018 Outline Reminder 1 Reminder 2 3 Reminder We have demonstrated
More informationCS 4700: Artificial Intelligence
CS 4700: Foundations of Artificial Intelligence Fall 2017 Instructor: Prof. Haym Hirsh Lecture 8 Today Informed Search (R&N Ch 3,4) Adversarial search (R&N Ch 5) Adversarial Search (R&N Ch 5) Homework
More informationSearch and Optimization
Search and Optimization Search, Optimization and Game-Playing The goal is to find one or more optimal or sub-optimal solutions in a given search space. We can either be interested in finding any one solution
More informationHEURISTIC SEARCH. 4.3 Using Heuristics in Games 4.4 Complexity Issues 4.5 Epilogue and References 4.6 Exercises
4 HEURISTIC SEARCH Slide 4.1 4.0 Introduction 4.1 An Algorithm for Heuristic Search 4.2 Admissibility, Monotonicity, and Informedness 4.3 Using Heuristics in Games 4.4 Complexity Issues 4.5 Epilogue and
More informationArtificial Intelligence (part 4d)
Artificial Intelligence (part 4d) BEHAVIOR OF HEURISTICS EVALUATIONS (USING HEURISTICS IN GAMES) Course Contents Again..Selected topics for our course. Covering all of AI is impossible! Key topics include:
More informationCS-171, Intro to A.I. Mid-term Exam Winter Quarter, 2014
CS-171, Intro to A.I. Mid-term Exam Winter Quarter, 2014 YOUR NAME: YOUR ID: ID TO RIGHT: ROW: SEAT NO.: The exam will begin on the next page. Please, do not turn the page until told. When you are told
More informationArtificial Intelligence (part 4d)
Artificial Intelligence (part 4d) BEHAVIOR OF HEURISTICS EVALUATIONS (USING HEURISTICS IN GAMES) HEURISTICS EVALUATIONS: (Admissibility,Monotonicity and Informedness) Admissibility Measures A search is
More informationDIT411/TIN175, Artificial Intelligence. Peter Ljunglöf. 6 February, 2018
DIT411/TIN175, Artificial Intelligence Chapters 5, 7: Search part IV, and CSP, part II CHAPTERS 5, 7: SEARCH PART IV, AND CSP, PART II DIT411/TIN175, Artificial Intelligence Peter Ljunglöf 6 February,
More informationDownloded from: CSITauthority.blogspot.com
[Unit : Searching] (CSC 355) Central Department of Computer Science & Information Technology Tribhuvan University 1 Searching search problem Figure below contains a representation of a map. The nodes represent
More information6.034 Quiz 1 October 8, 2003
6.034 Quiz 1 October 8, 2003 Name EMail Problem number 1 2 3 4 5 Total Maximum 30 16 20 24 10 100 Score Grader 1 Question 1: Search (30 points) Wallace and Gromit have just finished their vacation on the
More informationDFS. Depth-limited Search
DFS Completeness? No, fails in infinite depth spaces or spaces with loops Yes, assuming state space finite. Time complexity? O(b m ), terrible if m is much bigger than d. can do well if lots of goals Space
More informationChapters 3-5 Problem Solving using Search
CSEP 573 Chapters 3-5 Problem Solving using Search First, they do an on-line search CSE AI Faculty Example: The 8-puzzle Example: The 8-puzzle 1 2 3 8 4 7 6 5 1 2 3 4 5 6 7 8 2 Example: Route Planning
More information4 INFORMED SEARCH AND EXPLORATION. 4.1 Heuristic Search Strategies
55 4 INFORMED SEARCH AND EXPLORATION We now consider informed search that uses problem-specific knowledge beyond the definition of the problem itself This information helps to find solutions more efficiently
More informationOutline. Best-first search
Outline Best-first search Greedy best-first search A* search Heuristics Admissible Heuristics Graph Search Consistent Heuristics Local search algorithms Hill-climbing search Beam search Simulated annealing
More informationProblem 1 Zero: 11% (~20 students), Partial: 66% (~120 students), Perfect: 23% (~43 students)
For each question on the Mid-term Exam, Zero below gives the fraction of students who scored zero, Partial gives the fraction who got partial credit, and Perfect gives the fraction who scored 100%. Problem
More informationAlgorithm Design Techniques. Hwansoo Han
Algorithm Design Techniques Hwansoo Han Algorithm Design General techniques to yield effective algorithms Divide-and-Conquer Dynamic programming Greedy techniques Backtracking Local search 2 Divide-and-Conquer
More informationIntroduction to Fall 2010 Artificial Intelligence Midterm Exam
CS 188 Introduction to Fall 2010 Artificial Intelligence Midterm Exam INSTRUCTIONS You have 3 hours. The exam is closed book, closed notes except a one-page crib sheet. Please use non-programmable calculators
More informationProbabilistic Belief. Adversarial Search. Heuristic Search. Planning. Probabilistic Reasoning. CSPs. Learning CS121
CS121 Heuristic Search Planning CSPs Adversarial Search Probabilistic Reasoning Probabilistic Belief Learning Heuristic Search First, you need to formulate your situation as a Search Problem What is a
More information3 SOLVING PROBLEMS BY SEARCHING
48 3 SOLVING PROBLEMS BY SEARCHING A goal-based agent aims at solving problems by performing actions that lead to desirable states Let us first consider the uninformed situation in which the agent is not
More informationToday s s lecture. Lecture 3: Search - 2. Problem Solving by Search. Agent vs. Conventional AI View. Victor R. Lesser. CMPSCI 683 Fall 2004
Today s s lecture Search and Agents Material at the end of last lecture Lecture 3: Search - 2 Victor R. Lesser CMPSCI 683 Fall 2004 Continuation of Simple Search The use of background knowledge to accelerate
More informationQuestion 1: Search (30 points)
Question 1: Search (30 points) Wallace and Gromit have just finished their vacation on the moon and are about to head back to Earth in their rocket ship (located at position G below). The local robot disparately
More informationTo earn the extra credit, one of the following has to hold true. Please circle and sign.
CS 188 Spring 2011 Introduction to Artificial Intelligence Practice Final Exam To earn the extra credit, one of the following has to hold true. Please circle and sign. A I spent 3 or more hours on the
More informationBranch & Bound (B&B) and Constraint Satisfaction Problems (CSPs)
Branch & Bound (B&B) and Constraint Satisfaction Problems (CSPs) Alan Mackworth UBC CS 322 CSP 1 January 25, 2013 P&M textbook 3.7.4 & 4.0-4.2 Lecture Overview Recap Branch & Bound Wrap up of search module
More informationChapter 2 Classical algorithms in Search and Relaxation
Chapter 2 Classical algorithms in Search and Relaxation Chapter 2 overviews topics on the typical problems, data structures, and algorithms for inference in hierarchical and flat representations. Part
More informationOutline for today s lecture. Informed Search. Informed Search II. Review: Properties of greedy best-first search. Review: Greedy best-first search:
Outline for today s lecture Informed Search II Informed Search Optimal informed search: A* (AIMA 3.5.2) Creating good heuristic functions Hill Climbing 2 Review: Greedy best-first search: f(n): estimated
More informationOutline. Best-first search
Outline Best-first search Greedy best-first search A* search Heuristics Local search algorithms Hill-climbing search Beam search Simulated annealing search Genetic algorithms Constraint Satisfaction Problems
More informationHomework #6 (Constraint Satisfaction, Non-Deterministic Uncertainty and Adversarial Search) Out: 2/21/11 Due: 2/29/11 (at noon)
CS121 Introduction to Artificial Intelligence Winter 2011 Homework #6 (Constraint Satisfaction, Non-Deterministic Uncertainty and Adversarial Search) Out: 2/21/11 Due: 2/29/11 (at noon) How to complete
More informationArtificial Intelligence
Artificial Intelligence Informed Search and Exploration Chapter 4 (4.1 4.2) A General Search algorithm: Chapter 3: Search Strategies Task : Find a sequence of actions leading from the initial state to
More information6.034 Quiz 1, Spring 2004 Solutions
6.034 Quiz 1, Spring 2004 Solutions Open Book, Open Notes 1 Tree Search (12 points) Consider the tree shown below. The numbers on the arcs are the arc lengths. Assume that the nodes are expanded in alphabetical
More informationSRI VIDYA COLLEGE OF ENGINEERING & TECHNOLOGY REPRESENTATION OF KNOWLEDGE PART A
UNIT II REPRESENTATION OF KNOWLEDGE PART A 1. What is informed search? One that uses problem specific knowledge beyond the definition of the problem itself and it can find solutions more efficiently than
More informationInformed search algorithms
Informed search algorithms This lecture topic Chapter 3.5-3.7 Next lecture topic Chapter 4.1-4.2 (Please read lecture topic material before and after each lecture on that topic) Outline Review limitations
More information1 Tree Search (12 points)
1 Tree Search (12 points) Consider the tree shown below. The numbers on the arcs are the arc lengths. Assume that the nodes are expanded in alphabetical order when no other order is specified by the search,
More informationLecture 4: Search 3. Victor R. Lesser. CMPSCI 683 Fall 2010
Lecture 4: Search 3 Victor R. Lesser CMPSCI 683 Fall 2010 First Homework 1 st Programming Assignment 2 separate parts (homeworks) First part due on (9/27) at 5pm Second part due on 10/13 at 5pm Send homework
More informationInformed search methods
Informed search methods Tuomas Sandholm Computer Science Department Carnegie Mellon University Read Section 3.5-3.7 of Russell and Norvig Informed Search Methods Heuristic = to find, to discover Heuristic
More informationDiscovering Search Algorithms with Program Transformation
Discovering Search Algorithms with Program Transformation Tristan Cazenave 1 Abstract. Minimax is the basic algorithm used in two-persons player complete information computer games. It is also used in
More informationReview Agents ( ) Review State Space Search
Review Agents (2.1-2.3) Review State Space Search Mid-term Review Chapters 2-7 Problem Formulation (3.1, 3.3) Blind (Uninformed) Search (3.4) Heuristic Search (3.5) Local Search (4.1, 4.2) Review Adversarial
More informationN-Queens problem. Administrative. Local Search
Local Search CS151 David Kauchak Fall 2010 http://www.youtube.com/watch?v=4pcl6-mjrnk Some material borrowed from: Sara Owsley Sood and others Administrative N-Queens problem Assign 1 grading Assign 2
More informationCS 331: Artificial Intelligence Informed Search. Informed Search
CS 331: Artificial Intelligence Informed Search 1 Informed Search How can we make search smarter? Use problem-specific knowledge beyond the definition of the problem itself Specifically, incorporate knowledge
More informationAdvanced A* Improvements
Advanced A* Improvements 1 Iterative Deepening A* (IDA*) Idea: Reduce memory requirement of A* by applying cutoff on values of f Consistent heuristic function h Algorithm IDA*: 1. Initialize cutoff to
More informationContents. Foundations of Artificial Intelligence. General Algorithm. Best-First Search
Contents Foundations of Artificial Intelligence 4. Informed Search Methods Heuristics, Local Search Methods, Genetic Algorithms Wolfram Burgard, Bernhard Nebel, and Martin Riedmiller Albert-Ludwigs-Universität
More informationGradient Descent. 1) S! initial state 2) Repeat: Similar to: - hill climbing with h - gradient descent over continuous space
Local Search 1 Local Search Light-memory search method No search tree; only the current state is represented! Only applicable to problems where the path is irrelevant (e.g., 8-queen), unless the path is
More informationCS W4701 Artificial Intelligence
CS W4701 Artificial Intelligence Fall 2013 Chapter 6: Constraint Satisfaction Problems Jonathan Voris (based on slides by Sal Stolfo) Assignment 3 Go Encircling Game Ancient Chinese game Dates back At
More informationCS 331: Artificial Intelligence Informed Search. Informed Search
CS 331: Artificial Intelligence Informed Search 1 Informed Search How can we make search smarter? Use problem-specific knowledge beyond the definition of the problem itself Specifically, incorporate knowledge
More informationFoundations of AI. 4. Informed Search Methods. Heuristics, Local Search Methods, Genetic Algorithms
Foundations of AI 4. Informed Search Methods Heuristics, Local Search Methods, Genetic Algorithms Luc De Raedt and Wolfram Burgard and Bernhard Nebel Contents Best-First Search A* and IDA* Local Search
More informationA* optimality proof, cycle checking
A* optimality proof, cycle checking CPSC 322 Search 5 Textbook 3.6 and 3.7.1 January 21, 2011 Taught by Mike Chiang Lecture Overview Recap Admissibility of A* Cycle checking and multiple path pruning Slide
More informationCS 188: Artificial Intelligence Spring Recap Search I
CS 188: Artificial Intelligence Spring 2011 Midterm Review 3/14/2011 Pieter Abbeel UC Berkeley Recap Search I Agents that plan ahead à formalization: Search Search problem: States (configurations of the
More informationˆ The exam is closed book, closed calculator, and closed notes except your one-page crib sheet.
CS Summer Introduction to Artificial Intelligence Midterm ˆ You have approximately minutes. ˆ The exam is closed book, closed calculator, and closed notes except your one-page crib sheet. ˆ Mark your answers
More informationHeuristic (Informed) Search
Heuristic (Informed) Search (Where we try to choose smartly) R&N: Chap., Sect..1 3 1 Search Algorithm #2 SEARCH#2 1. INSERT(initial-node,Open-List) 2. Repeat: a. If empty(open-list) then return failure
More informationRecap Search I. CS 188: Artificial Intelligence Spring Recap Search II. Example State Space Graph. Search Problems.
CS 188: Artificial Intelligence Spring 011 Midterm Review 3/14/011 Pieter Abbeel UC Berkeley Recap Search I Agents that plan ahead à formalization: Search Search problem: States (configurations of the
More informationGames and Adversarial Search II Alpha-Beta Pruning (AIMA 5.3)
Games and Adversarial Search II Alpha-Beta Pruning (AIMA 5.) Some slides adapted from Richard Lathrop, USC/ISI, CS 7 Review: The Minimax Rule Idea: Make the best move for MAX assuming that MIN always replies
More informationData Structures and Algorithms
Data Structures and Algorithms Session 26. April 29, 2009 Instructor: Bert Huang http://www.cs.columbia.edu/~bert/courses/3137 Announcements Homework 6 due before last class: May 4th Final Review May 4th
More informationArtificial Intelligence I. Dr Mateja Jamnik. Computer Laboratory, Room FC18. Telephone extension
Artificial Intelligence I Dr Mateja Jamnik Computer Laboratory, Room FC18 Telephone extension 63587 Email: mj201@cl.cam.ac.uk http://www.cl.cam.ac.uk/users/mj201/ Notes II: problem solving by search, games
More informationArtificial Intelligence Informed search. Peter Antal Tadeusz Dobrowiecki
Artificial Intelligence Informed search Peter Antal antal@mit.bme.hu Tadeusz Dobrowiecki tade@mit.bme.hu A.I. 9/17/2018 1 Informed = use problem-specific knowledge Which search strategies? Best-first search
More informationIntroduction. 2D1380 Constraint Satisfaction Problems. Outline. Outline. Earlier lectures have considered search The goal is a final state
CS definition 2D1380 Constraint Satisfaction roblems CS definition Earlier lectures have considered search The goal is a final state CSs CSs There was no internal structure to the problem or states States
More informationSearch : Brute force and Heuristic
Search : Brute force and Heuristic In solving problems, we sometimes have to search through many possible ways of doing something. Getting from Brussels to Oostende Winning a chess game. Many problems
More informationHeuristic Search and Advanced Methods
Heuristic Search and Advanced Methods Computer Science cpsc322, Lecture 3 (Textbook Chpt 3.6 3.7) May, 15, 2012 CPSC 322, Lecture 3 Slide 1 Course Announcements Posted on WebCT Assignment1 (due on Thurs!)
More informationParallel Programming. Parallel algorithms Combinatorial Search
Parallel Programming Parallel algorithms Combinatorial Search Some Combinatorial Search Methods Divide and conquer Backtrack search Branch and bound Game tree search (minimax, alpha-beta) 2010@FEUP Parallel
More informationLecture 2: Problem Solving and Search
Lecture 2: Problem Solving and Search ACSC 368 Harris Papadopoulos Problem Solving as State-Space Search Consider finite problems that can be represented in terms of: an initial state, one or more goal
More informationARTIFICIAL INTELLIGENCE LECTURE 3. Ph. D. Lect. Horia Popa Andreescu rd year, semester 5
ARTIFICIAL INTELLIGENCE LECTURE 3 Ph. D. Lect. Horia Popa Andreescu 2012-2013 3 rd year, semester 5 The slides for this lecture are based (partially) on chapter 4 of the Stuart Russel Lecture Notes [R,
More informationAlgorithm Design Techniques (III)
Algorithm Design Techniques (III) Minimax. Alpha-Beta Pruning. Search Tree Strategies (backtracking revisited, branch and bound). Local Search. DSA - lecture 10 - T.U.Cluj-Napoca - M. Joldos 1 Tic-Tac-Toe
More informationmywbut.com Informed Search Strategies-I
Informed Search Strategies-I 1 3.1 Introduction We have outlined the different types of search strategies. In the earlier chapter we have looked at different blind search strategies. Uninformed search
More information