All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- New conditional independence tests for discrete variables
- Adds warning in BayesianEstimator when using dirichlet prior.
- Bug in
PC.skeleton_to_pdag
. - Bug in
HillClimbSearch
when no legal operations.
- PC estimator with original, stable, and parallel variants.
- PDAG class to represent partially directed DAGs.
pgmpy.utils.get_example_model
function to fetch models from bnlearn repository.- Refactor HillClimbSearch with a new feature to specify fixed edges in the model.
- Adds a global
SHOW_PROGRESS
variable. - Adds Chow-Liu structure learning algorithm.
- Add
pgmpy.utils.get_example_model
to fetch models from bnlearn's repository. - Adds
get_value
andset_value
method toDiscreteFactor
to get/set a single value. - Adds
get_acestral_graph
toDAG
.
- Refactors ConstraintBasedEstimators into PC with a lot of general improvements.
- Improved (faster, new arguments) indepenedence tests with changes in argument.
- Refactors
sample_discrete
method. Sampling algorithms much faster. - Refactors
HillClimbSearch
to be faster. - Sampling methods now return dataframe of type categorical.
Data
class.
- New example notebook: Alarm.ipynb
- Support for python 3.8
- Score Caching support for scoring methods.
- Code quality check moved to codacy from landscape
- Additional parameter
max_ci_vars
forConstraintBasedEstimator
. - Additional parameter
pseudo_count
for K2 score. - Sampling methods return state names instead of number when available.
- XMLBIFReader and BIFReader not accepts argument for specifying state name type.
- Additional checks for TabularCPD values shape.
DiscreteFactor.reduce
accepts both state names and state numbers for variables.BeliefPropagation.query
fixed to return normalized CPDs.- Bug in flip operation in
HillClimbSearch
. - BIFWriter to write the state names to file if available.
BayesianModel.to_markov_model
fixed to work with disconnected graphs.- VariableElimination fixed to not ignore identifical factors.
- Fixes automatic sorting of state names in estimators.
- No support for ProbModelXML file format.
- Documentation updated to include Structural Equation Models(SEM) and Causal Inference.
- Adds Mmhc estimator.
- BdeuScore is renamed to BDeuScore.
- Refactoring of NaiveBayes
- Overhaul of CI and setup infrastructure.
- query methods check for common variabls in variable and evidence argument.
- Example notebooks for Inference.
- DAG.moralize gives consistent results for disconnected graphs.
- Fixes problems with XMLBIF and BIF reader and writer classes to be consistent.
- Better integration of state names throughout the package.
- Improves remove_factors and add_factors methods of FactorGraph
- copy method of TabularCPD and DiscreteFactor now makes a copy of state names.
- six not a dependency anymore.