Compute the column means and grand mean of the kernel matrix \(K(X, X)\)
without materialising it in memory. The input design matrix must be stored as
a bigmemory::big.matrix (or descriptor), and the kernel is evaluated by
iterating over row/column chunks.
bigPLSR_stream_kstats(
Xbm,
kernel,
gamma,
degree,
coef0,
chunk_rows = getOption("bigPLSR.predict.chunk_rows", 8192L),
chunk_cols = getOption("bigPLSR.predict.chunk_cols", 8192L)
)A list with entries r (column means) and g
(grand mean) of the kernel matrix.
A bigmemory::big.matrix (or descriptor) containing the
training design matrix.
Kernel name passed to stats::kernel() compatible helpers
("linear", "rbf", "poly", "sigmoid").
Kernel hyper-parameters.
Numbers of rows/columns to process per chunk.