Materials for a course on the (probabilistic) Language of Thought, covering the topic from a theoretical and practical point of view.
This repo contains a jupyter-book. There are two intended uses:
- Look at it as a book. Available at this page.
- Use the chapter notebooks in jupyter colab. The chapters (notebooks) can be imported directly from the repo into colab. You can use the link: use link: https://github.com/thelogicalgrammar/pLoT_course
TECHNICAL NOTE: Suppose you wanted to host your own version of the book to make some changes. Then, you need to:
- Fork the repository and clone it locally.
- Make the changes you want to the files.
- cd from root to
book
.- Build the book with jupyter-book. This updates the book in `_build'.
- Commit and push into your fork. Note that at this point you still have not hosted/changed the book's website.
- Update the ghp-import branch (which hosts the actual book) with
ghp-import -n -p -f _build/html
.- After a few minutes, you should be able to see your version of the book!
TECHNICAL NOTE: In order to keep the notebooks compatible with colab, make sure whenever a notebook needs some library to install it. Piantadosi's LOTlib3 needs slightly special treatment. See notebooks for example.