public final class BackdoorGraph extends Object
Modifier and Type | Method and Description |
---|---|
static void |
convert(Network network,
Evidence evidence,
Distribution query,
BackdoorGraphOptions options)
Constructs the Backdoor graph or the proper Backdoor graph from a Bayesian network, one of more treatments (X) and one or more outcomes (Y).
|
static void |
convert(Network network,
List<CausalNode> treatments,
List<CausalNode> outcomes,
BackdoorGraphOptions options)
Constructs the Backdoor graph or the proper Backdoor graph from a Bayesian network, one of more treatments (X) and one or more outcomes (Y).
|
public static void convert(Network network, Evidence evidence, Distribution query, BackdoorGraphOptions options)
network
- The Bayesian network, which will be edited in-place.evidence
- Evidence which contains one or more interventions (treatments X), and optionally other standard (non-intervention) evidence.query
- One or more outcomes (Y).options
- Options for the conversion.public static void convert(Network network, List<CausalNode> treatments, List<CausalNode> outcomes, BackdoorGraphOptions options)
network
- The Bayesian network, which will be edited in place.treatments
- One or more nodes with interventions (do) evidence set.outcomes
- One or more outcomes (Y).options
- Options for the conversion.Copyright © 2023. All rights reserved.