causal_hub.estimators#

Submodule estimators.

Functions

em(evidence, graph[, max_iter, seed])

A function to perform parameter learning using the Expectation Maximization (EM) algorithm.

sem(evidence, prior_knowledge, algorithm[, ...])

A function to perform structure learning using the Structural Expectation Maximization (SEM) algorithm.

causal_hub.estimators.em(evidence, graph, max_iter=10, seed=42)#

A function to perform parameter learning using the Expectation Maximization (EM) algorithm.

causal_hub.estimators.sem(evidence, prior_knowledge, algorithm, max_iter=10, seed=42, **kwargs)#

A function to perform structure learning using the Structural Expectation Maximization (SEM) algorithm.

class causal_hub.estimators.PK(labels, forbidden, required, temporal_order)#

Bases: object

A struct representing prior knowledge.

classmethod __new__(*args, **kwargs)#