Skip to main content

Package to assist with analysis of tree-based models.

Project description

tabular-trees

PyPI Read the Docs GitHub GitHub last commit Build

Introduction

tabular-trees is a package for making analysis on tree-based models easier.

Tree based models (specifically GBMs) from xgboost, lightgbm or scikit-learn can be exported to TabularTrees objects for further analysis.

The explain and validate modules contain functions that operate on TabularTrees objects.

See the documentation for more information.

Install

The easiest way to get tabular-trees is to install directly from pypi:

pip install tabular_trees

tabular-trees works with GBMs from xgboost, lightgbm or scikit-learn. These packages must be installed to use the relevant functionality from tabular-trees.

[lightgbm, sklearn, xgboost] are optional depedencies that can be specified for tabular-trees. They can be installed along with tabular-trees as follows:

pip install tabular_trees[lightgbm, sklearn]

Build

tabular-trees uses poetry as the environment management and package build tool. Follow the instructions here to install.

To install the package locally, for development purposes along with the development dependencies run:

poetry install --with dev

dev is an optional dependency group, the other one is docs which is only required if building the documentation.

To install all the optional, development dependencies as well as all the extras for the package run:

poetry install --extras "lightgbm xgboost" --with dev,docs

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

tabular_trees-0.3.0.tar.gz (29.0 kB view details)

Uploaded Source

Built Distribution

tabular_trees-0.3.0-py3-none-any.whl (36.7 kB view details)

Uploaded Python 3

File details

Details for the file tabular_trees-0.3.0.tar.gz.

File metadata

  • Download URL: tabular_trees-0.3.0.tar.gz
  • Upload date:
  • Size: 29.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.1

File hashes

Hashes for tabular_trees-0.3.0.tar.gz
Algorithm Hash digest
SHA256 f39a63447f1fbe6f8ef0ae86555b2133d20c84351f8d3f15f7f6f883fa6bb1ae
MD5 90c54980efa13f04bc67b1f08fbb4349
BLAKE2b-256 d4cd9afd5c04c8842eb85e956a06bd6f99b1d6cd4d480fba26c8c3c5b301bd96

See more details on using hashes here.

File details

Details for the file tabular_trees-0.3.0-py3-none-any.whl.

File metadata

File hashes

Hashes for tabular_trees-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 13c50e30e59d8ce10b04389ba9ed15724bc223f0d760c14607579f03f061729e
MD5 5fd1a64367cce780a49cd1ffe60e65e3
BLAKE2b-256 65d9b038ea7fb60b940fd3ba602552677b4706a390c705e8a5956eb4f809f113

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