Adaptive Engine
- class tsuchinoko.adaptive.Engine[source]
The Adaptive Engine base class. This component is generally to be responsible for determining future measurement targets.
- abstract request_targets(position: Tuple) Iterable[Tuple] [source]
Determine new targets to be measured
- Parameters:
- position: tuple
The current ‘position’ of the experiment in the target domain.
- Returns:
- targets: array_like
The new targets to be measured.
- abstract reset()[source]
Called when an experiment stops, or is about to start. Returns the engine to a clean state.
- abstract train()[source]
Perform training. This can be short-circuited to only train on every N-th iteration, for example.