Skip to content

scR

Estimate Vapnik-Chervonenkis Dimension and Sample Complexity

v0.4.0 · Dec 23, 2024 · MIT + file LICENSE

Description

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>.

Downloads

198

Last 30 days

22536th

509

Last 90 days

2K

Last year

Trend: +13.8% (30d vs prior 30d)

CRAN Check Status

14 OK
Show all 14 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang OK
r-devel-linux-x86_64-debian-gcc OK
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-macos-arm64 OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 OK
r-oldrel-macos-x86_64 OK
r-oldrel-windows-x86_64 OK
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK

Check History

OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026

Dependency Network

Dependencies Reverse dependencies pbapply caret dplyr tidyr ggplot2 plotly scR

Version History

new 0.4.0 Mar 10, 2026
updated 0.4.0 ← 0.3.0 diff Dec 22, 2024
updated 0.3.0 ← 0.2.0 diff Dec 17, 2024
updated 0.2.0 ← 0.1.0 diff Dec 15, 2024
new 0.1.0 Dec 1, 2024