Skip to main content

Package for making analysis on tree-based models easier

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.

Once installed run

poetry install --with dev

to install the development dependencies. Other dependency groups are; docs, lightgbm, sklearn and xgboost.

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.2.0.tar.gz (21.1 kB view hashes)

Uploaded Source

Built Distribution

tabular_trees-0.2.0-py3-none-any.whl (23.6 kB view hashes)

Uploaded Python 3

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