| Title: | Portable nirs4all Aggregate Binding |
|---|---|
| Description: | Aggregates the nirs4all formats, IO, datasets, methods, 'dag-ml', and 'dag-ml-data' language bindings into one portable package surface without reimplementing their parsing, numerical, or pipeline logic. The aggregated engines remain the source of truth and are delegated to at run time. |
| Authors: | nirs4all contributors [aut, cre, cph] |
| Maintainer: | nirs4all contributors <[email protected]> |
| License: | MIT + file LICENSE |
| Version: | 0.1.0 |
| Built: | 2026-06-12 11:44:16 UTC |
| Source: | https://github.com/GBeurier/nirs4all-lite |
Aggregates the low-level nirs4all bindings without reimplementing parsing, dataset assembly, DAG orchestration, or numerical methods.
Convenience accessors for the upstream domains exposed by the aggregate nirs4all R package.
formats() io() datasets() methods() dag_ml() dag_ml_data()formats() io() datasets() methods() dag_ml() dag_ml_data()
The loaded namespace for the requested upstream domain.
Parses the same pipeline definition envelope as full Python
nirs4all.pipeline.PipelineConfigs, restricted to the current portable
operator subset. This validates syntax and operator declarations only; it does
not execute the pipeline.
nirs4all_load_pipeline(source) nirs4all_portable_class_names(definition)nirs4all_load_pipeline(source) nirs4all_portable_class_names(definition)
source |
A direct step list, mapping with |
definition |
A parsed pipeline definition or step list. |
nirs4all_load_pipeline() returns a nirs4all_pipeline_definition
list. nirs4all_portable_class_names() returns class names in traversal
order.
Loads an upstream binding by key or fails with a diagnostic listing the tried candidate packages.
nirs4all_require(name)nirs4all_require(name)
name |
Upstream key such as |
The loaded namespace for the first installed candidate package.
Executes the portable Kennard-Stone, SNV, Savitzky-Golay, and PLS subset by
delegating to the installed n4m methods R binding. The aggregate does
not implement numerical kernels itself.
nirs4all_run_portable_pipeline(source, dataset) nirs4all_parse_execution_plan(source)nirs4all_run_portable_pipeline(source, dataset) nirs4all_parse_execution_plan(source)
source |
A JSON/YAML path, JSON/YAML text, pipeline list, or normalized
pipeline definition accepted by |
dataset |
List containing |
nirs4all_run_portable_pipeline() returns a list with the same contract
as the Python and WASM bindings: name, rows, cols,
split, preprocessing, variants, selected, and
targets. nirs4all_parse_execution_plan() returns the parsed
execution subset.
Returns the upstream binding registry used by the R aggregate package.
nirs4all_upstreams()nirs4all_upstreams()
A data frame with upstream keys, availability flags, candidate package names, and roles.