Parameter Estimation#

Estimator classes for fitting model parameters and related marginal representations from data.

Estimator Base Classes#

BaseEstimator([data, state_names])

Base class for estimators in pgmpy; ParameterEstimator, StructureEstimator and StructureScore derive from this class.

ParameterEstimator(model, data, **kwargs)

Base class for parameter estimators in pgmpy.

StructureEstimator([data, independencies])

Base class for structure estimators in pgmpy.

MarginalEstimator(model, data, **kwargs)

Base class for marginal estimators in pgmpy.

Bayesian Network and SEM Estimators#

MaximumLikelihoodEstimator(model, data, **kwargs)

Class used to compute parameters for a model using Maximum Likelihood Estimation.

BayesianEstimator(model, data, **kwargs)

Class used to compute parameters for a model using Bayesian Parameter Estimation.

ExpectationMaximization(model, data, **kwargs)

Class used to compute parameters for a model using Expectation Maximization (EM).

SEMEstimator(model)

Base class of SEM estimators.

IVEstimator(model)

Initialize IVEstimator object.

Marginal and Graphical Model Fitting#

MirrorDescentEstimator(model, data, **kwargs)

Class for estimation of a undirected graphical model based upon observed marginals from a tabular dataset.