CEMResult#
- class hybrid_aif.planning.CEMResult[source]#
Bases:
NamedTupleOne CEM plan: the posterior, the metrics, and the proposal it ended on.
G,q_piand everytreeleaf share the leading axis ofcandidates.- q_pi: Categorical#
The posterior over the candidates.
- tree: dict[str, dict[str, Interval]] | None#
The term tree of the objective over the candidates (
Noneundermetrics=False).
- candidates: Array#
The scored plans,
(num_candidates + 1, policy_len, action_dim); entry 0 is the final proposalmean.
- static __new__(_cls, q_pi, tree, candidates, G, mean, std)#
Create new instance of CEMResult(q_pi, tree, candidates, G, mean, std)