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.
Arguments
- Xbm
A
bigmemory::big.matrix(or descriptor) containing the training design matrix.- kernel
Kernel name passed to
stats::kernel()compatible helpers ("linear","rbf","poly","sigmoid").- gamma, degree, coef0
Kernel hyper-parameters.
- chunk_rows, chunk_cols
Numbers of rows/columns to process per chunk.