Skip to main content

minimal_counterfactual

Function minimal_counterfactual 

Source
pub fn minimal_counterfactual(
    records: &[SyntheticRecord],
    source_id: &str,
    desired_selected: bool,
) -> Result<Counterfactual>
Expand description

Finds the nearest synthetic record with the desired outcome.