Skip to main content

Library for tree models: decision trees, model trees, mimic models, etc.

Project description

Build Status codecov Python Versions PyPI version License


Library for tree models: decision trees, model trees, mimic models, etc.


The latest stable version is on PyPI. Install it with:

pip install generalizedtrees


  • Python (>=3.8)

  • scikit-learn (>=0.23.2)

  • numpy (>=1.19.1)

  • scipy (>=1.5.2)

  • pandas (>=1.1.0)

See requirements.txt for recommended dependencies (usually newest versions of all packages).


We use the GitHub issue tracker for bugs and feature requests.


We use the standard Python process for building the package. Run:

python build

to locally build the package, and:

python install

to install the locally built package.


We use pytest for testing. Run:


on the command line to run all tests.


Licensed under the BSD 3-Clause License Copyright (c) 2020, Yuriy Sverchkov


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

generalizedtrees-1.2.0.tar.gz (31.6 kB view hashes)

Uploaded Source

Built Distribution

generalizedtrees-1.2.0-py3-none-any.whl (40.2 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