Artificial Intelligence a Modern Approach 4th Ed by Peter Norvig and Stuart Russel
Project description
Introduction
Code for Artificial Intelligence: A Modern Approach (AIMA) 4th edition by Peter Norvig and Stuart Russel.
Shameless reuse of Norvig's official repository at https://github.com/aimacode/aima-python/
The code should work in Python 3.9 and Python 3.10. Not yet tested with Python 3.11, 3.12, or 3.13.
Browse
You can get some use out of the code here just by browsing, starting at the root of the source tree or by clicking on the links in the index on the project home page. The source code is in the .py files; the .txt files give examples of how to use the code.
Installation
Linux
git clone git@gitlab.com:tangibleai/inactive/aima
cd aima
python3.10 -m venv .venv
source .venv/bin/activate
pip install -e .
Mac
- install XCode
- use Linux instructions above
Windows
- install git-bash or WSL
- use Linux instruction above
Testing
In the aima/
directory, execute the command
python doctests.py -v *.py
Run the Code
You're on your own -- experiment! Read the book, create a new python file, import the modules you need, and call the functions you want!
Acknowledgements
Norvig and the aima-python contibutors: Many thanks for the bug reports, corrected code, and other support from Phil Ruggera, Peng Shao, Amit Patil, Ted Nienstedt, Jim Martin, Ben Catanzariti, and others.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file aima-2024.9.27.tar.gz
.
File metadata
- Download URL: aima-2024.9.27.tar.gz
- Upload date:
- Size: 307.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.10.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 105acb737b10b53335737f0fd811e2a46113aae9f21799c48f951412534a4bcb |
|
MD5 | a685f10ac3c16acdb9cf57ef9b229e40 |
|
BLAKE2b-256 | c7f7d22890cda19ba67356b11ac6df49880f41080cd667130c0bc776a3a937bf |
File details
Details for the file aima-2024.9.27-py3-none-any.whl
.
File metadata
- Download URL: aima-2024.9.27-py3-none-any.whl
- Upload date:
- Size: 347.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.10.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 289124de8e6fce9ae3d3247514b212e70569fdf00840d3713df71912e468af27 |
|
MD5 | 23ae6e3ede890d5bfff5588a6b249332 |
|
BLAKE2b-256 | c3491d61a9acacc92782b44381b68f78b6811407a3d5b95dfab298d0da43cce1 |