Published November 4, 2026 | Version 1.0.0

Code and results for: Conformal Coverage Collapse under NIR Instrument Transfer and the Price of Restoring It with Labelled Target Samples

  • 1. ROR icon Bingöl University
  • 2. ROR icon Bitlis Eren University

Description

Code and results accompanying the article "Conformal Coverage Collapse under NIR Instrument Transfer and the Price of Restoring It with Labelled Target Samples" by Mazhar Kayaoğlu and Bahaddin Erdem (submitted to Applied Sciences, MDPI).

The study measures whether split-conformal prediction intervals keep their nominal coverage when a quantitative near-infrared (NIR) calibration is moved to another instrument, on four paired transfer axes (corn, pharmaceutical tablets, cross-manufacturer wheat and handheld soil units), and what it costs to restore validity with labelled target samples or with standardisation. Five point models are compared throughout: partial least squares (PLS), a 1D convolutional network (CNN1D), a bidirectional selective state-space model (BiSSM), a PLS-residual network (PLS-ResNet) and a guarded non-negative stack of PLS, CNN1D and PLS-ResNet (Stack).

The deposit contains the complete analysis pipeline, from the raw public datasets to every result table and figure; the result tables (CSV) and figures of the run reported in the article, including the analyses added in revision (reports/revision_01/); a consistency check that regenerates every results table from the stored results and compares it with the results documents; verification scripts that recompute the reported numbers from the stored results or, for a few, from the raw data; and the unit tests of the core components.

The five datasets are public and are not redistributed here; scripts/00_download.py downloads them. The stored results can be checked in minutes without the data (python scripts/71_tables.py --check). The reported run used Python 3.13 on Google Colab (NVIDIA A100 GPUs), and the code is released under the MIT licence. README.md describes the installation, the data and the reproduction of the results.

Files

nir_conformal_transfer_code_v1.0.0.zip

Files (9.4 MB)

Name Size
md5:2b527fe63d88342d228e3bfdff133a68
9.4 MB Preview Download

Additional details

Software

Programming language
Python

References