Skip to content

sandialabs/conin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

63 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

conin

A python library that supports the constrained analysis of probabilistic graphical models

Overview

Conin supports constrained inference and learning for hidden Markov models, Bayesian networks, dynamic Bayesian networks and Markov networks. Conin interfaces with the pgmpy python library for the specification of general probabilistic graphical models. Additionally, it interfaces with a variety of optimization solvers to support learning and inference.

Testing

Conin tests can be executed using pytest:

cd conin
pytest .

If the pytest-cov package is installed, pytest can provide coverage statistics:

cd conin
pytest --cov=conin .

The following options list the lines that are missing from coverage tests:

cd conin
pytest --cov=conin --cov-report term-missing .

Note that pytest coverage includes coverage of test files themselves. This gives a somewhat skewed sense of coverage for the code base, but it helps identify tests that are omitted or not executed completely.

About

A python library that supports the constrained analysis of probabilistic graphical models

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published