-
Notifications
You must be signed in to change notification settings - Fork 42
Expand file tree
/
Copy pathGraphviz Instructions
More file actions
41 lines (24 loc) · 1.11 KB
/
Graphviz Instructions
File metadata and controls
41 lines (24 loc) · 1.11 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
Steps for installing GraphViz for creating Decision Tree
========================================================
1. Install Graphviz from the link below
Windows:
https://graphviz.gitlab.io/_pages/Download/Download_windows.html
Select the msi package
MAC:
https://www.graphviz.org/download/
Use homebrew for installing graphviz
2. For those who are using Windows
a) Shutdown jupyter notebooks, if any running
b) Close the Anaconda Prompt terminal
c) Add the graphviz's bin folder to the environment variable PATH
Note: The path may be in program files(x86) and add the path upto (including) bin folder.
d) Start Anaconda prompt
e) Check the PATH variable
echo %PATH%
Note: the path variable should be show graphviz's bin folder.
3. Install pydotplus
pip install pydotplus --proxy=<if any proxy required>
4. Change the directory where the programs are stored using cd command
5. Restart jupyter notebook
jupyter notebook
6. Browse to the directory from jupyter explorer and click on the program and select cell -> Run All