SingleContextDecisionMaking-v0

class neurogym.envs.contextdecisionmaking.SingleContextDecisionMaking(dt=100, context=0, rewards=None, timing=None, sigma=1.0, dim_ring=2)[source]

Context-dependent decision-making task.

The agent simultaneously receives stimulus inputs from two modalities ( for example, a colored random dot motion pattern with color and motion modalities). The agent needs to make a perceptual decision based on only one of the two modalities, while ignoring the other. The agent reports its decision during the decision period, with an optional delay period in between the stimulus period and the decision period. The relevant modality is not explicitly signaled.

Parameters:

context – int, 0 or 1 for the two context (rules). If 0, need to focus on modality 0 (the first one)

Reference paper

Context-dependent computation by recurrent dynamics in prefrontal cortex

Tags

perceptual, context dependent, 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/SingleContextDecisionMaking-v0_examplerun.png