Crandore Hub

crossfit

A Graph-Based Cross-Fitting Engine in R

Provides a general cross-fitting engine for semiparametric estimation (e.g., double/debiased machine learning). Supports user-defined target functionals and directed acyclic graphs of nuisance learners with per-node training fold widths, target-specific evaluation windows, and fold-allocation modes ("overlap", "disjoint", "independence"). Returns either numeric estimates (mode = "estimate") or cross-fitted prediction functions (mode = "predict"), with configurable aggregation over panels and repetitions, reuse-aware caching, and failure isolation, making it well-suited for simulation studies and large benchmarks.

Versions across snapshots

VersionRepositoryFileSize
0.1.3 2026-04-09 windows/windows R-4.5 crossfit_0.1.3.zip 150.8 KiB

Dependencies (latest)

Imports

Suggests