PerceptualDecisionMaking-v0

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

Two-alternative forced choice task in which the subject has to integrate two stimuli to decide which one is higher on average.

A noisy stimulus is shown during the stimulus period. The strength ( coherence) of the stimulus is randomly sampled every trial. Because the stimulus is noisy, the agent is encouraged to integrate the stimulus over time.

Parameters:
  • cohs – list of float, coherence levels controlling the difficulty of the task

  • sigma – float, input noise level

  • dim_ring – int, dimension of ring input and output

Reference paper

The analysis of visual motion: a comparison of neuronal and psychophysical performance

Tags

perceptual, 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/PerceptualDecisionMaking-v0_examplerun.png