Skip to main content

Jax-based library for nonlinear reconciliation and learning

Project description

JNLR Jax-based non-linear reconciliation and learning

JNLR Logo

J-NLR is a Python library for non-linear reconciliation, learning, and geometric analysis on constraint manifolds. Built on JAX, it leverages automatic differentiation and GPU/TPU acceleration to efficiently project predicted values onto surfaces defined by implicit constraints $f(z) = 0$.

📚 Documentation - Full API reference, examples, and interactive notebooks

Key Features

  • Non-linear Reconciliation: Multiple solvers (Augmented Lagrangian, curvature-aware Newton, vanilla projections) for projecting forecasts onto constraint manifolds
  • SHOULD Analysis: Curvature-based methods to determine when reconciliation is beneficial—verify if RMSE is guaranteed to reduce before applying corrections
  • Manifold Sampling: Sample from explicit (graph) or implicit manifolds using volume-weighted sampling, Latin hypercube, or Langevin dynamics on the constraint surface
  • Mesh Generation: Create triangulated meshes from explicit parameterizations for visualization and geodesic computation
  • Geodesics: Compute geodesic distances and shortest paths on manifolds via exact MMP algorithm or fast graph-based approximations; includes probabilistic scores like pointcloud geodesic distance
  • Visualization: Interactive 3D rendering of manifolds, projections, and geodesic paths with Plotly
  • JAX-native: Fully JIT-compiled and vectorized (vmap) for high-performance batch processing

Running the notebooks

If you want to run the notebooks, the suggested way is to install uv packet manager, cloning the repo and, from a terminal: uv pip install -e .

Citation

If you use JNLR in academic work, please cite the associated paper:

Lorenzo Nespoli, Anubhab Biswas, Roberto Rocchetta, and Vasco Medici.
"Nonlinear reconciliation: Error reduction theorems."
Transactions on Machine Learning Research (TMLR), 2026.
OpenReview: https://openreview.net/forum?id=dXRWuogm3J

BibTeX

@article{nespoli2026nonlinear_reconciliation,
  title   = {Nonlinear reconciliation: Error reduction theorems},
  author  = {Nespoli, Lorenzo and Biswas, Anubhab and Rocchetta, Roberto and Medici, Vasco},
  journal = {Transactions on Machine Learning Research},
  year    = {2026},
  url     = {https://openreview.net/forum?id=dXRWuogm3J},
  note    = {Accepted by TMLR}
}

Acknowledgements

This work has been funded by the Swiss State Secretariat for Education, Research and Innovation (SERI) under the Swiss contribution to the Horizon Europe projects DR-RISE (Horizon Europe, Grant Agreement No. 101104154) and REEFLEX (Horizon Europe, Grant Agreement No. 101096192).

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

jnlr-0.1.0.tar.gz (45.4 kB view details)

Uploaded Source

Built Distribution

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

jnlr-0.1.0-py3-none-any.whl (46.6 kB view details)

Uploaded Python 3

File details

Details for the file jnlr-0.1.0.tar.gz.

File metadata

  • Download URL: jnlr-0.1.0.tar.gz
  • Upload date:
  • Size: 45.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for jnlr-0.1.0.tar.gz
Algorithm Hash digest
SHA256 ffe9f3e9a16c2ba46319cefab1378496fb8b7ff308c7d0b5242ed1ecf8a70d02
MD5 19c286eb68cf1cd444599f075a298fcc
BLAKE2b-256 68fb6ef0f87914a8faf469d348c4a0ae8459082f16334e1c74e36fb228937d9c

See more details on using hashes here.

Provenance

The following attestation bundles were made for jnlr-0.1.0.tar.gz:

Publisher: publish.yml on supsi-dacd-isaac/JNLR

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file jnlr-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: jnlr-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 46.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for jnlr-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ef2003829676700e836d1cf2506e6134f42558ec07c64a42bb2ee604abc48711
MD5 5caef6375f1043c37467f54c5d61180f
BLAKE2b-256 c12472e29a9791bdba28b4823a96282836f10b8f477dbba5510efbf134bdc288

See more details on using hashes here.

Provenance

The following attestation bundles were made for jnlr-0.1.0-py3-none-any.whl:

Publisher: publish.yml on supsi-dacd-isaac/JNLR

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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