Skip to main content

PyPI version Contributions welcome GitHub license

Description

Python package for conditional density estimation. It either wraps or implements diverse conditional density estimators.

Density estimation with normalizing flows

This package provides pass-through access to all the functionalities of nflows.

Installation

pyknos requires Python 3.8 or higher. A GPU is not required, but can lead to speed-up in some cases. We recommend using a conda virtual environment (Miniconda installation instructions). If conda is installed on the system, an environment for installing pyknos can be created as follows:

$ conda create -n pyknos_env python=3.12 && conda activate pyknos_env

Independent of whether you are using conda or not, pyknos can be installed using pip:

pip install pyknos

Examples

See the sbi repository for examples of using pyknos.

Name

pyknós (πυκνός) is the transliterated Greek root for density (pyknótita) and also means sagacious.

Copyright notice

This program is free software: you can redistribute it and/or modify it under the terms of the Apache License 2.0., see LICENSE for more details.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.

Acknowledgments

Thanks to Artur Bekasov, Conor Durkan and George Papamarkarios for their work on nflows.

The MDN implementation in this package is based on Conor M. Durkan's.

Metadata

Release files for pyknos 0.16.0

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

Source distribution (sdist)

Source distribution for pyknos 0.16.0
File Size Uploaded
pyknos-0.16.0.tar.gz 15.1 kB Details

Built distribution (wheel)

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

Total release size: 28.5 kB

Release files / pyknos-0.16.0.tar.gz

Download URL pyknos-0.16.0.tar.gz
Size 15.1 kB
Tags Source
SHA-256 checksum
How to use checksums
4e1db834d8a5fd847882a081937732fea6798668b72293ae052765e7bfc371c3
BLAKE2b-256 checksum
How to use checksums
717c2688c3c4de39bb8fd0f3e9ca53d6910ddcbbac69be45f344d33d24f8e79b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.12.4

Release files / pyknos-0.16.0-py3-none-any.whl

Download URL pyknos-0.16.0-py3-none-any.whl
Size 13.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
92d00e0d67de289a873a38853287629a149f50d6d652defd43822fce5055a6fb
BLAKE2b-256 checksum
How to use checksums
d9f917fa7c008baa6eb09e5a0f58814d802d6791cb4cff1ff6c2f6fc2fbf711a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.12.4

Release history Release notifications | RSS feed

This release

0.16.0 This release

2 release files

0.15.2

2 release files

0.15.0

2 release files

0.14.1

2 release files

0.13.1

2 release files

0.13.0

2 release files

0.12.0

2 release files

0.11

1 release file

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