Skip to content

FastKRR

0.2.1Package record

Kernel Ridge Regression using 'RcppArmadillo'

0packages depend
2.8Kdownloads / year
68.7%test coverage
13/13flavors OK

Overview

About

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 and additionally supports restricted maximum likelihood (REML) for continuous optimization of the regularization parameter. 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.

Install

Health

CRAN checks
13OK
Slowest check: 4.6 min · r-devel-windows-x86_64
Status changes
  • OK13 OK2026-08-05
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK13 OK2026-07-25
  • NOTE12 OK, 1 NOTE2026-07-11
  • OK13 OK2026-06-09
Show 4 earlier changesHide 4 earlier changes
  • ERROR12 OK, 1 ERROR2026-06-08
  • OK14 OK2026-04-22
  • ERROR13 OK, 1 ERROR2026-04-18
  • OK14 OK2026-03-10
Advisories

none known

Documentation

In release 0.2.1
READMEYes · 662 wordsVignettesNoNEWSNoCitation fileNoWebsiteYes
Help pages
16 (2 internal)includes a package overview page
Examples that run
83%10 run in a plain check · 2 only when donttest examples are enabled (R CMD check --as-cran)
Exported functions with examples
71%
Documented parameters
86%
Return-value docs
86%
Help pages citing references
0%

Downloads

2.8K
CRAN downloads in the past year
Rank #10,854 · ~8/day · ~233/mo
Daily download trend is not available in this view yet.
37630 days
95190 days
2.8K1 year
Compare downloads with other packages →
Also on413 r2u7 autocran

Repository

4Stars
0Forks
0Open issues
0Open PRs
0Releases
193Commits
5Commit identities
193 commits · Last activity 2026-08-05 · 0% stars, 30d
Responsiveness
How these are sampled
PRs merged (all time)
89%
Median days to close, 50 most recently updated closed issues
not measured
Median days to close, 50 most recently updated closed PRs
0

Stars over time

2025-09-22 · 22026-07-22 · 4
PracticesBeta

4 development-tooling and community-health practices detected across 3 families in the upstream repository

Checks run against github.com/kybak90/fastkrr on 2026-10-11.

Docs source (1)
README.Rmd
CRAN release process (2)
cran-comments.mdCRAN-SUBMISSION
Lint, format, editor (1)
RStudio project
How this is detected·Detection ruleset v3 (2026-09-26)

Dependencies

Declared dependencies
16 external dependencies (excludes base and recommended)

Installing FastKRR adds 38 packages (19 with compiled code, 34 MB of source tarballs). Heaviest: stringi 11 MB, ggplot2 6.0 MB, Rcpp 1.8 MB.

Depends (0)
none
LinkingTo (2)
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

People & History

People (4)
Author, Maintainer since 0.1.0 (2025), Copyright holder
Sungshin Women's University
Author
Sungshin Women's University
Author
Sungshin Women's University
Author
Sungshin Women's University
Releases (4)

Pick two releases to compare their code metrics.

  • 0.2.1Latest
    record
    2026-07-21 · current release · diff ↗ ·
    added 1 export
    fastkrr_fit_wrapper
  • R
    R 4.6.0 released · 2026-04-24
  • 0.1.2
    record
    2025-11-15 · diff ↗ ·
    added 2 exports
    error, param
  • 0.1.1
    record
    2025-10-08 · diff ↗ ·
    removed 4 exports
    fit_krr, make_Z, pred_krr, rff_random
  • 0.1.0
    record
    2025-09-22
  • R
    R 4.5.0 released · 2025-04-11

Package metadata

First published
2025-09-22
Total releases
4 / 1 yrs
License
GPL (>= 2) OSI
Download size
143 KB

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("FastKRR")
Bak, K., Jang, M., Kim, G., & Lee, S. (2026). FastKRR: Kernel Ridge Regression using 'RcppArmadillo' (Version 0.2.1) [Computer software]. https://doi.org/10.32614/CRAN.package.FastKRR

This package has no citation file, so citation() returns this entry built from DESCRIPTION.

Cite the R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for FastKRR version 0.2.1 [Data set]. HJJB, LLC. Data release v2026-10-18. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-18, which the citation names so these numbers can be found later. More on citing and the projects behind them.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy