Skip to content

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

15 Commits

Folders and files

Repository files navigation

Antithetic-CV

Code for reproducing the numerical experiments in Cross-Validation with Antithetic Gaussian Randomization by Sifan Liu, Snigdha Panigrahi, Jake A Soloff.

The paper introduces a method for estimating prediction error via external anti-correlated Gaussian noise. For Gaussian distributed data $Y\sim N(\theta, \sigma^2I_n)$, the method constructs $K$ pairs of training-validation data as follows:

$$Y_{\mathrm{train}}^{(k)} = Y + \sqrt\alpha\omega^{(k)},\quad Y_{\mathrm{test}}^{(k)} = Y - \frac{1}{\sqrt\alpha}\omega^{(k)},$$

where $\omega^{(k)}\sim N(0,\sigma^2 I_n) $ for $ 1\leq k\leq K$ with the constraint that

$$\sum_{k=1}^K \omega^{(k)} = 0.$$

prediction_algorithms.py: contains prediction algorithms $g$, including isotonic regression, multi-layer perceptron regression, logistic regression, and 2d fused lasso.

risk_estimators: contains risk estimators including the proposed antithetic CV method, the coupled bootstrap estimator, and the classic cross-validation.

experiments: contains the scripts to reproduce the numerical experiments presented in the paper.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages