cascade.core.CausalNetwork.set_design

CausalNetwork.set_design(mask, k, design_scale_bias, target_weight)[source]

Set the design module

Parameters:
  • mask (BoolTensor) – Boolean mask that marks variables in the design candidate pool

  • k (int) – Maximal combination order to consider

  • design_scale_bias (bool) – Whether to optimize interventional scale and bias as well

  • target_weight (Tensor) – Variable weights for computing target deviation

Return type:

None