# Plotting a decision tree and extracting the split criteria

**URL:** <https://discourse.julialang.org/t/plotting-a-decision-tree-and-extracting-the-split-criteria/54503>\
**Category:** Machine Learning\
**Created:** [February 3, 2021, 12:46am UTC](https://discourse.julialang.org/t/plotting-a-decision-tree-and-extracting-the-split-criteria/54503 "2021-02-03T00:46:35Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![dataopt](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/dataopt/32/20332_2.png) [@dataopt](https://discourse.julialang.org/u/dataopt)\
**Post date:** [February 3, 2021, 12:46am UTC](https://discourse.julialang.org/t/plotting-a-decision-tree-and-extracting-the-split-criteria/54503/1 "2021-02-03T00:46:35Z")

</div>

I am new to MLJ coming from R for statistical learning. I have two newbie questions:

1. Is there a way to plot a decision tree?
2. Is there a way to extract the structure of the tree with the split criteria?
