Diagnostics for conditional density estimators locally and globally in feature space
Project description
CDE-diagnostics
The ''CDE-diagnostics'' package provides tools for validating the quality of conditional density estimators in Python. It contains source code for the paper ''Diagnostics for Conditional Density Estimators and Bayesian Inference Algorithms'' (https://arxiv.org/abs/2102.10473).
Author: David Zhao
Installation
CDE-diagnostics is available from PyPI; to install use
pip install cde-diagnostics
References
If you use this code in your research, please cite:
@InProceedings{zhao2021diagnostics,
title = {{Diagnostics for conditional density models and Bayesian inference algorithms}},
author = {Zhao, David and Dalmasso, Niccol\`{o} and Izbicki, Rafael and Lee, Ann B.},
abstract = {There has been growing interest in the AI community for precise uncertainty quantification. Conditional density models f(y|x), where x represents potentially high-dimensional features, are an integral part of uncertainty quantification in prediction and Bayesian inference. However, it is challenging to assess conditional density estimates and gain insight into modes of failure. While existing diagnostic tools can determine whether an approximated conditional density is compatible overall with a data sample, they lack a principled framework for identifying, locating, and interpreting the nature of statistically significant discrepancies over the entire feature space. In this paper, we present rigorous and easy-to-interpret diagnostics such as (i) the ``Local Coverage Test'' (LCT), which distinguishes an arbitrarily misspecified model from the true conditional density of the sample, and (ii) ``Amortized Local P-P plots'' (ALP) which can quickly provide interpretable graphical summaries of distributional differences at any location x in the feature space. Our validation procedures scale to high dimensions and can potentially adapt to any type of data at hand. We demonstrate the effectiveness of LCT and ALP through a simulated experiment and applications to prediction and parameter inference for image data.},
booktitle = {Proceedings of the 37th Conference on Uncertainty in Artificial Intelligence (UAI)},
year = {2021},
volume = {125},
series = {Proceedings of Machine Learning Research},
month = {26--29 Jul},
publisher = {PMLR}
}
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
File details
Details for the file cde_diagnostics-0.3-py3-none-any.whl
.
File metadata
- Download URL: cde_diagnostics-0.3-py3-none-any.whl
- Upload date:
- Size: 9.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/3.10.0 pkginfo/1.6.1 requests/2.24.0 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.7.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | efe352da43d83aa30a786ebf6f18c4a9826ede49f8ef517322ca13006f26536a |
|
MD5 | 038abb6ea133be85d31547993e4e4f99 |
|
BLAKE2b-256 | fa879c7acf6977e29b3a3e74674beec1a9bc5efa5725c4ff6811f5eb72f9dcda |