First Layer Descriptor

class pyogmaneo.FirstLayerDesc

Describes the first (bottom-most) layer of the hierarchy during initialization

(Int3) FirstLayerDesc._hiddenSize

Hidden layer sparse coder (AKA encoder) size

(int32) FirstLayerDesc._ffRadius

Feed-forward (bottom-up) sparse coder (AKA encoder) radius. Must be 0 or greater

(int32) FirstLayerDesc._pRadius

Feed-back (top-down) predictor radius. Must be 0 or greater

(int32) FirstLayerDesc._aRadius

Action radius. Must be 0 or greater

(int32) FirstLayerDesc._temporalHorizon

Temporal horizon of sparse coder (AKA encoder). Must be greater than or equal to 1

(int32) FirstLayerDesc._historyCapacity

History capacity of action layers. Used to propagate reward back through time. 32 is a good value to start with

FirstLayerDesc.__init__(self)

Initialize to sensible defaults

FirstLayerDesc.__init__(self, hiddenSize, ffRadius, pRadius, aRadius, temporalHorizon, historyCapacity)

Initialize to given values