Package: bigPLSR 0.7.2
bigPLSR: Partial Least Squares Regression Models with Big Matrices
Fast partial least squares (PLS) for dense and out-of-core data. Provides SIMPLS (straightforward implementation of a statistically inspired modification of the PLS method) and NIPALS (non-linear iterative partial least-squares) solvers, plus kernel-style PLS variants ('kernelpls' and 'widekernelpls') with parity to 'pls'. Optimized for 'bigmemory'-backed matrices with streamed cross-products and chunked BLAS (Basic Linear Algebra Subprograms) (XtX/XtY and XXt/YX), optional file-backed score sinks, and deterministic testing helpers. Includes an auto-selection strategy that chooses between XtX SIMPLS, XXt (wide) SIMPLS, and NIPALS based on (n, p) and a configurable memory budget. About the package, Bertrand and Maumy (2023) <https://hal.science/hal-05352069>, and <https://hal.science/hal-05352061> highlighted fitting and cross-validating PLS regression models to big data. For more details about some of the techniques featured in the package, Dayal and MacGregor (1997) <doi:10.1002/(SICI)1099-128X(199701)11:1%3C73::AID-CEM435%3E3.0.CO;2-%23>, Rosipal & Trejo (2001) <https://www.jmlr.org/papers/v2/rosipal01a.html>, Tenenhaus, Viennet, and Saporta (2007) <doi:10.1016/j.csda.2007.01.004>, Rosipal (2004) <doi:10.1007/978-3-540-45167-9_17>, Rosipal (2019) <https://ieeexplore.ieee.org/document/8616346>, Song, Wang, and Bai (2024) <doi:10.1016/j.chemolab.2024.105238>. Includes kernel logistic PLS with 'C++'-accelerated alternating iteratively reweighted least squares (IRLS) updates, streamed reproducing kernel Hilbert space (RKHS) solvers with reusable centering statistics, and bootstrap diagnostics with graphical summaries for coefficients, scores, and cross-validation workflows, alongside dedicated plotting utilities for individuals, variables, ellipses, and biplots. The streaming backend uses far less memory and keeps memory bounded across data sizes. For PLS1, streaming is often fast enough while preserving a small memory footprint; for PLS2 it remains competitive with a bounded footprint. On small problems that fit comfortably in RAM (random-access memory), dense in-memory solvers are slightly faster; the crossover occurs as n or p grow and the Gram/cross-product cost dominates.
Authors:
bigPLSR_0.7.2.tar.gz
bigPLSR_0.7.2.zip(r-4.7)bigPLSR_0.7.2.zip(r-4.6)bigPLSR_0.7.2.zip(r-4.5)
bigPLSR_0.7.2.tgz(r-4.6-x86_64)bigPLSR_0.7.2.tgz(r-4.6-arm64)bigPLSR_0.7.2.tgz(r-4.5-x86_64)bigPLSR_0.7.2.tgz(r-4.5-arm64)
bigPLSR_0.7.2.tar.gz(r-4.7-arm64)bigPLSR_0.7.2.tar.gz(r-4.7-x86_64)bigPLSR_0.7.2.tar.gz(r-4.6-arm64)bigPLSR_0.7.2.tar.gz(r-4.6-x86_64)
bigPLSR_0.7.2.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
card.svg |card.png
bigPLSR/json (API)
NEWS
| # Install 'bigPLSR' in R: |
| install.packages('bigPLSR', repos = c('https://fbertran.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/fbertran/bigplsr/issues
Pkgdown/docs site:https://fbertran.github.io
- external_pls_benchmarks - Benchmark results against external PLS implementations
Last updated from:2033eb023b. Checks:13 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-arm64 | OK | 301 | ||
| linux-devel-x86_64 | OK | 243 | ||
| source / vignettes | OK | 376 | ||
| linux-release-arm64 | OK | 256 | ||
| linux-release-x86_64 | OK | 260 | ||
| macos-release-arm64 | OK | 152 | ||
| macos-release-x86_64 | OK | 327 | ||
| macos-oldrel-arm64 | OK | 167 | ||
| macos-oldrel-x86_64 | OK | 438 | ||
| windows-devel | OK | 331 | ||
| windows-release | OK | 275 | ||
| windows-oldrel | OK | 294 | ||
| wasm-release | OK | 215 |
Exports:.finalize_pls_fitbigPLSR_stream_kstatskf_pls_state_fitkf_pls_state_newkf_pls_state_updateplot_pls_biplotplot_pls_bootstrap_coefficientsplot_pls_bootstrap_scoresplot_pls_individualsplot_pls_variablesplot_pls_vippls_bootstrappls_cross_validatepls_cv_selectpls_fitpls_information_criteriapls_predict_responsepls_predict_scorespls_select_componentspls_thresholdpls_vipsummarise_pls_bootstrap
Dependencies:BHbigmemorybigmemory.sriRcppRcppArmadillouuid
Automatic Algorithm Selection in bigPLSR
Rendered frombigPLSR-auto-selection.Rmdusingknitr::rmarkdownon May 31 2026.Last update: 2025-11-18
Started: 2025-11-08
Benchmarking bigPLSR against external PLS implementations
Rendered fromexternal-pls-benchmarks-short.Rmdusingknitr::rmarkdownon May 31 2026.Last update: 2025-11-18
Started: 2025-11-18
Benchmarking PLS1 Implementations
Rendered frompls1-benchmark.Rmdusingknitr::rmarkdownon May 31 2026.Last update: 2025-11-18
Started: 2025-11-04
Benchmarking PLS2 Implementations
Rendered frompls2-benchmark.Rmdusingknitr::rmarkdownon May 31 2026.Last update: 2025-11-18
Started: 2025-11-04
Bootstrap strategies for bigPLSR
Rendered frombootstrap-strategies.Rmdusingknitr::rmarkdownon May 31 2026.Last update: 2025-11-18
Started: 2025-11-10
Cross-validation and Information Criteria in bigPLSR
Rendered fromcross-validation-ic.Rmdusingknitr::rmarkdownon May 31 2026.Last update: 2025-11-18
Started: 2025-11-10
Double RKHS PLS (rkhs_xy): Theory and Usage
Rendered fromdouble-rkhs-pls.Rmdusingknitr::rmarkdownon May 31 2026.Last update: 2025-11-18
Started: 2025-11-09
External PLS benchmarks for bigPLSR: detailed analysis
Rendered fromexternal-pls-benchmarks-long.Rmdusingknitr::rmarkdownon May 31 2026.Last update: 2025-11-18
Started: 2025-11-18
Kernel and Streaming PLS Methods in bigPLSR
Rendered fromkpls_review.Rmdusingknitr::rmarkdownon May 31 2026.Last update: 2025-11-18
Started: 2025-11-08
Kernel Logistic PLS
Rendered fromklogitpls.Rmdusingknitr::rmarkdownon May 31 2026.Last update: 2025-11-18
Started: 2025-11-10
KF-PLS: Streaming PLS with Kalman-style updates
Rendered fromkf-pls.Rmdusingknitr::rmarkdownon May 31 2026.Last update: 2025-11-18
Started: 2025-11-10
RKHS-based Algorithms in bigPLSR
Rendered fromrkhs-overview.Rmdusingknitr::rmarkdownon May 31 2026.Last update: 2025-11-18
Started: 2025-11-10
Streaming Kernel PLS in bigPLSR: XX^T and Column-Chunked Variants
Rendered frombigPLSR-kpls-streaming.Rmdusingknitr::rmarkdownon May 31 2026.Last update: 2025-11-18
Started: 2025-11-08
Visualising PLS Fits with bigPLSR
Rendered fromplotting-guide.Rmdusingknitr::rmarkdownon May 31 2026.Last update: 2025-11-18
Started: 2025-11-10
