PyTorch toolbox for conformal prediction research on deep learning models
Top 71.7% on sourcepulse
TorchCP is a Python toolbox for conformal prediction research in deep learning, targeting researchers and practitioners who need to quantify uncertainty in model predictions. It provides a PyTorch-based framework with GPU acceleration for various tasks, including classification, regression, graph node classification, and LLM applications, enabling more reliable and interpretable AI systems.
How It Works
TorchCP implements a wide array of representative conformal prediction methods, categorized into post-hoc and training-time approaches. The framework is built upon AdverTorch, leveraging its structure for efficient implementation. It supports diverse tasks by offering specialized modules for classification, regression, graph neural networks, and language models, allowing users to select and apply appropriate methods for their specific deep learning architectures and data types.
Quick Start & Requirements
pip install torchcp
Highlighted Details
Maintenance & Community
Licensing & Compatibility
Limitations & Caveats
The codebase is still under construction, with some features marked as TODO. While it supports GPU acceleration, specific CUDA version requirements are not detailed.
2 weeks ago
1 week