Skip to main content

Latent Compression OOD Soft Sensor

Research models for predicting penicillin and biomass from Raman spectra on IndPenSim V3: frozen CDAE/CVAE/beta-VAE/PCA/PLS encoders and physics-informed LSTM models, with neural ODE and optional Mamba and liquid variants.

Install

pip install indpensim_bench

Python 3.10 or later is required. Install the PyTorch build appropriate for your hardware if you need a specific CUDA runtime. Optional variants:

pip install "indpensim_bench[liquid]"
pip install "indpensim_bench[cde]"

The mamba extra requires a compatible CUDA/Linux build environment.

Library usage

from indpensim_bench.config import Config
from indpensim_bench.algorithms import get_algorithm
from importlib.resources import files

config_path = files("indpensim_bench").joinpath(
    "configs/beta_vae_pi_lstm.yaml"
)
cfg = Config.from_yaml(config_path)
algorithm_class = get_algorithm("beta_vae_pi_lstm")

Configuration paths for datasets and checkpoints must be adapted to your local files. The dataset, trained checkpoints and fitted scalers are not included. Obtain IndPenSim V3 separately from the dataset provider.

Reproduce the benchmark

The wheel provides the Python library. The source distribution also includes the original src/, train.py, evaluate.py, run_seeds.py, scripts/, configuration files and the full benchmark README. Extract the source archive and run these workflows from its root using the original README instructions. The original requirements file records the research environment; installing the library uses the smaller dependency list in pyproject.toml.

Existing checkpoints serialized with imports under src should be loaded from the original research source tree; automatic checkpoint migration is not provided.

Source repository and full documentation

Metadata

Release files for indpensim-bench 0.1.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 indpensim-bench 0.1.0
File Size Uploaded Provenance Actions
indpensim_bench-0.1.0.tar.gz 466.5 kB Without provenance Details for indpensim_bench-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for indpensim-bench 0.1.0
File Interpreter ABI Platform Actions
indpensim_bench-0.1.0-py3-none-any.whl Python 3 none any Details for indpensim_bench-0.1.0-py3-none-any.whl

Total release size: 627.5 kB

Release files / indpensim_bench-0.1.0.tar.gz

Download URL indpensim_bench-0.1.0.tar.gz
Size 466.5 kB
Tags Source
SHA-256 checksum
How to use checksums
b0f9247fe04c058acc02cc7a77f1a505e5b036c47a199c3e194ea180a68f55f0
BLAKE2b-256 checksum
How to use checksums
1216cf53888eac0b09683a8482c457d8ef38bbfa0799b20de6ec73f9161cc044
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.0

Release files / indpensim_bench-0.1.0-py3-none-any.whl

Download URL indpensim_bench-0.1.0-py3-none-any.whl
Size 161.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
da342fffb9f9c98f16800b37052b10b829c9a6a57cab3e5e488a3b5c9e8e20ec
BLAKE2b-256 checksum
How to use checksums
a0a3880629ccb8344d891f3854aebda4abe8565c8cad1a3b353c0cefab6dce81
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.0

Security for indpensim-bench 0.1.0

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

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