dowhy.graph_learners package

Submodules

dowhy.graph_learners.cdt module

class dowhy.graph_learners.cdt.CDT(data, full_method_name, *args, **kwargs)[source]

Bases: GraphLearner

Causal discivery using the Causal Discovery Toolbox. Link: https://github.com/FenTechSolutions/CausalDiscoveryToolbox

learn_graph(labels=None)[source]

Discover causal graph and return the graph in DOT format.

dowhy.graph_learners.ges module

class dowhy.graph_learners.ges.GES(data, full_method_name, *args, **kwargs)[source]

Bases: GraphLearner

Causal Discovery using GES method. Link: https://pypi.org/project/ges/

learn_graph(labels=None)[source]

Discover causal graph and return the graph in DOT format.

dowhy.graph_learners.lingam module

class dowhy.graph_learners.lingam.LINGAM(data, full_method_name, *args, **kwargs)[source]

Bases: GraphLearner

Causal discovery using the lingam library. Link: https://github.com/cdt15/lingam

learn_graph(labels=None)[source]

Discover causal graph and return the graph in DOT format.

Module contents

dowhy.graph_learners.get_discovery_class_object(method_name, *args, **kwargs)[source]

Import class from graph_learners.

dowhy.graph_learners.get_library_class_object(module_method_name, *args, **kwargs)[source]

Import library for causal inference.