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', the S3 method tunable.krr_reg(), and the direct fitting helper fit_krr(). To understand the theoretical background, one can refer to Wainwright (2019) <doi:10.1017/9781108627771>.
Version: |
0.1.0 |
Imports: |
CVST, generics, parsnip, Rcpp, rlang, tibble |
LinkingTo: |
Rcpp, RcppArmadillo |
Suggests: |
knitr, rmarkdown, dials, tidymodels, modeldata, dplyr |
Published: |
2025-09-22 |
DOI: |
10.32614/CRAN.package.FastKRR |
Author: |
Gyeongmin Kim [aut] (Sungshin Women's University),
Seyoung Lee [aut] (Sungshin Women's University),
Miyoung Jang [aut] (Sungshin Women's University),
Kwan-Young Bak
[aut, cre, cph] (Sungshin Women's University) |
Maintainer: |
Kwan-Young Bak <kybak at sungshin.ac.kr> |
BugReports: |
https://github.com/kybak90/FastKRR/issues |
License: |
GPL-2 | GPL-3 [expanded from: GPL (≥ 2)] |
URL: |
https://github.com/kybak90/FastKRR, https://www.tidymodels.org |
NeedsCompilation: |
yes |
SystemRequirements: |
OpenMP (optional) |
Materials: |
README |
CRAN checks: |
FastKRR results |
Documentation:
Downloads:
Linking:
Please use the canonical form
https://CRAN.R-project.org/package=FastKRR
to link to this page.