Skip to main content
CONIN Logo A Python library that supports the constrained analysis of probabilistic graphical models

Pytest Tests codecov Documentation Status GitHub contributors Merged PRs Code style: black

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.

Metadata

Release files for conin 1.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for conin 1.1.1
File Size Uploaded
conin-1.1.1.tar.gz 100.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for conin 1.1.1
File Interpreter ABI Platform
conin-1.1.1-py3-none-any.whl Python 3 none any Details

Total release size: 240.8 kB

Release files / conin-1.1.1.tar.gz

Download URL conin-1.1.1.tar.gz
Size 100.0 kB
Tags Source
SHA-256 checksum
How to use checksums
7f0d15e8342c52c3fb70c27e332943b3e051679d6658e75f0a14a6a1773b8b47
BLAKE2b-256 checksum
How to use checksums
cf95905252bbba5f843b45b9005135885867adcf789448d6ab6b4f1a02557294
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.7

Release files / conin-1.1.1-py3-none-any.whl

Download URL conin-1.1.1-py3-none-any.whl
Size 140.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b6e936539b634f8bf5e7de607e51620279914b2bc63b43eddf974307df4d3ba5
BLAKE2b-256 checksum
How to use checksums
5f25d81a66b9f5f518a903637ace2af80c41a988fd1e68ddd755730daa7cf37b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.7

Release history Release notifications | RSS feed

This release

1.1.1 This release

2 release files

1.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page