Crandore Hub

FastKRR

Kernel Ridge Regression using 'RcppArmadillo'

Provides core computational operations in C++ via 'RcppArmadillo', enabling faster performance than pure R, improved numerical stability, and parallel execution with OpenMP where available. On systems without OpenMP support, the package automatically falls back to single-threaded execution with no user configuration required. For efficient model selection, it integrates with 'CVST' to provide sequential-testing cross-validation that identifies competitive hyperparameters without exhaustive grid search. The package offers a unified interface for exact kernel ridge regression and three scalable approximations—Nyström, Pivoted Cholesky, and Random Fourier Features—allowing analyses with substantially larger sample sizes than are feasible with exact KRR. It also integrates with the 'tidymodels' ecosystem via the 'parsnip' model specification 'krr_reg', and the S3 method tunable.krr_reg(). To understand the theoretical background, one can refer to Wainwright (2019) <doi:10.1017/9781108627771>.

Versions across snapshots

VersionRepositoryFileSize
0.1.2 rolling source/ R- FastKRR_0.1.2.tar.gz 191.1 KiB
0.1.2 latest source/ R- FastKRR_0.1.2.tar.gz 191.1 KiB
0.1.2 2026-04-23 source/ R- FastKRR_0.1.2.tar.gz 191.1 KiB
0.1.2 2026-04-09 windows/windows R-4.5 FastKRR_0.1.2.zip 801.6 KiB

Dependencies (latest)

Imports

LinkingTo

Suggests