Package: scR 0.4.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:
scR_0.4.0.tar.gz
scR_0.4.0.tar.gz(r-4.5-noble)scR_0.4.0.tar.gz(r-4.4-noble)
scR_0.4.0.tgz(r-4.4-emscripten)scR_0.4.0.tgz(r-4.3-emscripten)
scR.pdf |scR.html✨
scR/json (API)
# Install 'scR' in R: |
install.packages('scR', repos = 'https://cloud.r-project.org') |
Bug tracker:https://github.com/pjesscarter/scr/issues
- br - Replication data for 'Predicting Recidivism'
Last updated 3 months agofrom:4cd186ff04. Checks:3 OK. Indexed: yes.
Target | Result | Latest binary |
---|---|---|
Doc / Vignettes | OK | Mar 26 2025 |
R-4.5-linux | OK | Mar 26 2025 |
R-4.4-linux | OK | Mar 26 2025 |
Exports:acc_simestimate_accuracygendatagetpacplot_accuracyscbsimvcd
Dependencies:askpassbase64encbslibcachemcaretclasscliclockcodetoolscolorspacecpp11crosstalkcurldata.tablediagramdigestdplyre1071evaluatefansifarverfastmapfontawesomeforeachfsfuturefuture.applygenericsggplot2globalsgluegowergtablehardhathighrhtmltoolshtmlwidgetshttripredisobanditeratorsjquerylibjsonliteKernSmoothknitrlabelinglaterlatticelavalazyevallifecyclelistenvlubridatemagrittrMASSMatrixmemoisemgcvmimeModelMetricsmunsellnlmennetnumDerivopensslparallellypbapplypillarpkgconfigplotlyplyrpROCprodlimprogressrpromisesproxypurrrR6rappdirsRColorBrewerRcpprecipesreshape2rlangrmarkdownrpartsassscalesshapesparsevctrsSQUAREMstringistringrsurvivalsystibbletidyrtidyselecttimechangetimeDatetinytextzdbutf8vctrsviridisLitewithrxfunyaml
Citation
To cite package ‘scR’ in publications use:
Carter P, Choi D (2024). scR: Estimate Vapnik-Chervonenkis Dimension and Sample Complexity. R package version 0.4.0, https://CRAN.R-project.org/package=scR.
Corresponding BibTeX entry:
@Manual{, title = {scR: Estimate Vapnik-Chervonenkis Dimension and Sample Complexity}, author = {Perry Carter and Dahyun Choi}, year = {2024}, note = {R package version 0.4.0}, url = {https://CRAN.R-project.org/package=scR}, }
Readme and manuals
scR: Learning from Noise: Applying Sample Complexity Bounds for Political Science Research
This R package provides a computationally efficient way of calculating Sample Complexity Bounds (scb), suggested by Carter and Choi (2023).
Authors
Paper
Learning from Noise: Applying Sample Complexity Bounds for Political Science Research
Installation
Install the package from CRAN by running the R commands:
install.packages("scR")
library("scR")