Search for David Kauchak - CS51A Spring 2025 Admin Assignment 8

Search for David Kauchak - CS51A Spring 2025 Admin Assignment 8
Slide Note
Embed
Share

This content includes images related to AI concepts, solving a maze, and decision-making approach. It covers topics like cognitive modeling, logic-based systems, the Turing test, and rational agents. The images depict a maze solving process, exploration of options, and decision-making scenarios.

  • AI Concepts
  • Maze Solving
  • Cognitive Modeling
  • Decision Making

Uploaded on Apr 21, 2025 | 0 Views


Download Presentation

Please find below an Image/Link to download the presentation.

The content on the website is provided AS IS for your information and personal use only. It may not be sold, licensed, or shared on other websites without obtaining consent from the author.If you encounter any issues during the download, it is possible that the publisher has removed the file from their server.

You are allowed to download the files provided on this website for personal or commercial use, subject to the condition that they are used lawfully. All files are the property of their respective owners.

The content on the website is provided AS IS for your information and personal use only. It may not be sold, licensed, or shared on other websites without obtaining consent from the author.

E N D

Presentation Transcript


  1. SEARCH David Kauchak CS51A Spring 2025

  2. Admin Assignment 8

  3. What is AI? Think like a human Cognitive Modeling Think rationally Logic-based Systems Act like a human Turing Test Act rationally Rational Agents

  4. What is AI? Think like a human Cognitive Modeling Think rationally Logic-based Systems Act like a human Turing Test Act rationally Rational Agents Next couple of weeks

  5. Solve the maze!

  6. Solve the maze!

  7. Solve the maze! How did you figure it out?

  8. Solve the maze!

  9. One approach What now?

  10. One approach Three choices

  11. One approach Pick one! What now?

  12. One approach Still three options!

  13. One approach Still three options! Which would you explore/pick?

  14. One approach Most people go down a single path until they realize that it s wrong

  15. One approach Keep exploring

  16. One approach Keep exploring

  17. One approach What now?

  18. One approach Are we stuck? No. Red positions are just possible options we haven t explored

  19. One approach How do we know not to go straight?

  20. One approach Have to be careful and keep track of where we ve been if we can loop

  21. One approach Now what?

  22. One approach Now what?

  23. One approach

  24. Search problems What information do we need to figure out a solution?

  25. Search problems Where to start Where to finish (goal) What the world (in this case a maze) looks like We ll define the world as a collection of discrete states States are connected if we can get from one state to another by taking a particular action This is called the state space

  26. State space example

  27. State space example

  28. State space example For a given problem, still could have different state-spaces How many more states are there?

  29. State space example

  30. State space example

  31. State space example Now what?

  32. State space example

  33. State space example Now what?

  34. State space example

  35. State space example Could we have found the exit any other way?

  36. Search algorithm Keep track of a list of states that we couldvisit, we ll call it to_visit General idea: take a state off the to_visit list if it s the goal state we re done! if it s not the goal state Add all of the next states to the to_visit list repeat

  37. 1 4 3 2 8 7 6 5 12 11 10 9 14 13 to_visit - take a state off the to_visit list - if it s the goal state we re done! - if it s not the goal state Add all of the next states to the to_visit list - repeat How do we start?

  38. 1 4 3 2 8 7 6 5 12 11 10 9 14 13 to_visit 1 - take a state off the to_visit list - if it s the goal state we re done! - if it s not the goal state Add all of the next states to the to_visit list - repeat Add start to to_visit

  39. 1 4 3 2 8 7 6 5 12 11 10 9 14 13 to_visit - take a state off the to_visit list - if it s the goal state we re done! - if it s not the goal state Add all of the next states to the to_visit list - repeat Is it a goal state?

  40. 1 4 3 2 8 7 6 5 12 11 10 9 14 13 to_visit - take a state off the to_visit list - if it s the goal state we re done! - if it s not the goal state Add all of the next states to the to_visit list - repeat 2 3 4

  41. 1 4 3 2 8 7 6 5 12 11 10 9 14 13 to_visit - take a state off the to_visit list - if it s the goal state we re done! - if it s not the goal state Add all of the next states to the to_visit list - repeat 3 4 Is it a goal state?

  42. 1 4 3 2 8 7 6 5 12 11 10 9 14 13 to_visit - take a state off the to_visit list - if it s the goal state we re done! - if it s not the goal state Add all of the next states to the to_visit list - repeat 3 4

  43. 1 4 3 2 8 7 6 5 12 11 10 9 14 13 to_visit - take a state off the to_visit list - if it s the goal state we re done! - if it s not the goal state Add all of the next states to the to_visit list - repeat 3 4 Dead-end. What do we do now?

  44. 1 4 3 2 8 7 6 5 12 11 10 9 14 13 to_visit - take a state off the to_visit list - if it s the goal state we re done! - if it s not the goal state Add all of the next states to the to_visit list - repeat 3 4 list keeps track of where to go next, i.e. the states we know about but haven t explored

  45. 1 4 3 2 8 7 6 5 12 11 10 9 14 13 to_visit - take a state off the to_visit list - if it s the goal state we re done! - if it s not the goal state Add all of the next states to the to_visit list - repeat 4 Is it a goal state?

  46. 1 4 3 2 8 7 6 5 12 11 10 9 14 13 to_visit - take a state off the to_visit list - if it s the goal state we re done! - if it s not the goal state Add all of the next states to the to_visit list - repeat 5 6 4

  47. 1 4 3 2 8 7 6 5 12 11 10 9 14 13 to_visit - take a state off the to_visit list - if it s the goal state we re done! - if it s not the goal state Add all of the next states to the to_visit list - repeat 6 4 Is it a goal state?

  48. 1 4 3 2 8 7 6 5 12 11 10 9 14 13 to_visit - take a state off the to_visit list - if it s the goal state we re done! - if it s not the goal state Add all of the next states to the to_visit list - repeat 6 4

  49. 1 4 3 2 8 7 6 5 12 11 10 9 14 13 to_visit - take a state off the to_visit list - if it s the goal state we re done! - if it s not the goal state Add all of the next states to the to_visit list - repeat 4 Is it a goal state?

  50. 1 4 3 2 8 7 6 5 12 11 10 9 14 13 to_visit - take a state off the to_visit list - if it s the goal state we re done! - if it s not the goal state Add all of the next states to the to_visit list - repeat 4

More Related Content