pub struct CptKernel {
pub parents: Vec<VarSpec>,
pub child: VarSpec,
}Expand description
CPT kernel: builds P(child | parents…) as a discrete table with scope [parents…, child] Params are logits in row-major over that scope.
Fields§
§parents: Vec<VarSpec>§child: VarSpecTrait Implementations§
Source§impl FactorKernel for CptKernel
impl FactorKernel for CptKernel
Auto Trait Implementations§
impl Freeze for CptKernel
impl RefUnwindSafe for CptKernel
impl Send for CptKernel
impl Sync for CptKernel
impl Unpin for CptKernel
impl UnsafeUnpin for CptKernel
impl UnwindSafe for CptKernel
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more