pub struct InterventionResult {
pub baseline_samples: Vec<HashMap<String, f64>>,
pub intervened_samples: Vec<HashMap<String, f64>>,
pub effect_estimates: HashMap<String, EffectEstimate>,
}Expand description
Result of an intervention experiment.
Fields§
§baseline_samples: Vec<HashMap<String, f64>>Samples generated without any intervention.
intervened_samples: Vec<HashMap<String, f64>>Samples generated under the do-calculus intervention.
effect_estimates: HashMap<String, EffectEstimate>Estimated causal effects for each variable.
Trait Implementations§
Source§impl Clone for InterventionResult
impl Clone for InterventionResult
Source§fn clone(&self) -> InterventionResult
fn clone(&self) -> InterventionResult
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for InterventionResult
impl RefUnwindSafe for InterventionResult
impl Send for InterventionResult
impl Sync for InterventionResult
impl Unpin for InterventionResult
impl UnsafeUnpin for InterventionResult
impl UnwindSafe for InterventionResult
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