Skip to content

Commit

Permalink
[docs] Add alt text to image in Parameters-Tuning.rst (#4035)
Browse files Browse the repository at this point in the history
* [docs] Add alt text to image in Parameters-Tuning.rst

Add alt text to Leaf-wise growth image, as part of #4028

* Update docs/Parameters-Tuning.rst

Co-authored-by: James Lamb <[email protected]>

Co-authored-by: James Lamb <[email protected]>
  • Loading branch information
subhamagrawal7 and jameslamb authored Mar 2, 2021
1 parent 2a00b6f commit f92aa54
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions docs/Parameters-Tuning.rst
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ LightGBM adds nodes to trees based on the gain from adding that node, regardless

.. image:: ./_static/images/leaf-wise.png
:align: center
:alt: Three consecutive images of decision trees, where each shows the tree with an additional two leaf nodes added. Shows that leaf-wise growth can result in trees that have some branches which are longer than others.

Because of this growth strategy, it isn't straightforward to use ``max_depth`` alone to limit the complexity of trees. The ``num_leaves`` parameter sets the maximum number of nodes per tree. Decrease ``num_leaves`` to reduce training time.

Expand Down

0 comments on commit f92aa54

Please sign in to comment.