n4
Python library
nirs4all Python
v0.9.3
The Python core of the ecosystem: declarative NIRS pipelines with 30+ spectral preprocessings, 15+ advanced PLS models, and a unified API over scikit-learn, TensorFlow, PyTorch and JAX. Train, explain, and export portable .n4a model bundles.
n4s
Desktop & web app
nirs4all Studio React · Electron
v0.7.0
The no-code application built on the library: a drag-and-drop pipeline builder, real-time spectral visualization, experiment tracking, and SHAP analysis — packaged with Electron for Windows, Linux and macOS, and runnable on the web.
n4m
PLS engine
nirs4all-methods C++ · C ABI
v0.99.0
A portable Partial Least Squares engine in C++17 with a stable C ABI (libn4m) and first-class bindings for Python, R, MATLAB/Octave, JavaScript/WebAssembly and Android — one numerical core, parity-checked across every language.
aom
Adaptive models
nirs4all-aom Python · sklearn
v0.1.1
Operator-adaptive calibration models — AOM-PLS, POP-PLS and AOM-Ridge — that fold spectral preprocessing directly into the model and replace external preprocessing grid-search. scikit-learn compatible; companion code for the AOM-PLS paper.
fmt
File readers
nirs4all-formats Rust
v0.1.0
Rust-first, low-level readers for ~58 NIRS & spectroscopy format families. Content-sniffed, lossless, provenance-tracked records with Python, R, WebAssembly and C bindings — the messy vendor-file zoo turned into one clean data model. Try the full reader catalog right in the browser via the live demo.
io
Dataset bridge
nirs4all-io Python · Rust · R
v0.1.1
A dataset-assembly bridge: turn any input — a folder, a glob, vendor spectra plus a reference table, or a config — into a pipeline-ready dataset through resolve → infer → configure → materialize, with a score-based inference engine. Built on nirs4all-formats.
ds
Reference datasets
nirs4all-datasets Python
v0.2.0
A Python library that transparently pulls curated, hand-picked NIRS test datasets from Dataverse — turning reproducible, DOI-citable benchmarks and lab experiments into a one-line import.
dag
Execution core
dag-ml Rust · C ABI
v0.1.0-alpha
A leakage-safe, in-process DAG execution core. It owns the graph, phases, folds, out-of-fold joins, lineage, caching and deterministic RNG — exposed through a C ABI so any host language can drive reproducible ML pipelines.
dat
Data contracts
dag-ml-data Rust · C ABI
v0.1.0-alpha
The data-contract and planning layer beneath dag-ml: typed, sample-aligned, multi-source data views, representation adapters, data plans, and schema fingerprints — the foundation that keeps pipelines reproducible.
clu
Distributed execution
nirs4all-cluster Python
v0.0.1
A public alpha prototype for distributing nirs4all.run() across lab machines — FastAPI coordinator, SQLite queue, capability routing and crash-safe leases. It is a validation bench, not a production service.
web
Browser client
nirs4all-web WASM · JS
v0.1.0
The browser-native client: a full-WASM mini Studio that runs the whole NIRS loop — load spectra, build a pipeline from nirs4all-methods nodes, train, score and predict — entirely client-side, no Python.
lt
Portable bindings
nirs4all-lite Rust · Python · R · WASM
v0.1.0
The canonical low-level distribution that aggregates dag-ml, dag-ml-data, formats, io, datasets and methods. It exposes native binding surfaces without adding parsers or methods; full upstream integrations and pipeline parity fixtures are the next hardening step.
Reproducible, scored nirs4all pipelines run on curated reference datasets, published as a browsable benchmark resource. The design is taking shape; it is not a public submission platform.