Package: gKRLS 1.0.4

gKRLS: Generalized Kernel Regularized Least Squares

Kernel regularized least squares, also known as kernel ridge regression, is a flexible machine learning method. This package implements this method by providing a smooth term for use with 'mgcv' and uses random sketching to facilitate scalable estimation on large datasets. It provides additional functions for calculating marginal effects after estimation and for use with ensembles ('SuperLearning'), double/debiased machine learning ('DoubleML'), and robust/clustered standard errors ('sandwich'). Chang and Goplerud (2024) <doi:10.1017/pan.2023.27> provide further details.

Authors:Qing Chang [aut], Max Goplerud [aut, cre]

gKRLS_1.0.4.tar.gz
gKRLS_1.0.4.zip(r-4.7-x86_64)gKRLS_1.0.4.zip(r-4.7-arm64)gKRLS_1.0.4.zip(r-4.6-x86_64)gKRLS_1.0.4.zip(r-4.6-arm64)gKRLS_1.0.4.zip(r-4.5-x86_64)
gKRLS_1.0.4.tgz(r-4.6-x86_64)gKRLS_1.0.4.tgz(r-4.6-arm64)gKRLS_1.0.4.tgz(r-4.5-x86_64)gKRLS_1.0.4.tgz(r-4.5-arm64)
gKRLS_1.0.4.tar.gz(r-4.7-arm64)gKRLS_1.0.4.tar.gz(r-4.7-x86_64)gKRLS_1.0.4.tar.gz(r-4.6-arm64)gKRLS_1.0.4.tar.gz(r-4.6-x86_64)
gKRLS_1.0.4.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
gKRLS/json (API)

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

Bug tracker:https://github.com/mgoplerud/gkrls/issues

Uses libs:
  • c++– GNU Standard C++ Library v3

On CRAN:

Conda:

cpp

3.60 score 8 stars 5 scripts 487 downloads 10 exports 33 dependencies

Last updated from:3de6cac86f. Checks:15 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-arm64OK156
linux-devel-x86_64OK221
source / vignettesOK226
linux-release-arm64OK153
linux-release-x86_64OK191
macos-release-arm64OK157
macos-release-x86_64OK284
macos-oldrel-arm64OK185
macos-oldrel-x86_64OK331
windows-devel-arm64OK297
windows-devel-x86_64OK258
windows-release-arm64OK346
windows-release-x86_64OK182
windows-oldrel-x86_64OK192
wasm-releaseOK125

Exports:add_bam_to_mlr3calculate_effectscalculate_interactionsget_calibration_informationget_individual_effectsgKRLSLearnerClassifBamLearnerRegrBamlegacy_marginal_effectSL.mgcv

Dependencies:backportscheckmateclicodetoolsdata.tabledigestevaluatefuturefuture.applyglobalslatticelgrlistenvMatrixmgcvmiraimlbenchmlr3mlr3measuresmlr3miscnanonextnlmepalmerpenguinsparadoxparallellyPRROCR6RcppRcppEigenrlangsandwichuuidzoo

Readme and manuals

Help Manual

Help pageTopics
Marginal Effectscalculate_effects calculate_interactions get_individual_effects print.gKRLS_mfx summary.gKRLS_mfx
Generalized Kernel Regularized Least Squaresget_calibration_information gKRLS
Machine Learning with gKRLSadd_bam_to_mlr3 ml_gKRLS predict.SL.mgcv SL.mgcv