Confidence-aware AI toolkit with uncertainty estimation for Transformers and Deep Ensembles
Project description
QuantIQ 🔍
QuantIQ is a unified Python library for building robust, uncertainty-aware deep learning systems. It brings together lightweight, modular tools to help researchers and practitioners gain insight into model reliability and risk through principled uncertainty estimation.
📦 What's Inside
Quantiq currently includes two powerful uncertainty quantification tools:
1. DropWise 🔁
A plug-and-play PyTorch/HuggingFace wrapper for Monte Carlo Dropout–based uncertainty estimation in Transformers.
- Supports classification, regression, QA, and token tagging
- Computes entropy, confidence, and class-wise variances
- Enables dropout during inference for Bayesian-style sampling
2. SmartEnsemble 🧠
A deep ensemble wrapper for PyTorch models with support for adversarial training and dual-mode (epistemic + aleatoric) uncertainty estimation.
- Works with any PyTorch model
- Enables risk scoring and calibration
- Includes built-in visualization and prediction APIs
📖 Full SmartEnsemble Documentation
🔧 Installation
pip install quantiq
Or install from source:
git clone https://github.com/aryanator/QuantIQ.git
cd quantiq
pip install -e .
🧪 Use Cases
- Safety-critical predictions (medical AI, self-driving, finance)
- Uncertainty-aware active learning
- Robust ML pipelines with explainable confidence
- Research experiments involving confidence, entropy, risk
📚 Documentation & Examples
Explore examples, API usage, and task-specific walkthroughs in the GitHub repository:
🔗 https://github.com/aryanator/QuantIQ
📝 License
MIT License
Built by Aryan Patil to make uncertainty estimation simpler, smarter, and production-ready.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file quantiq-0.1.2.tar.gz.
File metadata
- Download URL: quantiq-0.1.2.tar.gz
- Upload date:
- Size: 9.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f36dced2558ca047a29247ac50df190e81e926d8da3f6c4d6e7d7a8154685b6c
|
|
| MD5 |
ad8c4e30dcb57e4d353f742007e1d6ca
|
|
| BLAKE2b-256 |
a3d940d24f50c032bdc16cc7f2a5eec720907c2be62752a2070508e98d41a6a8
|
File details
Details for the file quantiq-0.1.2-py3-none-any.whl.
File metadata
- Download URL: quantiq-0.1.2-py3-none-any.whl
- Upload date:
- Size: 10.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fb04b12b5b4026cccddc52bb2b4318621a3ec9cb363bf78d81900c68418b2a56
|
|
| MD5 |
9dbaeb89106b6c26b589ae31fe0e9d89
|
|
| BLAKE2b-256 |
4357a9dcd9963edf6376a5f53ca452755985de067f534c0b74bebca08c3871e8
|