Skip to content

jordanbCS/LAG-1_legacy_fork_20230212

Repository files navigation


LAG-1 - Learning, Attention, and Gaze 1.0

A free and open source MATLAB implementation of the integration of learning, attention and gaze during category learning (LAG-1, Barnes, Blair, Walshe & Tupper, 2022).

https://doi.org/10.1371/journal.pone.0259511

LAG-1 final publication proof


Version 1.0

Written by Jordan Barnes, Mark Blair, Calen Walshe and Paul Tupper at Simon Fraser University and University of Texas, CPS.

GPL license.

OVERVIEW

LAG-1 is a simple package that can be run from Matlab or compiled and run as a standalone application. It is so named to highlight the important connections between learning and looking in visual category learning experiments. It is known to exhibit stimulus responsive attention for 1 feature contingency within a category but could likely do more. The code is quite "experimental" so don't be surprised if you need to ask for help with running it out of the box.

You can download the latest version of LAG-1 from the git repository at:

https://github.com/jordanbCS/LAG-1_legacy_fork_20230212

INSTALLATION

Clone or decompress the archive in a folder of your choice and add this folder to to your MATLAB path.

LAG-1 requires a Matlab installation, available for Windows, Mac OSX and Linux, or the installation of Matlab runtime libraries which are available here:

http://www.mathworks.com/products/compiler/mcr/

LAG-1, as first committed, has been tested on versions of Matlab dating as far back as 2007.

QUICK START

  • Begin by defining a category structure in experimentConfig.txt (and in several random spots as experiment specific conditions until cleaned up).

  • Set the desired values of parameter_source.txt

  • Call the model using several different options:

    Example usage

    Default options

    [accuracy, category, fixOrder, subjectNumber, Duration, recordSaccStart, recordSaccEnd, endFit, wtHist, accuracyLevels, Responses, ResponseDist] = TwoDSimulator(varargin)

    Specific category structure

    • 1 = ET3 (code name for Meier2013)
    • 2 = SSHRC_IF (code name for McColeman2011)
    • 3 = 5/4 (code name for Rehder2005)
    • 6 = Kruschke2005 blocking structure
    • 7 = Simple blocking structure

    [accuracy, category, fixOrder, subjectNumber, Duration, recordSaccStart, recordSaccEnd, endFit, wtHist, accuracyLevels, Responses, ResponseDist] = TwoDSimulator(1)

    Specific category structure and learning type

    • 1 = corrective Hebbian association
    • 2 = only correct Hebbian association
    • 3 = unsupervised decoupling of chosen answer with features
    • 4 = unsupervised decoupling of chosen answer with features and coupling of alternative features with alternative categories.

    [accuracy, category, fixOrder, subjectNumber, Duration, recordSaccStart, recordSaccEnd, endFit, wtHist, accuracyLevels, Responses, ResponseDist] = TwoDSimulator(3,1)

Demonstration videos

https://github.com/jordanbCS/LAG-1_legacy_fork_20230212/tree/main/media

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages