Git Product home page Git Product logo

alcove's Introduction

#ALCOVE-MATLAB

This set of scripts runs a minimal version of the ALCOVE model of category learning (Kruschke, 1992). It is written in MATLAB, and is currently set up to simulate the six-types problem of Shepard, Hovland, & Jenkins (1961)--though it should generalize to any dataset. There are a variety of utility scripts, and a few important ones:

  • START.m can be used to test ALCOVE using particular parameter sets.
  • ALCOVE.m uses a provided architecture to train a network on a set of inputs and category assignments.
  • FORWARDPASS.m and UPDATE.m are used to propagate activations forward through the model, and error backward through the model, respectively. BACKPROP.m additionally completes a weight update.

Simulations are run by executing the START.m script. All simulations begin by passing a model struct to the ALCOVE.m function. At a minimum, 'model' needs to include:

Field Description Type
exemplars Matrix of training items / exemplar nodes Item-by-feature matrix
targets Network targets for each exemplar Item-by-category matrix [-1 +1]
numblocks # of passes through the training set Integer (>0)
numinitials # of random initial networks Integer (>0)
distancemetric Distance metric for exemplar nodes cityblock or euclidean
params [C, association learning, attention learning, PHI] Float vector (0 - Inf)

For almost all situations, inputs and targets should be scaled to [-1 +1]. ALCOVE.m will train the network and return a result struct. As-is, 'result' contains only training accuracy for each initialization at each training block. Additional measures, such as test phase classification, can be added. You will need to write custom code to compare ALCOVE's performance to a set of behavioral data.

Written by Nolan Conaway. Updated January 4, 2016

alcove's People

Contributors

nolanbconaway avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Forkers

ghonk malomm

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.