Skip to content

Evidence

Evidence stores persisted observation metadata for a probabilistic variable.

See Belief Propagation for the difference between persisted evidence and runtime evidence={...} arguments.

Reference

tonggraph.Evidence

Persisted evidence metadata record.

id property

id: int

Internal integer evidence ID.

variable_id property

variable_id: int

Variable ID the evidence applies to.

payload property

payload: dict[str, PropertyValue]

Evidence payload. A state string is used by belief propagation.