Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
ZebinYang committed Sep 19, 2023
1 parent 0522547 commit 0e86b38
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions docs/_build/html/_sources/guides/models/tree.rst.txt
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ By setting `show` to "tree_global", you will see the fitted decision tree diagra
depth=3, original_scale=True, figsize=(16, 10))

.. figure:: ../../auto_examples/models/images/sphx_glr_plot_2_tree_reg_001.png
:target: ../../auto_examples/models/plot_2_reg_dt.html
:target: ../../auto_examples/models/plot_2_tree_reg.html
:align: left

To ensure the tree diagram is useful for deep trees, we offer two parameters that enable you to adjust the view. The first is `root`, which is the node ID where the tree diagram begins. By default, it starts at the actual root node, which is assigned an ID of 0. The second parameter is `depth`, which sets the maximum depth of the diagram starting from the `root` node.
Expand All @@ -59,7 +59,7 @@ When using the "tree_Local" keyword, the decision path of a specific sample is h
exp.model_interpret(model="Tree", show="tree_local", sample_id=0, original_scale=True, figsize=(16, 10))

.. figure:: ../../auto_examples/models/images/sphx_glr_plot_2_tree_reg_003.png
:target: ../../auto_examples/models/plot_2_reg_dt.html
:target: ../../auto_examples/models/plot_2_tree_reg.html
:align: left

Note that this plot may be a subset of the overall tree. Only the branches relevant to the selected sample are shown in the plot, making it easier to interpret the decision path of that particular sample within the context of the entire decision tree.
Expand Down
4 changes: 2 additions & 2 deletions docs/_build/html/guides/models/tree.html
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,7 @@ <h2><span class="section-number">5.3.2. </span>Global Interpretation<a class="he
</div>
</div>
<figure class="align-left">
<a class="reference external image-reference" href="../../auto_examples/models/plot_2_reg_dt.html"><img alt="../../_images/sphx_glr_plot_2_tree_reg_001.png" src="../../_images/sphx_glr_plot_2_tree_reg_001.png" /></a>
<a class="reference external image-reference" href="../../auto_examples/models/plot_2_tree_reg.html"><img alt="../../_images/sphx_glr_plot_2_tree_reg_001.png" src="../../_images/sphx_glr_plot_2_tree_reg_001.png" /></a>
</figure>
<p>To ensure the tree diagram is useful for deep trees, we offer two parameters that enable you to adjust the view. The first is <code class="docutils literal notranslate"><span class="pre">root</span></code>, which is the node ID where the tree diagram begins. By default, it starts at the actual root node, which is assigned an ID of 0. The second parameter is <code class="docutils literal notranslate"><span class="pre">depth</span></code>, which sets the maximum depth of the diagram starting from the <code class="docutils literal notranslate"><span class="pre">root</span></code> node.</p>
<p>Each box in the diagram represents a node in the decision tree. It includes information such as the node ID, the splitting rule used to split the dataset, the criterion value, the sample size, and the average value of the response.</p>
Expand All @@ -302,7 +302,7 @@ <h2><span class="section-number">5.3.3. </span>Local Interpretation<a class="hea
</div>
</div>
<figure class="align-left">
<a class="reference external image-reference" href="../../auto_examples/models/plot_2_reg_dt.html"><img alt="../../_images/sphx_glr_plot_2_tree_reg_003.png" src="../../_images/sphx_glr_plot_2_tree_reg_003.png" /></a>
<a class="reference external image-reference" href="../../auto_examples/models/plot_2_tree_reg.html"><img alt="../../_images/sphx_glr_plot_2_tree_reg_003.png" src="../../_images/sphx_glr_plot_2_tree_reg_003.png" /></a>
</figure>
<p>Note that this plot may be a subset of the overall tree. Only the branches relevant to the selected sample are shown in the plot, making it easier to interpret the decision path of that particular sample within the context of the entire decision tree.</p>
</section>
Expand Down

0 comments on commit 0e86b38

Please sign in to comment.