Commit 2d1caf14 authored by Yu Shi's avatar Yu Shi
Browse files

document rounding behavior of floating point numbers in categorical features

parent 800e1e24
...@@ -828,6 +828,8 @@ Dataset Parameters ...@@ -828,6 +828,8 @@ Dataset Parameters
- **Note**: the output cannot be monotonically constrained with respect to a categorical feature - **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:`<a id="forcedbins_filename" title="Permalink to this parameter" href="#forcedbins_filename">&#x1F517;&#xFE0E;</a>`, default = ``""``, type = string - ``forcedbins_filename`` :raw-html:`<a id="forcedbins_filename" title="Permalink to this parameter" href="#forcedbins_filename">&#x1F517;&#xFE0E;</a>`, default = ``""``, type = string
- path to a ``.json`` file that specifies bin upper bounds for some or all features - path to a ``.json`` file that specifies bin upper bounds for some or all features
......
...@@ -703,6 +703,7 @@ struct Config { ...@@ -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**: 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**: 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**: 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 = ""; std::string categorical_feature = "";
// desc = path to a ``.json`` file that specifies bin upper bounds for some or all features // desc = path to a ``.json`` file that specifies bin upper bounds for some or all features
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment