Skip to content

Repository for the "Computational Cognitive Modeling and Linguistic Theory" (Brasoveanu & Dotlacil 2020) book

License

Notifications You must be signed in to change notification settings

abrsvn/pyactr-book

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

53 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pyactr-book

Python package to create and run ACT-R cognitive models.

This includes the (frozen) version of pyactr for the "Computational Cognitive Modeling and Linguistic Theory" book, with all the book code included in the folder book-code.

The book is available open-access here or by clicking on the link above.

Running the code

Go to the folder notebooks, then:

  • click on the notebook you want to work through
  • wait (or refresh) until github renders it for you; if this doesn't work (sometimes github has issues rendering notebooks), download the corresponding pdf and open it locally on your computer
  • open the notebook in Google Colab by clicking on the Open In Colab badge at the top of the notebook (this works for both the rendered ipynb file or the pdf file opened locally on your computer)
  • enjoy reading, running the code interactively, modifying the code etc.

The first two notebooks provide a basic introduction to Jupyter notebooks and Python3 based on various resources; feel free to skip them if you've worked with python and notebooks before. The remainder of the notebooks cover Chapters 2 through 7 of the "Computational Cognitive Modeling and Linguistic Theory" book.

Some notebook images might not display correctly in Google Colab, and you'll have to set up access to your google drive if you want to load/save files (e.g., data, models, figures etc.), but you should be able to go through a good number of notebooks by just opening them in Google Colab and working through them interactively.

The current list of notebooks is provided below; click on the links to open the notebooks directly in Google Colab:

Documentation

More documentation about the pyactr package can be found in the pyactr GitHub repo. Go to:

https://github.com/jakdot/pyactr

Some of the documents are also available here in the folder docs.

Requirements

pyactr requires Python3 (>=3.3), numpy, simpy and pyparsing; it also requires tkinter if you want to see visual output of how ACT-R models interact with environment, but this is not necessary to run any models.

About

Repository for the "Computational Cognitive Modeling and Linguistic Theory" (Brasoveanu & Dotlacil 2020) book

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published