Re: [Cleveland-AI-ML-support-group] How to get started with Python

From: Joe
Sent on: Saturday, September 3, 2011 4:53 PM
Hello all,
 Here's how to get started with the books python AI framework. The code is based on the books pseudo code.

Install python:
Download the code:
Download the data:
Copy the below code into the file and run: python

import sys
import agents

a.program((1, 'Clean'))
a.program((2, 'Clean'))

e = agents.TrivialVacuumEnvironment()

# python
<ModelBasedVacuumAgent> perceives ((0, 0), 'Dirty') and does Suck
<ModelBasedVacuumAgent> perceives ((0, 0), 'Clean') and does Right

Our Sponsors

People in this
Meetup are also in:

Sign up

Meetup members, Log in

By clicking "Sign up" or "Sign up using Facebook", you confirm that you accept our Terms of Service & Privacy Policy