Skip to content

Commit 4274d6f

Browse files
author
Kerry Bot
committed
docs: clarify Random Forest enablement conditions in FAQ
1 parent 569f89a commit 4274d6f

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

docs/FAQ.rst

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,8 +72,12 @@ So this issue should be solved in the latest version.
7272
7. I tried to use Random Forest mode, and LightGBM crashes!
7373
-----------------------------------------------------------
7474

75-
This is expected behaviour for arbitrary parameters. To enable Random Forest,
76-
you must use ``bagging_fraction`` and ``feature_fraction`` different from 1, along with a ``bagging_freq``.
75+
This is expected behaviour for arbitrary parameters. To enable Random Forest mode,
76+
you must set at least one of the following:
77+
78+
* ``bagging_freq > 0`` and ``0.0 < bagging_fraction < 1.0``
79+
* ``0.0 < feature_fraction < 1.0``
80+
7781
`This thread <https://github.com/microsoft/LightGBM/issues/691>`__ includes an example.
7882

7983
8. CPU usage is low (like 10%) in Windows when using LightGBM on very large datasets with many-core systems.

0 commit comments

Comments
 (0)