Package for making analysis on tree-based models easier
Project description
tabular-trees
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
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 Distribution
Built Distribution
Hashes for tabular_trees-0.2.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | dc83e4085ebff93097bef2183acac5febc3f62ae438f464d46c594ed6aa7f069 |
|
MD5 | 2c3accbdd9a4c448d9e213f81806d989 |
|
BLAKE2b-256 | 973f0cee845ce54e72669de7a4ccc46acd88ea0357dd13a45f5a20883bb85992 |