Skip to content

Commit

Permalink
Merge pull request #3674 from TirelessClock/documentation
Browse files Browse the repository at this point in the history
DecisionTree documentation - NoRecursion flag
  • Loading branch information
rcurtin committed Apr 1, 2024
2 parents 2a260a4 + f412dcc commit e3cd78a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions doc/user/methods/decision_tree.md
Original file line number Diff line number Diff line change
Expand Up @@ -325,7 +325,7 @@ DecisionTree<FitnessFunction,
data dimensions
* `DimensionSelectionType`: the strategy used for proposing dimensions to
attempt to split on
* `NoRecursion`: a boolean indicating whether or not to build a tree or a stump
* `NoRecursion`: a boolean indicating whether to build a tree or a stump
(one level tree)

Below, details are given for the requirements of each of these template types.
Expand Down Expand Up @@ -581,6 +581,6 @@ class CustomDimensionSelect

* A `bool` value that indicates whether a decision tree should be
constructed recursively.
* If `true` _(default)_, a full decision tree will be built.
* If `false`, only the root node will be split (producing a decision
* If `true`, only the root node will be split (producing a decision
stump).
* If `false` _(default)_, a full decision tree will be built.
6 changes: 3 additions & 3 deletions doc/user/methods/decision_tree_regressor.md
Original file line number Diff line number Diff line change
Expand Up @@ -314,7 +314,7 @@ DecisionTreeRegressor<FitnessFunction,
data dimensions
* `DimensionSelectionType`: the strategy used for proposing dimensions to
attempt to split on
* `NoRecursion`: a boolean indicating whether or not to build a tree or a stump
* `NoRecursion`: a boolean indicating whether to build a tree or a stump
(one level tree)

Below, details are given for the requirements of each of these template types.
Expand Down Expand Up @@ -583,6 +583,6 @@ class CustomDimensionSelect

* A `bool` value that indicates whether a decision tree should be
constructed recursively.
* If `true` _(default)_, a full decision tree will be built.
* If `false`, only the root node will be split (producing a decision
* If `true`, only the root node will be split (producing a decision
stump).
* If `false` _(default)_, a full decision tree will be built.

0 comments on commit e3cd78a

Please sign in to comment.