Skip to main content

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

📦 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

📖 Full DropWise Documentation


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

image

📝 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

quantiq-0.2.0.tar.gz (9.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

quantiq-0.2.0-py3-none-any.whl (10.1 kB view details)

Uploaded Python 3

File details

Details for the file quantiq-0.2.0.tar.gz.

File metadata

  • Download URL: quantiq-0.2.0.tar.gz
  • Upload date:
  • Size: 9.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.13

File hashes

Hashes for quantiq-0.2.0.tar.gz
Algorithm Hash digest
SHA256 c00dbf2a59bf272dbd9b22ab6978b85e540a9bf85fb581d1c94f55877167b836
MD5 440dbb59e7e776ee0a8898f0f54fdfc6
BLAKE2b-256 0754ad9ac6eff82888050b6c922aef25319a6a5c712ec22a60bebf60aeee7146

See more details on using hashes here.

File details

Details for the file quantiq-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: quantiq-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 10.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.13

File hashes

Hashes for quantiq-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c8bc5e9bd9bcac7172bc28187efa50045aafb025ef9d5590be2f9d9a197fae0a
MD5 dddc25c3ee66e6d2ede022a29216f67b
BLAKE2b-256 2b752da27245201e52343a9c8a348a0ba53b0528f9834e0b7a4ad5911ba7887b

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page