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)gKRLS_1.0.4.zip(r-4.6)gKRLS_1.0.4.zip(r-4.5)
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
card.svg |card.png
gKRLS/json (API)
NEWS

# 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 668 downloads 10 exports 33 dependencies

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

TargetResultTimeFilesSyslog
linux-devel-arm64OK215
linux-devel-x86_64OK212
source / vignettesOK247
linux-release-arm64OK187
linux-release-x86_64OK215
macos-release-arm64OK239
macos-release-x86_64OK417
macos-oldrel-arm64OK240
macos-oldrel-x86_64OK493
windows-develOK203
windows-releaseOK279
windows-oldrelOK197
wasm-releaseOK126

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