PlanPosterior#
- class hybrid_aif.planning.PlanPosterior[source]#
Bases:
NamedTupleA continuous plan and the Laplace posterior around it.
- mode: Array#
The plans as a policy set,
(starts, policy_len, action_dim)(one member for one start), the best start’s at the indexq_piis a point mass on.
- posterior: TruncatedGaussian#
The
TruncatedGaussianon the box over the flattened plan,(policy_len · action_dim,), time-major.
- first_step(key)[source]#
A draw of the first step’s action from the posterior (in the box by construction).
- static __new__(_cls, mode, posterior)#
Create new instance of PlanPosterior(mode, posterior)