Skip to main content

jkl-serialization

Python library for (de)serializing jkl data as used by the Bayesian Network Structure Learner GOBNILP and proposed by Jaakkola et al. in Learning Bayesian Network Structure using LP Relaxations.

Example

JKL String

3
0 4
-2.772589 2 1 2
-2.865831 0
-2.963209 1 2
-2.963209 1 1
1 4
-2.772589 2 0 2
-2.865831 0
-2.963209 1 2
-2.963209 1 0
2 4
-2.772589 2 0 1
-2.865831 0
-2.963209 1 1
-2.963209 1 0

Serialized Python Object

{
  '0': [('-2.772589', ['1', '2']),
        ('-2.865831', []),
        ('-2.963209', ['2']),
        ('-2.963209', ['1'])],
 '1': [('-2.772589', ['0', '2']),
       ('-2.865831', []),
       ('-2.963209', ['2']),
       ('-2.963209', ['0'])],
 '2': [('-2.772589', ['0', '1']),
       ('-2.865831', []),
       ('-2.963209', ['1']),
       ('-2.963209', ['0'])]
  }

Build Status

Build Status codecov

Metadata

Release files for jkl-serialization 0.0.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 jkl-serialization 0.0.1
File Size Uploaded
jkl_serialization-0.0.1.tar.gz 2.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for jkl-serialization 0.0.1
File Interpreter ABI Platform
jkl_serialization-0.0.1-py3-none-any.whl Python 3 none any Details

Total release size: 6.0 kB

Release files / jkl_serialization-0.0.1.tar.gz

Download URL jkl_serialization-0.0.1.tar.gz
Size 2.3 kB
Tags Source
SHA-256 checksum
How to use checksums
259c18ba56f92fbecbbc0c48434c0096f01bdb4e193c56bc883f01db1a5ddec0
BLAKE2b-256 checksum
How to use checksums
be8587be702ac622cdf4965332a81a08c973772270723403ae07dbc08e614616
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.4.2 requests/2.21.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.28.1 CPython/3.7.1

Release files / jkl_serialization-0.0.1-py3-none-any.whl

Download URL jkl_serialization-0.0.1-py3-none-any.whl
Size 3.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
cb7b0efb6d02cafe0d9597a6d9a4502f41e4b09774cbbceae94ee707fa458093
BLAKE2b-256 checksum
How to use checksums
c81cacc0bdab272380cad45b6e3495aed0e5b16ec232ab0c2eb2d74b7058aa54
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.4.2 requests/2.21.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.28.1 CPython/3.7.1

Release history Release notifications | RSS feed

This release

0.0.1 This release

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