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

Downloads last month

-

Downloads are not tracked for this model. How to track
Inference Providers NEW
This model isn't deployed by any Inference Provider. πŸ™‹ Ask for provider support