Fix typo in Feature Interaction Constraints tutorial (#3975)

This commit is contained in:
Philip Hyunsu Cho 2018-12-06 19:38:40 -08:00 committed by GitHub
parent 48dddfd635
commit 4f26053b09
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -143,11 +143,11 @@ first and second constraints (``[0, 1]``, ``[2, 3, 4]``).
Enforcing Feature Interaction Constraints in XGBoost
****************************************************
It is very simple to enforce monotonicity constraints in XGBoost. Here we will
It is very simple to enforce feature interaction constraints in XGBoost. Here we will
give an example using Python, but the same general idea generalizes to other
platforms.
Suppose the following code fits your model without monotonicity constraints:
Suppose the following code fits your model without feature interaction constraints:
.. code-block:: python
@ -155,7 +155,7 @@ Suppose the following code fits your model without monotonicity constraints:
num_boost_round = 1000, evals = evallist,
early_stopping_rounds = 10)
Then fitting with monotonicity constraints only requires adding a single
Then fitting with feature interaction constraints only requires adding a single
parameter:
.. code-block:: python