Causal Discovery and Structure Learning#

Discovery algorithms and expert-guided workflows for learning graph structure from data.

Constraint and Hybrid Discovery#

PC([variant, ci_test, return_type, ...])

The PC algorithm for causal discovery / structure learning.

MmhcEstimator(data, **kwargs)

Implements the MMHC hybrid structure estimation procedure for learning BayesianNetworks from discrete data.

Expert-Guided Discovery#

ExpertInLoop([data])

ExpertKnowledge([forbidden_edges, ...])

Class to specify expert knowledge for causal discovery / structure learning algorithms.

See also

Conditional Independence (CI) Tests for conditional independence tests used by constraint-based methods.

Structure Scoring for the scoring classes used by score-based structure search.