Recent Releases of dtreeviz

dtreeviz - 2.2.2

See https://github.com/parrt/dtreeviz/milestone/40?closed=1

Contributors

- Jupyter Notebook
Published by parrt over 2 years ago

dtreeviz - 2.2.0

Support string categorical vars in regressors and classifiers. See https://github.com/parrt/dtreeviz/pull/265

- Jupyter Notebook
Published by parrt about 3 years ago

dtreeviz - 2.1.4

Minor improvement release: https://github.com/parrt/dtreeviz/pull/259

- Jupyter Notebook
Published by parrt about 3 years ago

dtreeviz - 2.1.3

Add doc for feature space partitioning functions. Fix bug in tessellate() function.

- Jupyter Notebook
Published by parrt about 3 years ago

dtreeviz - 2.1.2

Fix compatibility issue with tensorflow trees.

- Jupyter Notebook
Published by parrt about 3 years ago

dtreeviz - 2.1.1

Single feature release:

Enhanced ctreefeaturespace() that accepts a features arg rather than requiring a model with just 1 or 2 features

- Jupyter Notebook
Published by parrt about 3 years ago

dtreeviz - 2.1.0

This is a major cleanup release, with @mepland doing most of the heavy lifting; there are refactorings, if you bug fixes, and lots of visualization clean up.

Issues fixed

Improvements, features

Contributors

- Jupyter Notebook
Published by parrt about 3 years ago

dtreeviz - 2.0.0

This release re-organizes the API to focus on using a model adaptor that adapts the visualization library to the various supported decision tree libraries.

We simplified the README and rebuilt all of the library-specific notebooks to demonstrate the new API, using a common set of examples:

New API:

``` from sklearn.datasets import load_iris from sklearn.tree import DecisionTreeClassifier import dtreeviz

iris = load_iris() X = iris.data y = iris.target

clf = DecisionTreeClassifier(maxdepth=4) clf.fit(X, y) vizmodel = dtreeviz.model(clf, Xtrain=X, ytrain=y, featurenames=iris.featurenames, targetname='iris', classnames=iris.target_names)

v = viz_model.view() # render as SVG into internal object ```

Previous API: Previously, we did something like this to call functions and pass in the various details of the model and training data:

from dtreeviz.trees import dtreeviz dtreeviz(tree_model=clf, X_train, ...)

Using old functions with 2.0+:

For backward compatibility to call function dtreeviz() and the old API, you can change the import to be:

from dtreeviz import * dtreeviz(tree_model=clf, X_train, ...)

Argument name changes:

If you were previously using internal model adaptors, such as ShadowLightGBMTree, please note we have changed the following argument names: x_data->X_train and y_data->y_train.

Stuff we completed:

https://github.com/parrt/dtreeviz/milestone/30?closed=1

- Jupyter Notebook
Published by parrt about 3 years ago

dtreeviz - Fix bar chart viz weirdness

Fixing this bug: https://github.com/parrt/dtreeviz/issues/196

- Jupyter Notebook
Published by parrt about 3 years ago

dtreeviz - 1.4.0

Add tensorflow decision tree support.

- Jupyter Notebook
Published by parrt over 3 years ago

dtreeviz - 1.3.7

Add colors to support more than 10 target classes for classification:

  • https://github.com/parrt/dtreeviz/pull/185

- Jupyter Notebook
Published by parrt over 3 years ago

dtreeviz - 1.3.6

This release makes a small change that really improve the speed of dtreeviz.interpretation.explain_prediction_plain_english().

See Fix: xgbdecisiontree shouldGoLeftAtSplit -- massive-speed-up #182.

- Jupyter Notebook
Published by parrt almost 4 years ago

dtreeviz - 1.3.5

Quick bug fix for scaling images.

- Jupyter Notebook
Published by parrt almost 4 years ago

dtreeviz - 1.3.4

Bug fix release: closed PRs

- Jupyter Notebook
Published by parrt almost 4 years ago

dtreeviz - 1.3.3

Minor tweaks and improvements.

- Jupyter Notebook
Published by parrt about 4 years ago

dtreeviz - 1.3.2

Fix compatibility issue with 0.18 release of graphviz; fixed by 90031de435247632b75292e862e9697bb06479ca

- Jupyter Notebook
Published by parrt over 4 years ago

dtreeviz - 1.3.1

Some bug fixes and clean up.

- Jupyter Notebook
Published by parrt over 4 years ago

dtreeviz - 1.2 Add LightGBM, sklearn pipelines, bug fixes

See Bugs fixes and pull requests.

The main improvement is the introduction of support for LightGBM, thanks to @tlapusan.

- Jupyter Notebook
Published by parrt almost 5 years ago

dtreeviz - Minor improvements

See issues addressed

- Jupyter Notebook
Published by parrt about 5 years ago

dtreeviz - 1.1.3 Add optional title to dtreeviz plots

- Jupyter Notebook
Published by parrt about 5 years ago

dtreeviz - Support pyspark 2 and 3

- Jupyter Notebook
Published by parrt over 5 years ago

dtreeviz - Fix minor issue with single trees for spark

- Jupyter Notebook
Published by parrt over 5 years ago

dtreeviz - Add spark decision tree support

- Jupyter Notebook
Published by parrt over 5 years ago

dtreeviz - 1.0 Add xgboost support

Most important: Introduces XGBoost support thanks to @tlapusan

Enhancements

  • https://github.com/parrt/dtreeviz/pull/91
  • https://github.com/parrt/dtreeviz/pull/84

Bugs:

  • https://github.com/parrt/dtreeviz/pull/90

- Jupyter Notebook
Published by parrt over 5 years ago

dtreeviz - 0.8.2 add min_samples_leaf to rtreeviz_* functions

- Jupyter Notebook
Published by parrt almost 6 years ago

dtreeviz - 0.8.1 Quick enhancement to allow scale arg for dtreeviz()

Quick enhancement: Add scale arg to dtreeviz()

- Jupyter Notebook
Published by parrt about 6 years ago

dtreeviz - 0.7.1 Small fixes, improvements

- Jupyter Notebook
Published by parrt over 6 years ago

dtreeviz - 0.7

Added cool leaf viz features from @tlapusan viz_leaf_samples() and ctreeviz_leaf_samples.

Screen Shot 2019-10-23 at 3 51 03 PM Screen Shot 2019-10-23 at 3 51 13 PM

Also, allowed ax=None now in the rtree_* and ctree_* functions.

Fixed:

- Jupyter Notebook
Published by parrt over 6 years ago

dtreeviz - Configurable colors, add colorbar, code cleanup

See changes for 0.5. Thanks to @Ashafix and @H4dr1en for the PRs:

  • Configurable colors
  • Added colorbar
  • code clean up

- Jupyter Notebook
Published by parrt over 6 years ago

dtreeviz - 0.4

Lots of bug fixes but main improvement is drastically simplified install procedure for OS X and Windows, thanks to @gautamkarnik. Also, I merged @h4nyu's PR for remove hard coded fontname.

- Jupyter Notebook
Published by parrt over 6 years ago

dtreeviz - Add uni and bivariate feature space depictions

Regression univariate feature-target space

dectree-depth-2

Regression bivariate feature-target space

screen shot 2018-11-26 at 11 39 23 am

Regression bivariate feature-target space heatmap

rtree-heatmap-depth-4

Classification univariate feature-target space

knowlege-classtree-depth-3

Classification bivariate feature-target space

knowlege-bivar-classtree-depth-3

- Jupyter Notebook
Published by parrt about 7 years ago

dtreeviz - Use simple node names to avoid issues with weird feature names

- Jupyter Notebook
Published by parrt over 7 years ago

dtreeviz - Fix windows compatibility issue

Just a tweak to fix path issue for windows. thanks to @whamp.

- Jupyter Notebook
Published by parrt over 7 years ago

dtreeviz - make dtreeviz cross-platform

Enhancements:

  • Squashed all commits prior to these updates to remove huge legacy files
  • Works across mac, linux, windows 10. Only .svg output on linux, windows
  • Leaf nodes respect class weights now in classifier trees, thanks to @dschoenleber
  • SVG files on all platforms embed images for nodes, rather than linking to them. We had to do this with custom XML munging code, except on OS X where we can do -Tsvg:cairo on dot command
  • Legend on classifiers now done with mathplotlib not graphviz

- Jupyter Notebook
Published by parrt over 7 years ago

dtreeviz - Initial (re-)release with decision tree visualization

I squashed commit history due to huge set of dead files. renamed from animl to detreeviz

- Jupyter Notebook
Published by parrt over 7 years ago