DualDelayMatchSample-v0

class neurogym.envs.dualdelaymatchsample.DualDelayMatchSample(dt=100, rewards=None, timing=None, sigma=1.0)[source]

Two-item Delay-match-to-sample.

The trial starts with a fixation period. Then during the sample period, two sample stimuli are shown simultaneously. Followed by the first delay period, a cue is shown, indicating which sample stimulus will be tested. Then the first test stimulus is shown and the agent needs to report whether this test stimulus matches the cued sample stimulus. Then another delay and then test period follows, and the agent needs to report whether the other sample stimulus matches the second test stimulus.

Reference paper

Reactivation of latent working memories with transcranial magnetic stimulation

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/DualDelayMatchSample-v0_examplerun.png