Package: scR 0.3.0

Perry Carter

scR: Estimate Vapnik-Chervonenkis Dimension and Sample Complexity

We provide a suite of tools for estimating the sample complexity of a chosen model through theoretical bounds and simulation. The package incorporates methods for estimating the Vapnik-Chervonenkis dimension (VCD) of a chosen algorithm, which can be used to estimate its sample complexity. Alternatively, we provide simulation methods to estimate sample complexity directly. For more details, see Carter, P & Choi, D (2024). "Learning from Noise: Applying Sample Complexity for Political Science Research" <doi:10.31219/osf.io/evrcj>.

Authors:Perry Carter [aut, cre], Dahyun Choi [aut]

scR_0.3.0.tar.gz
scR_0.3.0.tar.gz(r-4.5-noble)scR_0.3.0.tar.gz(r-4.4-noble)
scR_0.3.0.tgz(r-4.4-emscripten)scR_0.3.0.tgz(r-4.3-emscripten)
scR.pdf |scR.html
scR/json (API)

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

Peer review:

Bug tracker:https://github.com/pjesscarter/scr/issues

Datasets:
  • br - Replication data for 'Predicting Recidivism'

2.00 score 4 scripts 183 downloads 7 exports 107 dependencies

Last updated 7 days agofrom:3fcc0a3eee. Checks:OK: 2. Indexed: yes.

TargetResultDate
Doc / VignettesOKDec 18 2024
R-4.5-linuxOKDec 18 2024

Exports:acc_simestimate_accuracygendatagetpacplot_accuracyscbsimvcd

Dependencies:askpassbase64encbslibcachemcaretclasscliclockcodetoolscolorspacecpp11crosstalkcurldata.tablediagramdigestdplyre1071evaluatefansifarverfastmapfontawesomeforeachfsfuturefuture.applygenericsggplot2globalsgluegowergtablehardhathighrhtmltoolshtmlwidgetshttripredisobanditeratorsjquerylibjsonliteKernSmoothknitrlabelinglaterlatticelavalazyevallifecyclelistenvlubridatemagrittrMASSMatrixmemoisemgcvmimeModelMetricsmunsellnlmennetnumDerivopensslparallellypbapplypillarpkgconfigplotlyplyrpROCprodlimprogressrpromisesproxypurrrR6rappdirsRColorBrewerRcpprecipesreshape2rlangrmarkdownrpartsassscalesshapeSQUAREMstringistringrsurvivalsystibbletidyrtidyselecttimechangetimeDatetinytextzdbutf8vctrsviridisLitewithrxfunyaml