Conformal Prediction & Distribution-Free UQ Vault (conformal-prediction-vault)
Comprehensive scientific research vault housing algorithms, non-conformity calibration routines, Conformalized Quantile Regression (CQR), and weighted covariate-shift solvers for Conformal Prediction and Distribution-Free Uncertainty Quantification.
Vault Repository Structure
conformal-prediction-vault/
βββ src/
β βββ split_conformal.py # Standard residual split conformal prediction
β βββ conformalized_quantile_regression.py # CQR with signed excess non-conformity scores
β βββ weighted_conformal_shift.py # Weighted conformal prediction under covariate shift
βββ benchmarks/
β βββ eval_coverage_guarantees.py # Monte Carlo finite-sample coverage validation suite
βββ MANIFEST.json # Cryptographic SHA-256 integrity manifest
βββ README.md # Mathematical theorems and documentation
Theorems & Formulations
- Finite-Sample Marginal Coverage: $$\mathbb{P}\left(Y_{n+1} \in \hat{C}(X_{n+1})\right) \ge 1 - \alpha$$
- CQR Non-Conformity Score: $$s_i = \max\left(\hat{q}{\alpha/2}(x_i) - y_i, \ y_i - \hat{q}{1-\alpha/2}(x_i)\right)$$
- Weighted Conformal Shift: $$p_i = \frac{w(X_i)}{\sum_{j=1}^{n+1} w(X_j)}, \quad w(x) = \frac{p_{\text{test}}(x)}{p_{\text{cal}}(x)}$$
Reproducibility
python benchmarks/eval_coverage_guarantees.py
Developed by Ramprasad Atluri (At1uri).
Inference Providers NEW
This model isn't deployed by any Inference Provider. π Ask for provider support