Skip to content

Commit d797472

Browse files
committed
rebase into master
1 parent 5e75854 commit d797472

File tree

4 files changed

+4
-3
lines changed

4 files changed

+4
-3
lines changed

README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ Have fun!
1515

1616
Treeplot can plot the tree for Random-forest, decission trees, xgboost and gradient boosting models:
1717
* treeplot.plot() : Generic function to plot the tree of any of the four models with default settings
18-
* treeplot.plot_tree() : Plot the decission tree model. Parameters can be specified.
1918
* treeplot.randomforest() : Plot the randomforest model. Parameters can be specified.
2019
* treeplot.xgboost() : Plot the xgboost model. Parameters can be specified.
2120
* treeplot.import_example('iris') : Import example dataset

requirements_dev.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
pytest

treeplot/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
__author__ = 'Erdogan Tasksen'
1010
__email__ = '[email protected]'
11-
__version__ = '0.1.13'
11+
__version__ = '0.1.14'
1212

1313
# module level doc-string
1414
__doc__ = """

treeplot/treeplot.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@
1313
import zipfile
1414
import numpy as np
1515
from sklearn.tree import export_graphviz
16-
from sklearn.tree.export import export_text
16+
# from sklearn.tree.export import export_text
17+
from sklearn.tree import export_text
1718
from subprocess import call
1819
import matplotlib.image as mpimg
1920
import matplotlib.pyplot as plt

0 commit comments

Comments
 (0)