Projective Simulation
  • Get started
  • Documentation
  • Tutorials
  • Research

On this page

  • Factorizor methods
  • View source
  • Report an issue

Get percept

Description

source

get_percept

def get_percept(
    observation
):

Factorizor methods

Description


source

factorizor

def factorizor(
    percept_dict:dict={}
):

source

action_factorizor

def action_factorizor(
    percept_dict:dict={}, num_actions:NoneType=None
):

This preprocessor acts like factorizor, except it assumes an agent treats a predefined number of actions as a dimension of its percept It thus intialize its percept dictionary with a dictionary of these n actions that label the first n sensory representations of the agent It also handles the addition of the observed action to the percept when get_percept is called

  • View source
  • Report an issue