Artificial Intelligence: A Modern Approach
3rd Edition
ISBN: 9780136042594
Author: Stuart Russell, Peter Norvig
Publisher: Prentice Hall
expand_more
expand_more
format_list_bulleted
Concept explainers
Expert Solution & Answer
Chapter 5, Problem 11E
a.
Explanation of Solution
Move generators and evaluation function
- Evaluation functions are algorithms that sele...
b.
Explanation of Solution
Alpha-beta game playing event
- Alpha beta game playing environment is a...
c.
Explanation of Solution
Effect of increasing search depth
- Without an evaluation function and truncated horizon, depth and ordering cannot be scaled up...
d.
Explanation of Solution
Selective search
- It is used in object detection.
- It is a fast algorithm with high recall...
Expert Solution & Answer
Want to see the full answer?
Check out a sample textbook solutionStudents have asked these similar questions
Implement an algorithmic solution, indicating which states are valid and which are not, and model the space of the following problem:
An interest group from a small town decided to sue a company for commercial abuse. For this, the people have organized themselves and decided to send 3 representatives, who will have to travel in a Van to the city where the lawsuit will be filed. The company to be sued, upon learning of these actions, has decided to send 3 lawyers to persuade the representatives, who will also travel in the same Van for that purpose.
The community must file the class action suit under these conditions:
- The three applicants must reach the destination city;
- Only two people can travel per trip in the Van (small town - city, city - small town);
- There can never be more lawyers than plaintiffs in any one place (either in the small town or city) because the lawyers can persuade the plaintiffs and as a consequence, the lawsuit would not be made;
- The Van cannot be…
The wolf-goat-cabbage ProblemDescription of the problem: There is a farmer who wishes to cross a river but he is not alone. He also has a goat, a wolf, and a cabbage along with him. There is only one boat available which can support the farmer and either of the goat, wolf or the cabbage. So at a time, the boat can have only two objects (farmer and one other).
But the problem is, if the goat and wolf are left alone (either in the boat or onshore), the wolf will eat the goat. Similarly, if the goat and cabbage are left alone, then goat will eat the cabbage. The farmer wants to cross the river with all three of his belongings: goat, wolf, and cabbage.Complete the state space of this problem. The green state is valid state (you should expand it until to reach the goal state) and orange state is invalid state (you should not expand it).• w: wolf• g: goat• c: cabbage• f: framer• ||: rive.
This problem exercises the basic concepts of game playing, using tic-tac-toe (noughtsand crosses) as an example. We define Xn as the number of rows, columns, or diagonals with exactly n X’s and no O’s. Similarly, On is the number of rows, columns, or diagonals with just n O’s. The utility function assigns +1 to any position with X3 = 1 and −1 to any position with O3 = 1. All other terminal positions have utility 0. For nonterminal positions, we use a linear evaluation function defined as Eval (s) = 3X2(s)+X1(s)−(3O2(s)+O1(s))."Mark on your tree the evaluations of all the positions at depth 2."
Chapter 5 Solutions
Artificial Intelligence: A Modern Approach
Knowledge Booster
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.Similar questions
- Using c++ Apply both breadth-first search and best-first search to a modified version of MC problem. In the modified MC, a state can contain any number of M’s and any number of C’s on either side of the river. Assume the goal is always to move all the persons on the left side to the right side. The Initial state should be a parameter given to the program at beginning of execution. As in the original problem, boat capacity =2, the boat cannot move by itself, and on either side C’s should not outnumber M’s. For best-first search, you need to come up with an appropriate heuristic. In addition to solving the problem, your grade will also be based on th effectiveness of the heuristic. As an example, the program should execute as follows. Initial state… Enter number of M’s on left side of the river: 3 Enter number of C’s on left side of the river: 1 Enter number of M’s on right side of the river: 0 Enter number of C’s on right side of the river: 0 Enter location of the boat: L The output…arrow_forwardPlease answer the following question in depth with full detail. Consider the 8-puzzle that we discussed in class. Suppose we define a new heuristic function h3 which is the average of h1 and h2, and another heuristic function h4 which is the sum of h1 and h2. That is, for every state s ∈ S: h3(s) =h1(s) + h2(s) 2 h4(s) =h1(s) + h2(s) where h1 and h2 are defined as “the number of misplaced tiles”, and “the sum of the distances of the tiles from their goal positions”, respectively. Are h3 and h4 admissible? If admissible, compare their dominance with respect to h1 and h2, if not, provide a counterexample, i.e. a puzzle configuration where dominance does not hold.arrow_forward1. Following question _Qestion 2 – Simple Machine-Learning Function Java Program A Learning Function is an empirical formula which isresponsible for regulating the training of an agentwith respect to Machine Learning and Artificial Intelligence (AI). In this regard, given below is ourprototype Learning Function, ?, which tunes and regulates the training as well as learning in our AIagents. This is defined such that: ? = ? ∗ ΩGiven that Ω = 0.567143 and ? is a dynamic variable, which is defined with respect to the day ofthe week and the time of the day, as illustrated in the table below: Weekday/Time Day-Light Night-Time Monday 2.53 3.25 Tuesday 3.15 2.99 Wednesday 3.00 3.99 Thursday 2.41 2.68 Friday 1.99 3.73 Saturday 3.59 2.86 Sunday 2.00 2.59 Therefore, write a Java class/program correctly such that your source code will accomplish the following: 1. Display a prompt message for the user to enter the Weekday and the Time as a single input separated via the space…arrow_forward
- Answer the following: This problem exercises the basic concepts of game playing, using tic-tac-toe (noughts and crosses) as an example. We define Xn as the number of rows, columns, or diagonals with exactly n X’s and no O’s. Similarly, On is the number of rows, columns, or diagonals with just n O’s. The utility function assigns +1 to any position with X3=1 and −1 to any position with O3=1. All other terminal positions have utility 0. For nonterminal positions, we use a linear evaluation function defined as Eval(s)=3X2(s)+X1(s)−(3O2(s)+O1(s)). a. Show the whole game tree starting from an empty board down to depth 2 (i.e., one X and one O on the board), taking symmetry into account. b. Mark on your tree the evaluations of all the positions at depth 2. c .Using the minimax algorithm, mark on your tree the backed-up values for the positions at depths 1 and 0, and use those values to choose the best starting move. Provide original solution!arrow_forwardCreate a curve that uses a quadratic parametric approach with three interpolated control points. The equations which describe the curve are: $$f_x(u) = c_0 u^2 + c_1 u + c_2 $$ and $$f_y(u) = c_3 u^2 + c_4 u + c_5 $$ where $u$ ranges from 0.0 to 1.0. The first control point $$p_0$$ is for $u=0$, the second $p_1$ for $u=0.5$, and the third for $p_2$ and at $u=1.0$. Modify the code to implement your solution. It is sufficient for this task to get the program working with three control points, but you are most welcome to attempt a solution that works on four or more. Code: import java.awt.Graphics2D; import java.awt.geom.Ellipse2D; import java.awt.geom.Path2D; import java.awt.geom.Point2D; import javax.swing.JFrame; import javax.swing.JTabbedPane; import javax.swing.SwingUtilities; public class DotToDotDemo implements Runnable { /** * DotToDotDemo - A demo which draws dots between points to form a curve. * Eric McCreath 2015, 2019 - GPL * Modified by Matthew Aitchison 2022. */ JFrame…arrow_forwardConsider the following set of training examples: (a) What is the entropy of this collection of training examples with respect to the target function classification? (b) What is the information gain of az relative.to these training examples?arrow_forward
- For the goal-based agent architecture given in the picture, write the pseudocode for the agent, given the following: function GOAL-BASED-AGENT (percept) returns an action persistent: state, the agent’s current conception of the world state model, a description of how the next state depends on the current state and action goal, a description of the desired goal state plan, a sequence of actions to take, initially empty action, the most recent action, initially nonearrow_forwarda) What are Ensemble Algorithms? Write an algorithm for BOOSTING method.c) Assume that two individuals offer to sell you their predictive models M1 and M2. The confusion matrices produced by each model are as follows. What is the accuracy of each model? Assuming that precision is of paramount importance in your application, which of the two models would you buy? Why?Performance of M1Performance of M2Predicted TruePredicted FalsePredicted TruePredicted FalseActually True595Actually True8515Actually False1090Actually False955arrow_forwardQuestion 6 smSuggest an admissible heuristic that could be used when applying A* search to solving a planning problem in the state-variable representation. Show that it is admissible Full explain this question and text typing work onlyarrow_forward
- We have been working extensively with the predicate "eventually greater than" defined on pairs of functions f of g. Which of the following is equivalent to f(x) is not eventually greater than g(x)? (Select all that apply) Group of answer choices ¬((∃x0)(∀x)(x>x0→f(x)>g(x))) ((∃x0)(∀x)(x>x0→f(x)≤g(x))) (∀x)(∃x0)(x0>x→f(x0)≤g(x0)) (∀x)(∃x0)(x0>x→f(x0)≤g(x0))arrow_forwardThe Family of Logarithmic Functions Write a Learning Log entry about the family of functions y = logb(x). Include the descriptive statements your team has come up with and any others that you think should be added from the class discussion. As you write, think about which statements are very clear to you and which need further clarification.arrow_forward4. Consider the function second xs = head (tail xs) What is its type? Explain why "second" has the type that it has, i.e., "tail :: [a] ->[a]", hence "xs :: [a]", and "head :: [a] -> a", etc. Why doeschaining them together like in the definition of "second" give us thetype that it has? Note: this will use the fact that if "f" is a function that mapsarguments of type "a" to results of type "b", and "e" is an expressionof type "a", then the application "f e" has type "b", that is: if "f :: a -> b" and "e :: a" then "f e :: b" 5. Consider the function swap (x,y) = (y,x) What is its type? Why can "x" and "y" correspond todifferent types in general?arrow_forward
arrow_back_ios
SEE MORE QUESTIONS
arrow_forward_ios
Recommended textbooks for you
- Database System ConceptsComputer ScienceISBN:9780078022159Author:Abraham Silberschatz Professor, Henry F. Korth, S. SudarshanPublisher:McGraw-Hill EducationStarting Out with Python (4th Edition)Computer ScienceISBN:9780134444321Author:Tony GaddisPublisher:PEARSONDigital Fundamentals (11th Edition)Computer ScienceISBN:9780132737968Author:Thomas L. FloydPublisher:PEARSON
- C How to Program (8th Edition)Computer ScienceISBN:9780133976892Author:Paul J. Deitel, Harvey DeitelPublisher:PEARSONDatabase Systems: Design, Implementation, & Manag...Computer ScienceISBN:9781337627900Author:Carlos Coronel, Steven MorrisPublisher:Cengage LearningProgrammable Logic ControllersComputer ScienceISBN:9780073373843Author:Frank D. PetruzellaPublisher:McGraw-Hill Education
Database System Concepts
Computer Science
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:McGraw-Hill Education
Starting Out with Python (4th Edition)
Computer Science
ISBN:9780134444321
Author:Tony Gaddis
Publisher:PEARSON
Digital Fundamentals (11th Edition)
Computer Science
ISBN:9780132737968
Author:Thomas L. Floyd
Publisher:PEARSON
C How to Program (8th Edition)
Computer Science
ISBN:9780133976892
Author:Paul J. Deitel, Harvey Deitel
Publisher:PEARSON
Database Systems: Design, Implementation, & Manag...
Computer Science
ISBN:9781337627900
Author:Carlos Coronel, Steven Morris
Publisher:Cengage Learning
Programmable Logic Controllers
Computer Science
ISBN:9780073373843
Author:Frank D. Petruzella
Publisher:McGraw-Hill Education