You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This code implements the simulation results reported in:
M. W. Spratling (2016) Predictive Coding as a Model of Cognition, Cognitive Processing, 17(3): 279-305.
Please cite this paper if this code is used in, or to motivate, any publications.
This code was tested with MATLAB Version 18.104.22.1681 (R2013b) and 22.214.171.124613 (R2015a)
To use this software:
start matlab move to the directory containing this code run one of the functions listed in the table below
Each of the following functions runs an experiment reported in the above publication. The following table gives details of which MATLAB command produces each figure in this article.
|8left||words(1); (Figs 1 to 5)|
|8right||words(0); (Figs 1 to 5)|
|9||words(1); (Figs 6 to 9)|
|11||jets_sharks (Figs 7, 2, 4, 9, and 8)|
|14bottom||collision_physics (Figs 1 to 3)|
|15bottom||collision_physics (Figs 4 to 7)|
|16||collision_physics (Figs 8 to 11)|
** to run these functions you will need the appropriate datasets installed on your system, and you will need to edit the paths in the file images_load_dataset.m to point to the locations where this data is stored.