Projective Simulation
  • Get started
  • Documentation
  • Tutorials
  • Research
  1. ECMs
  2. Priming
  • Documentation
  • Agents
    • Core
    • Foraging
  • ECMs
    • Core
    • Priming
    • State Estimators
  • Environments
    • Core
    • Foraging
    • POMDPs
    • Factorized POMDPs
  1. ECMs
  2. Priming

Priming


source

Priming_ECM

def __init__(
    num_actions:int, # The number of available actions.
    glow:float=0.1, # The glow (or eta) parameter.
    damp:float=0.01, # The damping (or gamma) parameter.
    softmax:float=0.5, # The softmax (or beta) parameter.
    action_primes:list=None, # weights on the probability that deliberation steps into each action. Defaults to 0 for each action
):

This sub-class of the Two-Layer ECM adds a variable for action priming. This variable should be a list of floats, each element of which corresponds to an action in the ECM. These “priming values” are summed with h-values of any edge connected to the associated action node prior to calculating walk probabilites with the softmax function

  • View source
  • Report an issue