Uses D3Trees.jl to create an interactive visualization of a decision tree model trained with DecisionTree.jl.
This is not a registered package. To install it from this GitHub page, run:
] add https://github.com/ValdarT/D3DecisionTrees.jl
using DecisionTree, D3DecisionTrees
# Fisher's Iris dataset as features and labels
features, labels = load_data("iris")
# build a classification model
model = build_tree(labels, features)
# create the D3Tree of the model
t = D3DecisionTree(model)
# show in Chrome browser
inchrome(t)
Note: D3Trees.jl currently requires internet connection to work.