DelayMatchSample-v0

class neurogym.envs.delaymatchsample.DelayMatchSample(dt=100, rewards=None, timing=None, sigma=1.0, dim_ring=2)[source]

Delayed match-to-sample task.

A sample stimulus is shown during the sample period. The stimulus is characterized by a one-dimensional variable, such as its orientation between 0 and 360 degree. After a delay period, a test stimulus is shown. The agent needs to determine whether the sample and the test stimuli are equal, and report that decision during the decision period.

Reference paper

Neural Mechanisms of Visual Working Memory in Prefrontal Cortex of the Macaque

Tags

perceptual, working memory, two-alternative, supervised

Supervised learning and analysis of this task

[Open in colab] [Jupyter notebook Source]

Reinforcement learning and analysis of this task

[Open in colab] [Jupyter notebook Source]

Sample run
../_images/DelayMatchSample-v0_examplerun.png