diff --git a/docs/Parameters.rst b/docs/Parameters.rst index ce98f3d6296b..2de43b38c640 100644 --- a/docs/Parameters.rst +++ b/docs/Parameters.rst @@ -828,6 +828,8 @@ Dataset Parameters - **Note**: the output cannot be monotonically constrained with respect to a categorical feature + - **Note**: floating point numbers in categorical features will be rounded towards 0 + - ``forcedbins_filename`` :raw-html:`🔗︎`, default = ``""``, type = string - path to a ``.json`` file that specifies bin upper bounds for some or all features diff --git a/include/LightGBM/config.h b/include/LightGBM/config.h index c045970a8f1f..11a5f524c65a 100644 --- a/include/LightGBM/config.h +++ b/include/LightGBM/config.h @@ -703,6 +703,7 @@ struct Config { // desc = **Note**: using large values could be memory consuming. Tree decision rule works best when categorical features are presented by consecutive integers starting from zero // desc = **Note**: all negative values will be treated as **missing values** // desc = **Note**: the output cannot be monotonically constrained with respect to a categorical feature + // desc = **Note**: floating point numbers in categorical features will be rounded towards 0 std::string categorical_feature = ""; // desc = path to a ``.json`` file that specifies bin upper bounds for some or all features