Peter Norvig's Paradigms of AI Programming implemented in Python
This project is maintained by dhconnelly
Python implementations of some of the classic AI programs from Peter Norvig's fantastic textbook "Paradigms of Artificial Intelligence Programming."
This is meant to be a learning resource for beginning AI programmers. Although PAIP is a fantastic book, it is no longer common for students to have a background in Lisp programming, as many universities have replaced Lisp with other languages in introductory programming and introductory artificial intelligence courses. It is my hope that making the programs from PAIP available in a commonly-taught language will provide a useful hands-on resource for beginning AI students.
The following programs are available, each with annotated source:
Unit tests and some example applications are provided for each of these; see the
paip/tests
and paip/examples
directories or the links from the annotated
sources.
Get the source code from GitHub or just download the latest version.
Also make sure you have Python 2.7.
python run_examples.py
and follow the prompts../prolog.py
. Pass the -h
flag for more
details on its use and capabilities.python run_tests.py
.python build_docs.py
.paip/
paip/tests
python run_tests.py
These programs were written by Daniel Connelly at Georgia Tech as an independent project supervised by Professor Ashok Goel.