Skip to content

Commit

Permalink
Better README formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
Mark Ramotowski committed Jan 13, 2020
1 parent e43d063 commit 9dc36e1
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -309,12 +309,13 @@ tree.to_tree()

This creates a [treelib](https://github.com/caesar0301/treelib/blob/master/treelib) which has a `.to_graphviz()` method [here](https://github.com/caesar0301/treelib/blob/master/treelib/tree.py#L865).


In order to use visually graph the CHAID tree, you'll need to install two more libraries that aren't distributed via pypi:

graphviz - see [here](https://stackoverflow.com/questions/35064304/runtimeerror-make-sure-the-graphviz-executables-are-on-your-systems-path-aft) for platform specific installations
orca - see [the README.md](https://github.com/plotly/orca) for platform specific installations
- graphviz - see [here](https://stackoverflow.com/questions/35064304/runtimeerror-make-sure-the-graphviz-executables-are-on-your-systems-path-aft) for platform specific installations
- orca - see [the README.md](https://github.com/plotly/orca) for platform specific installations

Alternatively, you can export the tree to .gv and png using:
You can export the tree to .gv and png using:

```python
tree.render(path=None, view=False)
Expand Down

0 comments on commit 9dc36e1

Please sign in to comment.