Skip to main content

nirs4all-methods

nirs4all-methods is the full numerical/method engine distribution. The Python distribution name is nirs4all-methods; the import package is n4m, matching the stable libn4m C ABI and n4m_* exported symbols.

The wheel bundles the libn4m shared library, so pip install nirs4all-methods is self-contained — no separate native build is required. The slim pls4all distribution remains available for PLS-focused users; both distributions load the same ABI family.

import n4m
from n4m.estimators.regression.latent import PLS

print(n4m.version())      # project version + ABI, e.g. "1.0.19+abi.2.5.0"
print(n4m.abi_version())  # ABI triple, e.g. (2, 5, 0)

model = PLS(n_components=2).fit(X, y)
pred = model.predict(X)

n4m loads libn4m via ctypes.CDLL and exposes version/ABI helpers, Context, and role-based packages such as n4m.estimators, n4m.transform, n4m.feature_selection, n4m.model_selection, and n4m.augmentation. Estimator-style wrappers live under those role packages; there is no flat n4m.sklearn package in the ABI 2 surface.

Native hyperparameter studies can be checkpointed without Python pickles: checkpoint = optimizer.save() returns portable N4MOPT bytes and Optimizer.load(checkpoint) resumes the exact sequential ask/tell trajectory.

Set N4M_LIB_PATH to point at a development libn4m build when overriding the bundled wheel library.

See https://github.com/GBeurier/nirs4all-methods for documentation.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

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

nirs4all_methods-1.0.19-py3-none-win_amd64.whl (1.6 MB view details)

Uploaded Python 3Windows x86-64

nirs4all_methods-1.0.19-py3-none-manylinux_2_28_x86_64.whl (5.4 MB view details)

Uploaded Python 3manylinux: glibc 2.28+ x86-64

nirs4all_methods-1.0.19-py3-none-manylinux_2_28_aarch64.whl (4.2 MB view details)

Uploaded Python 3manylinux: glibc 2.28+ ARM64

nirs4all_methods-1.0.19-py3-none-macosx_11_0_universal2.whl (8.1 MB view details)

Uploaded Python 3macOS 11.0+ universal2 (ARM64, x86-64)

File details

Details for the file nirs4all_methods-1.0.19-py3-none-win_amd64.whl.

File metadata

File hashes

Hashes for nirs4all_methods-1.0.19-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 e46347302c4f0c5d13f4c44c22badc783c32681a9d763975890d24074d79b41f
MD5 391961db6e314b59e964da1abf6ba01e
BLAKE2b-256 f1149bdf1c4c3aeb99c0f81665c52f20a0339093a3cf66e3f64c1ff9bcb1bc26

See more details on using hashes here.

Provenance

The following attestation bundles were made for nirs4all_methods-1.0.19-py3-none-win_amd64.whl:

Publisher: release-wheels.yml on GBeurier/nirs4all-methods

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_methods-1.0.19-py3-none-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for nirs4all_methods-1.0.19-py3-none-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 69063bcc0580aaf9b3915897a82c1d01dd594d0109274b72df6b4d995c5f8f7c
MD5 312063c33e93ad0306d82e9d8095aa66
BLAKE2b-256 d60462a1963752becb98e4cdce936e4a417183a13e302cb6ac370ce5839cd565

See more details on using hashes here.

Provenance

The following attestation bundles were made for nirs4all_methods-1.0.19-py3-none-manylinux_2_28_x86_64.whl:

Publisher: release-wheels.yml on GBeurier/nirs4all-methods

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_methods-1.0.19-py3-none-manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for nirs4all_methods-1.0.19-py3-none-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 d6ac5fdd74d69758b114c1d8cc38daf9399ac06833548b4460f89ef1b6cd3d54
MD5 132d24bba45eaaf049a7803da5f5e86a
BLAKE2b-256 a10e7e85554209f20c9f5eebddc34bcfb0b8134e2e0027d913db83931604965a

See more details on using hashes here.

Provenance

The following attestation bundles were made for nirs4all_methods-1.0.19-py3-none-manylinux_2_28_aarch64.whl:

Publisher: release-wheels.yml on GBeurier/nirs4all-methods

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_methods-1.0.19-py3-none-macosx_11_0_universal2.whl.

File metadata

File hashes

Hashes for nirs4all_methods-1.0.19-py3-none-macosx_11_0_universal2.whl
Algorithm Hash digest
SHA256 e6da72f787716c45090dd62574397b60faf54a4c4be92939a70b43d2bd4d3215
MD5 e2f816fc856046e8bafde98fef4ec67e
BLAKE2b-256 cbec8c6788e6dd4f60263d290e9b416428c9165e5015b24204705ac63c1ad8da

See more details on using hashes here.

Provenance

The following attestation bundles were made for nirs4all_methods-1.0.19-py3-none-macosx_11_0_universal2.whl:

Publisher: release-wheels.yml on GBeurier/nirs4all-methods

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

Release history Release notifications | RSS feed

This release

1.0.19 This release

4 files

1.0.18

16 files

1.0.16

16 files

1.0.15

16 files

1.0.13

16 files

1.0.12

16 files

1.0.11

16 files

1.0.10

16 files

1.0.9

16 files

1.0.8

16 files

1.0.7

16 files

1.0.6

16 files

1.0.5

16 files

1.0.3

16 files

1.0.2

16 files

1.0.1

16 files

1.0.0

16 files

0.99.0

16 files

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