GALIATSATOS / PLA-BN
galiatsatos-plabn is the installable Python package for the GALIATSATOS outcome-definition alignment framework and its first Bayesian reference estimator, PLA-BN (Partition-Lattice Aligned Bayesian Network).
GALIATSATOS is designed for supervised learning when different data sources use different documented definitions of the same underlying outcome. Each definition is encoded as a column-stochastic operator over a finite canonical state. Before model fitting, the stacked operators are checked by a rank/SVD gate. PLA-BN then estimates a canonical posterior using a discrete Naive Bayes or Tree-Augmented Naive Bayes structure with guarded multi-start coarsening-aware Structural EM, and the fitted posterior can be transported to another documented target definition.
Installation
After publication on PyPI:
pip install galiatsatos-plabn
For local installation from this source directory:
pip install .
Quick start
import numpy as np
from galiatsatos_plabn import GaliatsatosMethod, make_ordered_threshold_operator
C1 = make_ordered_threshold_operator(3, threshold=1)
C2 = make_ordered_threshold_operator(3, threshold=2)
X1 = np.array([[0, 0], [0, 1], [1, 0], [1, 1], [2, 1], [2, 2]])
y1 = np.array([0, 1, 1, 1, 1, 1])
X2 = np.array([[0, 0], [1, 0], [1, 1], [2, 1], [2, 2], [2, 1]])
y2 = np.array([0, 0, 0, 1, 1, 1])
model = GaliatsatosMethod(
n_classes=3, structure="tan", smoothing=0.10,
max_iter=120, tol=1e-5, n_init=3, init_jitter=0.05,
random_state=0,
).fit([X1, X2], [y1, y2], [C1, C2])
canonical_proba = model.transform(X1[:2])
target_proba = model.transport_proba(X1[:2], C2)
Public API
from galiatsatos_plabn import (
GaliatsatosMethod,
PLABNClassifier,
coarsening_rank,
make_ordered_threshold_operator,
sample_observed_labels,
)
GaliatsatosMethod— named GALIATSATOS interface exposing canonical posterior embeddings and transport.PLABNClassifier— PLA-BN reference Bayesian estimator.coarsening_rank— rank/SVD definition-level identifiability diagnostic.make_ordered_threshold_operator— helper for deterministic ordered-threshold operators.sample_observed_labels— sampling helper for deterministic or stochastic operators.
Frozen manuscript core
The packaged src/galiatsatos_plabn/plabn.py is a byte-identical copy of the manuscript-locked PLA-BN v1.0.0 core.
SHA-256:
c8e0a286213a87ecaf5a9ab03e473d76989c92ab5856520c60993a98bfb40751
The root-level plabn_frozen_v1.0.0.py is included as an archival copy of the same frozen source.
Reproducibility
Repository: https://github.com/dgaliatsatos2010/GALIATSATOS-PLA-BN
Archived v1.0.0 release: https://doi.org/10.5281/zenodo.22079293
The full research repository contains the validation pipelines, simulation code, fold-level outputs, out-of-fold predictions, audit records, tests, and provenance documentation supporting the manuscript.
Citation
If you use this software, please cite the archived software release and the associated manuscript:
Galiatsatos, D. Learning Across Heterogeneous Outcome Definitions: The GALIATSATOS Framework and Partition-Lattice Aligned Bayesian Networks. Manuscript submitted to Communications in Statistics – Simulation and Computation.
Software archive: https://doi.org/10.5281/zenodo.22079293
License
MIT License. See LICENSE.
Metadata
Release files for galiatsatos-plabn 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| galiatsatos_plabn-1.0.0.tar.gz | 15.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| galiatsatos_plabn-1.0.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 27.4 kB
Release files / galiatsatos_plabn-1.0.0.tar.gz
| Download URL | galiatsatos_plabn-1.0.0.tar.gz |
|---|---|
| Size | 15.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a58bfa3de5f34f2a5d2b6220140306811e3647a2dc24c90b3955dcca5c576ced
|
|
BLAKE2b-256 checksum How to use checksums |
63b6b9bcb20cb7df4a36832da04449cdd8fa6822b1d44be814bdd7b93610f462
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 5, 2026.
Transparency logRelease files / galiatsatos_plabn-1.0.0-py3-none-any.whl
| Download URL | galiatsatos_plabn-1.0.0-py3-none-any.whl |
|---|---|
| Size | 11.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b0ee9e141b68478b1ba6db3593666b439550de462a8495ee2985547201135e47
|
|
BLAKE2b-256 checksum How to use checksums |
45da744307b3421d2306773a320066e03f9e3e7233838f842526353bd7d50d0e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 5, 2026.
Transparency log