Package: ConformalSmallest 1.0

Yachong Yang

ConformalSmallest: Efficient Tuning-Free Conformal Prediction

An implementation of efficiency first conformal prediction (EFCP) and validity first conformal prediction (VFCP) that demonstrates both validity (coverage guarantee) and efficiency (width guarantee). To learn how to use it, check the vignettes for a quick tutorial. The package is based on the work by Yang Y., Kuchibhotla A.,(2021) <arxiv:2104.13871>.

Authors:Yachong Yang [aut, cre]

ConformalSmallest_1.0.tar.gz
ConformalSmallest_1.0.zip(r-4.5)ConformalSmallest_1.0.zip(r-4.4)ConformalSmallest_1.0.zip(r-4.3)
ConformalSmallest_1.0.tgz(r-4.4-any)ConformalSmallest_1.0.tgz(r-4.3-any)
ConformalSmallest_1.0.tar.gz(r-4.5-noble)ConformalSmallest_1.0.tar.gz(r-4.4-noble)
ConformalSmallest_1.0.tgz(r-4.4-emscripten)ConformalSmallest_1.0.tgz(r-4.3-emscripten)
ConformalSmallest.pdf |ConformalSmallest.html
ConformalSmallest/json (API)

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

Peer review:

Bug tracker:https://github.com/elsa-yang98/conformalsmallest/issues

Datasets:
  • pois_n400_reps100 - Outcomes of an example for tuning-free conformalized quantile regression(CQR).
  • ridge_linear_cov100_t3 - Outcomes of an example for tuning-free conformal prediction with ridge regression.
  • ridge_linear_cov100_t5 - Outcomes of an example for tuning-free conformal prediction with ridge regression.
  • ridge_linear_len100_t3 - Outcomes of an example for tuning-free conformal prediction with ridge regression.
  • ridge_linear_len100_t5 - Outcomes of an example for tuning-free conformal prediction with ridge regression.

On CRAN:

4.00 score 1 stars 5 scripts 156 downloads 13 exports 15 dependencies

Last updated 3 years agofrom:a5b85b75e2. Checks:OK: 1 NOTE: 6. Indexed: yes.

TargetResultDate
Doc / VignettesOKNov 01 2024
R-4.5-winNOTENov 01 2024
R-4.5-linuxNOTENov 01 2024
R-4.4-winNOTENov 01 2024
R-4.4-macNOTENov 01 2024
R-4.3-winNOTENov 01 2024
R-4.3-macNOTENov 01 2024

Exports:conf_CQR_conditionalconf_CQR_regconf_CQR_reg_conditionalcv.funefcp_cqrefcp_ridgeefcp.funginverse.funnaive.funstar.funvfcp_cqrvfcp_ridgevfcp.fun

Dependencies:codetoolsforeachglmnetiteratorslatticeMASSMatrixmvtnormquantregForestrandomForestRColorBrewerRcppRcppEigenshapesurvival

Example_tuning_free_CQR

Rendered fromExample-tuning_free_CQR.Rmdusingknitr::rmarkdownon Nov 01 2024.

Last update: 2021-08-10
Started: 2021-08-10

Example_tuning_free_ridge_regression

Rendered fromExample-tuning_free_ridge_regression.Rmdusingknitr::rmarkdownon Nov 01 2024.

Last update: 2021-08-10
Started: 2021-08-10

Readme and manuals

Help Manual

Help pageTopics
Blog datablog
Concrete dataconcrete
Conditional width and coverage for CQR, internal function used inside conf_CQR_conditionalconf_CQR
Conditional width and coverage for CQRconf_CQR_conditional
preliminary function for CQRconf_CQR_prelim
EFCP and VFCP for CQR, CQR-m, CQR-rconf_CQR_reg
Conditional width and coverage for EFCP, VFCP between CQR, CQR-m, CQR-rconf_CQR_reg_conditional
Cross validation conformal prediction for ridge regressioncv.fun
Efficiency first conformal prediction for Conformal Quantile Regressionefcp_cqr
Efficiency first conformal prediction for ridge regressionefcp_ridge
Efficiency first conformal prediction for ridge regressionefcp.fun
Conformal prediction for linear regressionginverse.fun
Internal function used for ginverse.funginverselm.funs
Kernel datakernel
Internal function used for ginverse.funmy.ginverselm.funs
Conformal prediction for linear regressionnaive.fun
News datanews
Outcomes of an example for tuning-free conformalized quantile regression(CQR).pois_n400_reps100
Protein dataprotein
Outcomes of an example for tuning-free conformal prediction with ridge regression.ridge_linear_cov100_t3
Outcomes of an example for tuning-free conformal prediction with ridge regression.ridge_linear_cov100_t5
Outcomes of an example for tuning-free conformal prediction with ridge regression.ridge_linear_len100_t3
Outcomes of an example for tuning-free conformal prediction with ridge regression.ridge_linear_len100_t5
Conformal prediction for ridge regression, tuning parameter by minimizing the mean of the residualsstar.fun
Superconduct datasuperconduct
Validity first conformal prediction for Conformal Quantile Regressionvfcp_cqr
Validity first conformal prediction for ridge regressionvfcp_ridge
Validity first conformal prediction for ridge regressionvfcp.fun