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 ORCID iD [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:

Reference manual: FastKRR.html , FastKRR.pdf

Downloads:

Package source: FastKRR_0.1.0.tar.gz
Windows binaries: r-devel: not available, r-release: FastKRR_0.1.0.zip, r-oldrel: not available
macOS binaries: r-release (arm64): FastKRR_0.1.0.tgz, r-oldrel (arm64): FastKRR_0.1.0.tgz, r-release (x86_64): FastKRR_0.1.0.tgz, r-oldrel (x86_64): FastKRR_0.1.0.tgz

Linking:

Please use the canonical form https://CRAN.R-project.org/package=FastKRR to link to this page.