Skip to main content

Instance-Based Uncertainty Estimation for Gradient-Boosted Regression Trees

Project description

IBUG: Instance-Based Uncertainty Estimation for Gradient-Boosted Regression Trees

PyPi version Python version Github License Build

ibug is a simple wrapper that extends any gradient-boosted regression trees (GBRT) model into a probabilistic estimator, and is compatible with all major GBRT frameworks including LightGBM, XGBoost, CatBoost, and SKLearn.

Install

pip install ibug

Experiment

Download a Dataset

  1. Follow the instructions in the readme for a dataset in data/.

Quantify Prediction Uncertainy with LightGBM + IBUG

python3 scripts/experiments/train.py --tree_type lgb
python3 scripts/experiments/predict.py --tree_type lgb

License

Apache License 2.0.

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

ibug-0.0.4.tar.gz (279.0 kB view details)

Uploaded Source

Built Distributions

ibug-0.0.4-cp310-cp310-win_amd64.whl (436.1 kB view details)

Uploaded CPython 3.10 Windows x86-64

ibug-0.0.4-cp310-cp310-win32.whl (415.6 kB view details)

Uploaded CPython 3.10 Windows x86

ibug-0.0.4-cp310-cp310-musllinux_1_1_x86_64.whl (1.3 MB view details)

Uploaded CPython 3.10 musllinux: musl 1.1+ x86-64

ibug-0.0.4-cp310-cp310-musllinux_1_1_i686.whl (1.2 MB view details)

Uploaded CPython 3.10 musllinux: musl 1.1+ i686

ibug-0.0.4-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.3 MB view details)

Uploaded CPython 3.10 manylinux: glibc 2.17+ x86-64

ibug-0.0.4-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl (1.2 MB view details)

Uploaded CPython 3.10 manylinux: glibc 2.17+ i686 manylinux: glibc 2.5+ i686

ibug-0.0.4-cp310-cp310-macosx_10_9_x86_64.whl (468.4 kB view details)

Uploaded CPython 3.10 macOS 10.9+ x86-64

ibug-0.0.4-cp39-cp39-win_amd64.whl (435.8 kB view details)

Uploaded CPython 3.9 Windows x86-64

ibug-0.0.4-cp39-cp39-win32.whl (415.2 kB view details)

Uploaded CPython 3.9 Windows x86

ibug-0.0.4-cp39-cp39-musllinux_1_1_x86_64.whl (1.3 MB view details)

Uploaded CPython 3.9 musllinux: musl 1.1+ x86-64

ibug-0.0.4-cp39-cp39-musllinux_1_1_i686.whl (1.2 MB view details)

Uploaded CPython 3.9 musllinux: musl 1.1+ i686

ibug-0.0.4-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.3 MB view details)

Uploaded CPython 3.9 manylinux: glibc 2.17+ x86-64

ibug-0.0.4-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl (1.2 MB view details)

Uploaded CPython 3.9 manylinux: glibc 2.17+ i686 manylinux: glibc 2.5+ i686

ibug-0.0.4-cp39-cp39-macosx_10_9_x86_64.whl (468.3 kB view details)

Uploaded CPython 3.9 macOS 10.9+ x86-64

File details

Details for the file ibug-0.0.4.tar.gz.

File metadata

  • Download URL: ibug-0.0.4.tar.gz
  • Upload date:
  • Size: 279.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.2 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10

File hashes

Hashes for ibug-0.0.4.tar.gz
Algorithm Hash digest
SHA256 1b3d980a144b7a9e8408610d3ae06497f578d0378d9cd34a13489810baff5398
MD5 9c648a197cf2566113115c471b233265
BLAKE2b-256 ec1dcfbe7f16f4a1f77de001c293d1bf3e49025de30bf7d952c625689165eb4e

See more details on using hashes here.

File details

Details for the file ibug-0.0.4-cp310-cp310-win_amd64.whl.

File metadata

  • Download URL: ibug-0.0.4-cp310-cp310-win_amd64.whl
  • Upload date:
  • Size: 436.1 kB
  • Tags: CPython 3.10, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.2 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10

File hashes

Hashes for ibug-0.0.4-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 a6ba117f68943b20a995a0db7a753fc2bff9d66729d3ac87f6382babddbfcbf5
MD5 e667dfae41305ef7549687aac92a1b41
BLAKE2b-256 2508755f22600e89f7ec0c72fdd9f854a83c11f966f92ada75d90c340e720194

See more details on using hashes here.

File details

Details for the file ibug-0.0.4-cp310-cp310-win32.whl.

File metadata

  • Download URL: ibug-0.0.4-cp310-cp310-win32.whl
  • Upload date:
  • Size: 415.6 kB
  • Tags: CPython 3.10, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.2 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10

File hashes

Hashes for ibug-0.0.4-cp310-cp310-win32.whl
Algorithm Hash digest
SHA256 f26e140f3ff641cf2387c706f60d30a2c2d46441c3ddf143222fe9846983f936
MD5 75061bccd8ce62065592261439c3134d
BLAKE2b-256 7fc6bb7ae50bb605dcf7c2cbab57ebe7912344db787d175a8bde08439b77042d

See more details on using hashes here.

File details

Details for the file ibug-0.0.4-cp310-cp310-musllinux_1_1_x86_64.whl.

File metadata

  • Download URL: ibug-0.0.4-cp310-cp310-musllinux_1_1_x86_64.whl
  • Upload date:
  • Size: 1.3 MB
  • Tags: CPython 3.10, musllinux: musl 1.1+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.2 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10

File hashes

Hashes for ibug-0.0.4-cp310-cp310-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 0b86ea8462ed65f3ee04c58c6d5ce910463f792ab6256479ac18f5122f0c8dc7
MD5 3adfe95056e1e347a5ce3389ab9b3ff2
BLAKE2b-256 6416986720eca9a4499689ba80e92b7ff318071a6a9dfbc39f50e38980a85a1a

See more details on using hashes here.

File details

Details for the file ibug-0.0.4-cp310-cp310-musllinux_1_1_i686.whl.

File metadata

  • Download URL: ibug-0.0.4-cp310-cp310-musllinux_1_1_i686.whl
  • Upload date:
  • Size: 1.2 MB
  • Tags: CPython 3.10, musllinux: musl 1.1+ i686
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.2 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10

File hashes

Hashes for ibug-0.0.4-cp310-cp310-musllinux_1_1_i686.whl
Algorithm Hash digest
SHA256 b9da3bcb27d7433e84b8bea8d197477da133a841f98d3cd2a5c5c2a34f7d39d2
MD5 5bcdab734ea6d0cea4d6ed14c1cb8b41
BLAKE2b-256 0b27719c25d72d114fa9ba68be2f61ca2a0a14bb9da197e666c3da3cbdca85ad

See more details on using hashes here.

File details

Details for the file ibug-0.0.4-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

  • Download URL: ibug-0.0.4-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
  • Upload date:
  • Size: 1.3 MB
  • Tags: CPython 3.10, manylinux: glibc 2.17+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.2 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10

File hashes

Hashes for ibug-0.0.4-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 60997bb6b37f3f73e50075c3bdf3ef0354533e6c8391a614eff76da221d13dd0
MD5 92e4e5ea5bf81dd5acd52dc7214c24a7
BLAKE2b-256 6d20a2441ac42db9202cee81429cad27c225e8feae5cfea014567561439aeabe

See more details on using hashes here.

File details

Details for the file ibug-0.0.4-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl.

File metadata

File hashes

Hashes for ibug-0.0.4-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 4a8320a05f8552fe41ef840fdc8834e24a59529fc6aac1c0c150eae6d77e43ff
MD5 4683a1262565196bf7d3bce631e7fc36
BLAKE2b-256 7cc5d9055d77c40f79ac86a5997b793de0d9ed6bded2e9c40d6541238c88a6e2

See more details on using hashes here.

File details

Details for the file ibug-0.0.4-cp310-cp310-macosx_10_9_x86_64.whl.

File metadata

  • Download URL: ibug-0.0.4-cp310-cp310-macosx_10_9_x86_64.whl
  • Upload date:
  • Size: 468.4 kB
  • Tags: CPython 3.10, macOS 10.9+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.2 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10

File hashes

Hashes for ibug-0.0.4-cp310-cp310-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 a69d7ccf2f0b3e3120f0eefeed5ecc0bd5eddaabb79189e1b749779b589cc2c6
MD5 f92287c8a7f4f26b1dccf958df624cff
BLAKE2b-256 0320fd217f236ede6768d33ab7eec00eda623d84a04e997b8c89b5d92819c62d

See more details on using hashes here.

File details

Details for the file ibug-0.0.4-cp39-cp39-win_amd64.whl.

File metadata

  • Download URL: ibug-0.0.4-cp39-cp39-win_amd64.whl
  • Upload date:
  • Size: 435.8 kB
  • Tags: CPython 3.9, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.2 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10

File hashes

Hashes for ibug-0.0.4-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 f3f47a5c076efe1d728f7a4e2ae1d20ebcaf90de4a9d94e87e59ab08638bf97d
MD5 04ffb07abb07c65a1bc02d1903fcc724
BLAKE2b-256 863e3a3a4298033a18b893a95adb3d0c7c9ef187a9ab4d992200064e1edb9660

See more details on using hashes here.

File details

Details for the file ibug-0.0.4-cp39-cp39-win32.whl.

File metadata

  • Download URL: ibug-0.0.4-cp39-cp39-win32.whl
  • Upload date:
  • Size: 415.2 kB
  • Tags: CPython 3.9, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.2 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10

File hashes

Hashes for ibug-0.0.4-cp39-cp39-win32.whl
Algorithm Hash digest
SHA256 2088b31a0ec0c7fd88a55889c6b07aa4c9c0ea1b8179fa152631fb07a9d4278d
MD5 b3dbfc767b1a9bbbc18bf474f89d680a
BLAKE2b-256 774690ac79dde9a327ebc39808112f109c6cf7ac8b7a4e3b2efed142a05e57c6

See more details on using hashes here.

File details

Details for the file ibug-0.0.4-cp39-cp39-musllinux_1_1_x86_64.whl.

File metadata

  • Download URL: ibug-0.0.4-cp39-cp39-musllinux_1_1_x86_64.whl
  • Upload date:
  • Size: 1.3 MB
  • Tags: CPython 3.9, musllinux: musl 1.1+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.2 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10

File hashes

Hashes for ibug-0.0.4-cp39-cp39-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 8e04f6eb25f2d3dc0650fc39b61b7004333f896f4f1210d253f71b32c2c43c47
MD5 c3d51f86b0b4309d5027c29a537f8ac3
BLAKE2b-256 36da4a8f663236ddcd8b11c5e6619180460484cc90d15bd1174aa487d531ea0d

See more details on using hashes here.

File details

Details for the file ibug-0.0.4-cp39-cp39-musllinux_1_1_i686.whl.

File metadata

  • Download URL: ibug-0.0.4-cp39-cp39-musllinux_1_1_i686.whl
  • Upload date:
  • Size: 1.2 MB
  • Tags: CPython 3.9, musllinux: musl 1.1+ i686
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.2 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10

File hashes

Hashes for ibug-0.0.4-cp39-cp39-musllinux_1_1_i686.whl
Algorithm Hash digest
SHA256 a34247f1b7cb4fe7d87a8f2e3f8c58f7982a9067ab5a9e761753b0e141a63005
MD5 26d3e312a5124f2390c4ddab3a75b3fa
BLAKE2b-256 c3793bbb624c39040981dc65841d027bebbd3fd2f9fa1634ee9902bf6e51899a

See more details on using hashes here.

File details

Details for the file ibug-0.0.4-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

  • Download URL: ibug-0.0.4-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
  • Upload date:
  • Size: 1.3 MB
  • Tags: CPython 3.9, manylinux: glibc 2.17+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.2 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10

File hashes

Hashes for ibug-0.0.4-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 7fd47dee12f8f01a067b1d2cef1027ef12b174e8ddb9d424eaaf0ac2bedd7770
MD5 4dc41192cc104855f99231dc9292829c
BLAKE2b-256 e9215334e3a3dae3047ee524cf9b9ff69edaf9347a9eef17bb9ac92f3722b928

See more details on using hashes here.

File details

Details for the file ibug-0.0.4-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl.

File metadata

File hashes

Hashes for ibug-0.0.4-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 dc809002c9ee48e3770f03a6102832d6773cacd2d5fe3dffb344a30f3b0d9364
MD5 a9c1f5b4e7a8a600a08c4ad7c63ea72d
BLAKE2b-256 c98a1d1dc1aab637c3f277909fb7de0b9e0b8bbe48c011a9ffcc4c527d32037a

See more details on using hashes here.

File details

Details for the file ibug-0.0.4-cp39-cp39-macosx_10_9_x86_64.whl.

File metadata

  • Download URL: ibug-0.0.4-cp39-cp39-macosx_10_9_x86_64.whl
  • Upload date:
  • Size: 468.3 kB
  • Tags: CPython 3.9, macOS 10.9+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.2 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10

File hashes

Hashes for ibug-0.0.4-cp39-cp39-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 0f3d7e1ec8a9d23c6e0c8db2a4f3521a86757b3df70910bf09010421b8ad99c9
MD5 06a9b19eba317b3e14073b37624faa43
BLAKE2b-256 7a571eacf089bef52eb4e336a36fadcb2743638fc920526519cb5c840a807031

See more details on using hashes here.

Supported by

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