|
||
---|---|---|
LICENSE | ||
README.md | ||
categorise_aha_goldstone.m | ||
categorise_example_weights.m | ||
categorise_medin_schaffer_expt2.m | ||
categorise_nosofsky_etal_expt1.m | ||
categorise_nosofsky_etal_expt2.m | ||
categorise_smith_minda_expt2.m | ||
classify_images.m | ||
classify_images_kNN.m | ||
collision_physics.m | ||
collision_physics_data.m | ||
dim_activation.m | ||
dim_activation_batch.m | ||
dim_activation_hierarchical.m | ||
draw_letter.m | ||
encode_letter.m | ||
images_load_dataset.m | ||
isodd.m | ||
jets_sharks.m | ||
maxsubplot.m | ||
odd.m | ||
task_switch_mapping.m | ||
task_switch_saccades.m | ||
words.m | ||
words_perceptual_advantage.m | ||
words_perceptual_advantage_asynconset1.m | ||
words_perceptual_advantage_asynconset2.m | ||
words_perceptual_advantage_asynconset3.m | ||
words_perceptual_advantage_asynconset4.m | ||
words_perceptual_advantage_asynconset5.m | ||
words_perceptual_advantage_asynconset7.m | ||
words_perceptual_advantage_asynconset8.m | ||
words_plot_results.m | ||
words_weights.m |
README.md
This code implements the simulation results reported in:
Please cite this paper if this code is used in, or to motivate, any publications.
USAGE
This code was tested with MATLAB Version 8.2.0.701 (R2013b) and 8.5.0.197613 (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.
Figure | MATLAB Function |
---|---|
3a-c | classify_images('YALE'); ** |
3d-f | classify_images('USPS'); ** |
5a-c | categorise_nosofsky_etal_expt1 |
5d-g | categorise_nosofsky_etal_expt2 |
5h-j | categorise_aha_goldstone |
5k | categorise_medin_schaffer_expt2 |
5l | categorise_smith_minda_expt2 |
8left | words(1); (Figs 1 to 5) |
8right | words(0); (Figs 1 to 5) |
9 | words(1); (Figs 6 to 9) |
10a&b | words_perceptual_advantage |
10c | words_perceptual_advantage_asynconset1 |
10d | words_perceptual_advantage_asynconset2 |
10e | words_perceptual_advantage_asynconset3 |
10f | words_perceptual_advantage_asynconset4 |
10g | words_perceptual_advantage_asynconset5 |
10h | words_perceptual_advantage_asynconset7 |
10i | words_perceptual_advantage_asynconset8 |
11 | jets_sharks (Figs 7, 2, 4, 9, and 8) |
12 | task_switch_saccades |
13 | task_switch_mapping |
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.