Package: FastKRR 0.2.1
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 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>.
Authors:
FastKRR_0.2.1.tar.gz
FastKRR_0.2.1.zip(r-4.7-x86_64)FastKRR_0.2.1.zip(r-4.6-x86_64)FastKRR_0.2.1.zip(r-4.5-x86_64)
FastKRR_0.2.1.tgz(r-4.6-x86_64)FastKRR_0.2.1.tgz(r-4.6-arm64)FastKRR_0.2.1.tgz(r-4.5-x86_64)FastKRR_0.2.1.tgz(r-4.5-arm64)
FastKRR_0.2.1.tar.gz(r-4.7-arm64)FastKRR_0.2.1.tar.gz(r-4.7-x86_64)FastKRR_0.2.1.tar.gz(r-4.6-arm64)FastKRR_0.2.1.tar.gz(r-4.6-x86_64)
FastKRR_0.2.1.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://kybak90.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/kybak90/fastkrr/issues
Last updated from:fd19f8041e. Checks:13 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-arm64 | OK | 201 | ||
| linux-devel-x86_64 | OK | 197 | ||
| source / vignettes | OK | 296 | ||
| linux-release-arm64 | OK | 200 | ||
| linux-release-x86_64 | OK | 204 | ||
| macos-release-arm64 | OK | 129 | ||
| macos-release-x86_64 | OK | 216 | ||
| macos-oldrel-arm64 | OK | 152 | ||
| macos-oldrel-x86_64 | OK | 362 | ||
| windows-devel | OK | 188 | ||
| windows-release | OK | 168 | ||
| windows-oldrel | OK | 163 | ||
| wasm-release | OK | 166 |
Exports:approx_kernelerrorfastkrrfastkrr_fit_wrapperkrr_regmake_kernelparam
Dependencies:clicodetoolscpp11CVSTdplyrfarvergenericsggplot2globalsgluegtablehardhatisobandkernlablabelinglatticelifecyclemagrittrMatrixparsnippillarpkgconfigprettyunitspurrrR6RColorBrewerRcppRcppArmadillorlangS7scalessparsevctrsstringistringrtibbletidyrtidyselectutf8vctrsviridisLitewithr
Readme and manuals
Help Manual
| Help page | Topics |
|---|---|
| Kernel Ridge Regression using the 'RcppArmadillo' Package | FastKRR-package FastKRR |
| Compute low-rank approximations (Nyström, Pivoted Cholesky, RFF) | approx_kernel |
| Extract Model Coefficients from a Fitted KRR Model | coef.krr |
| Compute Model Error for Kernel Ridge Regression Models | error error.krr |
| Fit kernel ridge regression using exact or approximate methods | fastkrr |
| Kernel Ridge Regression | krr_reg |
| Kernel matrix construction for given datasets | make_kernel |
| Displays hyperparameters of fitted Kernel Ridge Regression models | param.krr |
| Plot method for fitted Kernel Ridge Regression models | plot.krr |
| Predict responses for new data using fitted KRR model | predict.krr |
| Print method for approximated kernel matrices | print.approx_kernel |
| Print method for fitted Kernel Ridge Regression models | print.krr |
| Summary method for fitted Kernel Ridge Regression models | summary.krr |
| Expose tunable parameters for '"krr_reg"' | tunable.krr_reg |
