These instruction cover installation of the code for the naive bayes tutorial. They expect you have installed the decision tree code according to the instructions given last week. Create a directory for the naive bayes software: > cd intro-to-ai > mkdir naive-bayes > cd naive-bayes Copy naive-bayes.tar.gz from the course directory. Extract naive-bayes.tar.gz in the directory you just created for it. > cp /bham/common/courses/ai-intro/source/naive-bayes.tar.gz . > tar -zxvf naive-bayes.tar.gz This will create one directory: src/ contains the code you will use Change to the src directory. > cd src Run SISC: > sisc From within SISC load spam-filter.scm > (load "spam-filter.scm") Remember: - if you want to inspect the corpus directly, it lives in /bham/common/courses/ai-intro/corpus/ - SISC documentation is available locally: file:///bham/common/courses/ai-intro/sisc/doc/index.html - For debugging there is a useful command (print-last-exception)