Skip to main content

Clio supports constrained analysis and learning for stochastic models with latent variables

Project description

<img src="doc/logos/conin_logo_large.png" align="center" alt="CONIN Logo" width="450"/>
A Python library that supports the constrained analysis of probabilistic graphical models

--------------------------------------------------------------------------------

[![Pytest Tests](https://github.com/sandialabs/conin/actions/workflows/pytest.yml/badge.svg?branch=main)](https://github.com/sandialabs/conin/actions/workflows/pytest.yml?query=branch%3Amain)
[![codecov](https://codecov.io/gh/sandialabs/conin/branch/main/graph/badge.svg)](https://codecov.io/gh/sandialabs/conin)
[![Documentation Status](https://readthedocs.org/projects/conin/badge/?version=latest)](http://conin.readthedocs.org/en/latest/)
[![GitHub contributors](https://img.shields.io/github/contributors/sandialabs/conin.svg)](https://github.com/sandialabs/conin/graphs/contributors)
[![Merged PRs](https://img.shields.io/github/issues-pr-closed-raw/sandialabs/conin.svg?label=merged+PRs)](https://github.com/sandialabs/conin/pulls?q=is:pr+is:merged)
[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

conin-1.1.tar.gz (100.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

conin-1.1-py3-none-any.whl (140.7 kB view details)

Uploaded Python 3

File details

Details for the file conin-1.1.tar.gz.

File metadata

  • Download URL: conin-1.1.tar.gz
  • Upload date:
  • Size: 100.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.7

File hashes

Hashes for conin-1.1.tar.gz
Algorithm Hash digest
SHA256 a31526bfba4f1bc59eeecaba5d9423b854853515bd8e159e6b825fe4017d7714
MD5 00e0e1cace4a2748d885d02e7b6fef41
BLAKE2b-256 ba2a4636a4bb2727fa0ab1136cd824e7d8ad56ede456b44ca98635118c4b6b04

See more details on using hashes here.

File details

Details for the file conin-1.1-py3-none-any.whl.

File metadata

  • Download URL: conin-1.1-py3-none-any.whl
  • Upload date:
  • Size: 140.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.7

File hashes

Hashes for conin-1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 f417097ca8111a3590b4c52738bcaa2b4daa83bbaad49c4982a9429083f862f8
MD5 29c17364e55699d13efed65636acc137
BLAKE2b-256 2e2c593e767786009c8d76ce9b5bf52b1143af1d68ea434c64e912accb982b3c

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page