Package: FastKRR 0.1.2

Kwan-Young Bak

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>.

Authors:Gyeongmin Kim [aut], Seyoung Lee [aut], Miyoung Jang [aut], Kwan-Young Bak [aut, cre, cph]

FastKRR_0.1.2.tar.gz
FastKRR_0.1.2.tar.gz(r-4.7-arm64)FastKRR_0.1.2.tar.gz(r-4.7-x86_64)FastKRR_0.1.2.tar.gz(r-4.6-arm64)FastKRR_0.1.2.tar.gz(r-4.6-x86_64)
FastKRR_0.1.2.tgz(r-4.6-emscripten)
manual.pdf |manual.html
DESCRIPTION
card.svg |card.png
FastKRR/json (API)

# Install 'FastKRR' in R:
install.packages('FastKRR', repos = c('https://cran.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/kybak90/fastkrr/issues

Uses libs:
  • openblas– Optimized BLAS
  • c++– GNU Standard C++ Library v3
  • openmp– GCC OpenMP (GOMP) support library

On CRAN:

Conda:

openblascppopenmp

2.18 score 3 scripts 155 downloads 6 exports 41 dependencies

Last updated from:413db09125. Checks:6 OK. Indexed: no.

TargetResultTimeFilesSyslog
linux-devel-arm64OK230
linux-devel-x86_64OK181
source / vignettesOK278
linux-release-arm64OK233
linux-release-x86_64OK179
wasm-releaseOK158

Exports:approx_kernelerrorfastkrrkrr_regmake_kernelparam

Dependencies:clicodetoolscpp11CVSTdplyrfarvergenericsggplot2globalsgluegtablehardhatisobandkernlablabelinglatticelifecyclemagrittrMatrixparsnippillarpkgconfigprettyunitspurrrR6RColorBrewerRcppRcppArmadillorlangS7scalessparsevctrsstringistringrtibbletidyrtidyselectutf8vctrsviridisLitewithr