FeatureCumulant

class FeatureCumulant(idx: int)

Bases: pandemonium.cumulants.Cumulant

Tracks a single value from the feature vector \(\boldsymbol{x}\)

In case when the features are linearly separable (linea FA) this cumulant can track the value of a particular feature in the feature vector over time.

For example, we can assign a demon to learn to predict the amount of light that it will accumulate, if we know that our feature vector index idx corresponds to the reading of the light sensor.

Methods Summary

__call__(self, experience, ForwardRef])

Call self as a function.

Methods Documentation

__call__(self, experience: Union[ForwardRef(‘Transition’), ForwardRef(‘Trajectory’)])

Call self as a function.