Skip to main content

Portable nirs4all aggregate binding over formats, IO, methods, dag-ml, and dag-ml-data (datasets optional)

Project description

Python Binding

Distribution name: nirs4all-lite

Import name: nirs4all_lite

This binding intentionally avoids the nirs4all import name so it can be installed next to the full Python nirs4all package during parity checks.

Portable Execution

nirs4all_lite.run_portable_pipeline(source, dataset) executes the shared portable JSON/YAML subset through the nirs4all-methods Python bindings:

  • KennardStoneSplitter
  • StandardNormalVariate / SNV
  • SavitzkyGolay
  • sklearn.cross_decomposition.PLSRegression
  • _range_ sweeps over n_components

Savitzky-Golay defaults to mode="interp" for full Python nirs4all parity and preserves explicit methods-backed modes (mirror, constant, nearest, wrap, interp) plus cval.

The aggregate does not implement numerical kernels. Install the optional methods extra, or make n4m and pls4all importable, before calling it:

python -m pip install "nirs4all-lite[methods]"

The strict local parity gate compares all shared fixtures against the full Python nirs4all oracle and reports max prediction/RMSE deltas on failure:

PYTHONPATH=bindings/python/src:/path/to/nirs4all-methods/bindings/python/src \
PLS4ALL_LIB_PATH=/path/to/libn4m.so \
NIRS4ALL_LITE_REQUIRE_METHODS_PARITY=1 \
python -m unittest bindings/python/tests/test_execution_parity.py -v

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

nirs4all_lite-0.1.0.tar.gz (10.3 kB view details)

Uploaded Source

Built Distribution

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

nirs4all_lite-0.1.0-py3-none-any.whl (10.3 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for nirs4all_lite-0.1.0.tar.gz
Algorithm Hash digest
SHA256 bd66f7964b0dbd18d2cd87d604094a62d0682c2219e94ae9a714acbf17036813
MD5 07a67b20017a0799c711569a06308c62
BLAKE2b-256 c414da59930a090c90b8974181b97f82cbd16728aad402813e79fcc78128fb84

See more details on using hashes here.

Provenance

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

Publisher: release-python.yml on GBeurier/nirs4all-lite

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

File details

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

File metadata

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

File hashes

Hashes for nirs4all_lite-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 9e35d8e64208f952b99cd5ccbe1203d615b2ed31bd4c447c857ca546e3adaa39
MD5 e35786a84dca64b5577cfaa62e67a474
BLAKE2b-256 ab993590cc57e7f61933c8cff70fd61cf58dfbf94057b9d6b66c05af0a592ff8

See more details on using hashes here.

Provenance

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

Publisher: release-python.yml on GBeurier/nirs4all-lite

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