Model Conditioning#

do(model, vars_to_interventions[, prune_vars])

Replace model variables by intervention variables.

observe(model, vars_to_observations)

Convert free RVs or Deterministics to observed RVs.

change_value_transforms(model, ...)

Change the value variables transforms in the model

remove_value_transforms(model[, vars])

Remove the value variables transforms in the model

Model Optimization#

freeze_dims_and_data(model[, dims, data])

Recreate a Model with fixed RV dimensions and Data values.