pub struct CausalValidator;Expand description
Validator for causal structure consistency.
Implementations§
Source§impl CausalValidator
impl CausalValidator
Sourcepub fn validate_causal_structure(
samples: &[HashMap<String, f64>],
graph: &CausalGraph,
) -> CausalValidationReport
pub fn validate_causal_structure( samples: &[HashMap<String, f64>], graph: &CausalGraph, ) -> CausalValidationReport
Validate that samples respect the causal structure of the graph.
Performs three checks:
- Edge correlation signs match mechanism coefficient signs
- Non-edges have weaker average correlation than edges
- Topological ordering holds in conditional means
Auto Trait Implementations§
impl Freeze for CausalValidator
impl RefUnwindSafe for CausalValidator
impl Send for CausalValidator
impl Sync for CausalValidator
impl Unpin for CausalValidator
impl UnwindSafe for CausalValidator
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