Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type OneD ¶
type OneD struct { Code PopCodes `desc:"how to encode the value"` Min float32 `` /* 168-byte string literal not displayed */ Max float32 `` /* 168-byte string literal not displayed */ Sigma float32 `` /* 149-byte string literal not displayed */ Clip bool `desc:"ensure that encoded and decoded value remains within specified range"` Thr float32 `` /* 201-byte string literal not displayed */ MinSum float32 `` /* 174-byte string literal not displayed */ }
popcode.OneD provides encoding and decoding of population codes, used to represent a single continuous (scalar) value across a population of units / neurons (1 dimensional)
func (*OneD) Decode ¶
Decode decodes value from a pattern of activation as the activation-weighted-average of the unit's preferred tuning values. must have 2 or more values in pattern pat.
Click to show internal directories.
Click to hide internal directories.