Package: nirs4all 0.8.0
nirs4all: Composable Near-Infrared Spectroscopy Pipelines for R
Provides an R-facing pipeline API for near-infrared spectroscopy. Composes portable preprocessing (including local and robust normalization, area normalization, detrending, train-fitted MSC and Savitzky-Golay filtering) and partial least squares operations from 'n4m' with explicit R learner controllers, including native sparse PLS-DA and post-SIMPLS group-sparse PLS, optional 'parsnip' and 'mlr3' regression and classification adapters, 'ranger' probability-forest and optional 'xgboost' regression and classification controllers, and optional CPU 'torch' regression and classification controllers. Offers local fit, predict, portable 'n4m' model and bounded trained-pipeline serialization, and a native 'dagml' cross-validation, fixed-candidate selection, refit and replay path for single-node pipelines and optional sequential n4m transform nodes, including fixed-candidate selection and parallel preprocessing branches joined and composed with sequential preprocessing before a model. Native-only n4m refit artifacts are detached into portable N4MM bytes in the DAG bundle; other persisted refit models and transform states remain R sidecars. Both can predict new R samples. Optional 'nirs4allformats' datasets feed local and native paths with numeric or categorical targets while preserving sample and spectral-axis identities. Shared native dense-regression workflows provide out-of-fold selection, resumable hyperparameter search, experiment result views, held-out split conformal calibration and frozen robustness audits. Complete native multimodal predictors preserve aligned raw source schemas and portable fitted state.
Authors:
nirs4all_0.8.0.tar.gz
nirs4all_0.8.0.zip(r-4.7-any)nirs4all_0.8.0.zip(r-4.6-any)nirs4all_0.8.0.zip(r-4.5-any)
nirs4all_0.8.0.tgz(r-4.6-any)nirs4all_0.8.0.tgz(r-4.5-any)
nirs4all_0.8.0.tar.gz(r-4.7-any)nirs4all_0.8.0.tar.gz(r-4.6-any)
nirs4all_0.8.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
nirs4all/json (API)
| # Install 'nirs4all' in R: |
| install.packages('nirs4all', repos = c('https://gbeurier.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/gbeurier/nirs4all-r/issues
Last updated from:d1d7517cb4. Checks:9 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel | OK | 167 | ||
| source / vignettes | OK | 212 | ||
| linux-release | OK | 167 | ||
| macos-release | OK | 198 | ||
| macos-oldrel | OK | 111 | ||
| windows-devel | OK | 95 | ||
| windows-release | OK | 130 | ||
| windows-oldrel | OK | 96 | ||
| wasm-release | OK | 107 |
Exports:dag_mldag_ml_datadatasetsformatsiomethodsnirs4all_area_normalizationnirs4all_calibratenirs4all_concatnirs4all_conformal_metricsnirs4all_controllernirs4all_core_archivenirs4all_core_archive_predictnirs4all_core_archive_predict_methodsnirs4all_core_multimodal_adapternirs4all_dag_cv_refit_predictnirs4all_dag_predictnirs4all_dag_role_adapternirs4all_datasetnirs4all_detrendnirs4all_emscnirs4all_execution_profilesnirs4all_expand_portable_pipelinesnirs4all_export_calibratednirs4all_export_native_modelnirs4all_export_pipelinenirs4all_export_trained_pipelinenirs4all_fitnirs4all_fit_role_recipenirs4all_from_formatsnirs4all_generatenirs4all_glmnetnirs4all_group_sparse_plsnirs4all_import_native_modelnirs4all_import_trained_pipelinenirs4all_import_workspacenirs4all_lmnirs4all_loadnirs4all_load_calibratednirs4all_load_pipelinenirs4all_load_tuningnirs4all_local_implementation_registrynirs4all_local_snvnirs4all_mlr3nirs4all_mlr3_classifiernirs4all_mscnirs4all_multimodal_archive_predictnirs4all_multimodal_exportnirs4all_multimodal_fitnirs4all_multimodal_loadnirs4all_multimodal_predictnirs4all_multimodal_retrainnirs4all_n4a_inspectnirs4all_n4a_predictnirs4all_n4a_producenirs4all_n4a_readnirs4all_n4a_retrainnirs4all_n4a_writenirs4all_n4m_methodnirs4all_n4m_selectornirs4all_native_augmentationnirs4all_native_exportnirs4all_native_loadnirs4all_native_multimodal_exportnirs4all_native_multimodal_loadnirs4all_native_predictnirs4all_native_retrainnirs4all_native_runnirs4all_native_splitnirs4all_native_splitternirs4all_open_experimentnirs4all_open_workspacenirs4all_parse_execution_plannirs4all_parsnipnirs4all_parsnip_classifiernirs4all_pipelinenirs4all_pipeline_exportnirs4all_pipeline_from_portablenirs4all_pipeline_loadnirs4all_pipeline_predictnirs4all_pipeline_retrainnirs4all_plsnirs4all_portable_class_namesnirs4all_predictnirs4all_predict_calibratednirs4all_predict_probanirs4all_r_pipeline_from_recipenirs4all_rangernirs4all_ranger_classifiernirs4all_requirenirs4all_result_comparenirs4all_result_predictionsnirs4all_result_viewnirs4all_resume_tuningnirs4all_retrainnirs4all_robust_snvnirs4all_robustnessnirs4all_runnirs4all_run_multimodalnirs4all_run_pipelinenirs4all_run_portable_pipelinenirs4all_savenirs4all_save_experimentnirs4all_savgolnirs4all_snvnirs4all_spanirs4all_sparse_pls_danirs4all_torch_mlpnirs4all_torch_mlp_classifiernirs4all_torch_modulenirs4all_torch_module_classifiernirs4all_tunenirs4all_tuning_exportnirs4all_tuning_predictnirs4all_upstreamsnirs4all_workflow_exportnirs4all_workflow_loadnirs4all_workflow_predictnirs4all_workflow_retrainnirs4all_workspace_closenirs4all_workspace_exportnirs4all_workspace_predictnirs4all_workspace_predictionsnirs4all_workspace_runsnirs4all_workspace_sessionnirs4all_xgboostnirs4all_xgboost_classifier
