8000 DOC Improve interaction constraint doc for HistGradientBoosting* (#24… · scikit-learn/scikit-learn@3e47fa9 · GitHub
[go: up one dir, main page]

Skip to content

Commit 3e47fa9

Browse files
authored
DOC Improve interaction constraint doc for HistGradientBoosting* (#24851)
1 parent 2e481f1 commit 3e47fa9

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

sklearn/ensemble/_hist_gradient_boosting/gradient_boosting.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1238,8 +1238,8 @@ class HistGradientBoostingRegressor(RegressorMixin, BaseHistGradientBoosting):
12381238
.. versionadded:: 0.23
12391239
12401240
interaction_cst : iterable of iterables of int, default=None
1241-
Specify interaction constraints, i.e. sets of features which can
1242-
only interact with each other in child nodes splits.
1241+
Specify interaction constraints, the sets of features which can
1242+
interact with each other in child node splits.
12431243
12441244
Each iterable materializes a constraint by the set of indices of
12451245
the features that are allowed to interact with each other.
@@ -1572,8 +1572,8 @@ class HistGradientBoostingClassifier(ClassifierMixin, BaseHistGradientBoosting):
15721572
.. versionadded:: 0.23
15731573
15741574
interaction_cst : iterable of iterables of int, default=None
1575-
Specify interaction constraints, i.e. sets of features which can
1576-
only interact with each other in child nodes splits.
1575+
Specify interaction constraints, the sets of features which can
1576+
interact with each other in child node splits.
15771577
15781578
Each iterable materializes a constraint by the set of indices of
15791579
the features that are allowed to interact with each other.

0 commit comments

Comments
 (0)
0