A Python package for data imputation using Continuous Mixtures of Tractable Probabilistic Models
Project description
cm-tpm (Continuous Mixtures of Tractable Probabilistic Models) is a Python package designed for efficient and scalable data imputation using prbabilistic circuits. The package provides a flexible and user-friendly API, making it easy to integrate into data preprocessing pipelines. cm-tpm is distributed under the MIT licence.
The project was started in 2025 by Hakim Agni under the supervision of Thomas Krak at Eindhoven University of Technology. It implements the data imputation method described in the paper Continuous Mixtures of Tractable Probabilistic Models, by Alvaro Correia, Gennaro Gala, Erik Quaeghebeur, Cassio de Campos and Robert Peharz.
Installation
Dependencies
cm-tpm requires:
- Python (>= 3.8)
User installation
The easiest way to install cm-tpm is using pip:
pip install cm-tpm
Development
Source code
You can check the latest source code with the command:
git clone https://github.com/Hakim-Agni/cm-tpm.git
If you want to run the code locally without installing, make sure you install the requirements for this package. To do this, run the following command in the project root:
pip install -r 'requirements.txt'
Testing
After installation, you can launch the test suite from outside the source directory (this requires pytest to be installed):
pytest tests
Help and Support
Documentation
The full documentation of this package will be published soon.
Communication
If you have any questions regarding this package, feel free to reach out via on of the following platforms:
- GitHub Discussions: Support added soon.
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file cm_tpm-1.0.0.tar.gz.
File metadata
- Download URL: cm_tpm-1.0.0.tar.gz
- Upload date:
- Size: 38.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.10.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4a5a5c2c5485d856506369da37c5659b4c251da4a65dc3e32fe4076271ef777d
|
|
| MD5 |
194cfca39f9963d863b0c26483decbc2
|
|
| BLAKE2b-256 |
88167719201c85b652eb325dd0e4d21c99c5a273489e31d07a4800eb04ca428e
|
File details
Details for the file cm_tpm-1.0.0-cp310-cp310-win_amd64.whl.
File metadata
- Download URL: cm_tpm-1.0.0-cp310-cp310-win_amd64.whl
- Upload date:
- Size: 75.4 kB
- Tags: CPython 3.10, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.10.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e95fbf276334332f6ee48bfd0ea1acced2bd58e58bf035a99e822a480e04f39f
|
|
| MD5 |
090d0c05c7715c5833755cce1459f3fa
|
|
| BLAKE2b-256 |
7dfccf7868a1b1d4547f7bcb03124e640da0b0ac6c419470f9d6906077e741ba
|