MPDL
Computing Research Methods Multi-Perspective Digital Library

Guests are welcome to view our materials. To subscribe, edit, view raw markup, etc., you'll need to register for an account. Accounts are free (and will always be free) - your involvement helps us directly and indirectly (by demonstrating that our work matters to our funders...) StartingPoints has more info.
MPDL » IntroAIFall08 » AgentSyntaxLab
What does

  • resolution is implemented in the agent python code. Get that running, and run it on a simple example. Walk us through what happens when the agent resolves some situation in the Wumpus World, explaining the process in our WumpusSyntax and the code used.

mean? How would you go about doing that? And how might we break that down into more steps.

  1. Where do you find the code?
    • Learning to use reusable code is not simple.
    • Hints: think in terms of research, because that's what this is a form of - like library research. Reusing reusable code segments is efficient, don't reinvent the wheel stuff. So look for keywords and key symbols. For this lab, I went back to the code site, and I matched up the chapter number, and then the names and numbered references in the book picture caption to the comments in the code itself. That's not accidental, that's good practices "best practices" in the free software community.
    • When you use reusable code, always provide some kind of link/reference to the code source. Why? So that people can find their way back to it in case they want to use it in some other way. It's what makes the reusable code world work. The consequence is that the way that you are pointed at reusable code sources will always be idiosyncratic (what?) - very personal - to the person who used that code source.
  2. What do we mean by describing a situation?
    • Some folks got too ambitious, and tried to do the whole WumpusWorld, loosing track of what? Loosing track of how time is handled in Propositional Logic. With only Prop Logic, we end up with an overwhelming # of sets of clauses for each time step.
    • Another possible 'pit' (sorry) to fall in is circuit-based agents, which are there to teach you about the tendency of AI/machine-learning/HCI/Pattern Recognition/yadayadayada folks to want to 'fix' their beloved algorithm that they have spent all that time developing by adding layers of modifications to it. Don't do it! Elegance and simplicity are critical design criteria in adaptive systems.
    • All of those byroads are important parts of your lab, because it's exploratory learning, and you are learning about the relationships between these various types of logic.
  3. So, describing the situation...
    • By the time you've run down your byroads and figured out what code to use, you'll have identified a full example from the text - (use the figure numbers as a pointer back into the text in our example, so look for 7.12 and 7.13 in the surrounding text). Take that example, make sense out of it, and then create one of your own, code it, run it, and walk us through the resolution.

MutualDiscoveryForm
Mutualdiscdev.CSUEBFall08Courses: IntroAIFall08
r5 - 12 May 2009 - 13:45:37 - HilaryHolz
Guests are welcome to view our materials. To subscribe, edit, view raw markup, etc., you'll need to register for an account. Accounts are free (and will always be free) - your involvement helps us directly and indirectly (by demonstrating that our work matters to our funders...) StartingPoints has more info.
This site is powered by the TWiki collaboration platformCopyright 1999-2009 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding Ahatwiki? Send feedback Syndicate this site RSSATOM