Reference

Complete reference documentation for NIRS4ALL APIs, syntax, and operators.

Pipeline & Syntax

Pipeline Syntax

Step formats, execution order, serialization rules.

Writing a Pipeline in nirs4all
Pipeline Keywords

All dict keywords: model, y_processing, branch, merge, tag, exclude, and more.

Pipeline Keywords Reference
Generator Keywords

_or_, _range_, _grid_, _zip_, _sample_ and other expansion keywords.

Generator keywords: choices, combinations and their exact outputs
Configuration

PipelineConfigs, DatasetConfigs, CacheConfig specification.

Configuration Reference

Operators by Category

Transforms

SNV, MSC, derivatives, baseline, wavelets, feature selection, and more.

Transforms Reference
Augmentations

Noise, baseline drift, wavelength shifts, mixup, physical effects, and more.

Augmentation Operators Reference
Models

Built-in PLS variants (AOM-PLS, POP-PLS, OPLS, DiPLS, etc.) and deep learning.

Built-in Models Reference
Splitters

Kennard-Stone, SPXY, K-means, and sklearn splitters.

Splitters Reference
Filters

Y-outlier, X-outlier, spectral quality, high leverage, metadata filters.

Filters Reference
Operator Catalog

Full catalog including sklearn and deep learning operators.

Operator catalog: choose a job, then inspect the method

Results & Deployment

Metrics

All evaluation metrics for regression and classification.

Metrics Reference
Predictions API

Predictions and PredictionResultsList objects.

Predictions API Reference
Session API

Stateful Session workflows and model persistence.

Session API Reference
Native Capability Preflight

Fail-closed R2/R4 limitations and machine-readable preflight routes.

Native Capability Preflight
CLI Reference

Command-line interface for workspace commands.

CLI reference
Workspace

Workspace architecture and directory structure.

Workspace Architecture
Storage

SQLite metadata store, Parquet arrays, artifact storage.

Storage API Reference

API Documentation

Detailed API documentation is also available in the API Reference section.

See Also