Skip to content

Commit

Permalink
Merge branch 'master' into r-mac-ci
Browse files Browse the repository at this point in the history
  • Loading branch information
jameslamb committed Apr 10, 2022
2 parents a04c5db + 5f57d6c commit 2f81f1a
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/no-response.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,4 @@ jobs:
Thank you for taking the time to improve LightGBM!
daysUntilClose: 30
responseRequiredLabel: awaiting response
token: ${{ secrets.WORKFLOW }}
token: ${{ github.token }}
2 changes: 2 additions & 0 deletions docs/Parameters.rst
Original file line number Diff line number Diff line change
Expand Up @@ -664,6 +664,8 @@ Dataset Parameters

- the linear model at each leaf includes all the numerical features in that leaf's branch

- the first tree has constant leaf values

- categorical features are used for splits as normal but are not used in the linear models

- missing values should not be encoded as ``0``. Use ``np.nan`` for Python, ``NA`` for the CLI, and ``NA``, ``NA_real_``, or ``NA_integer_`` for R
Expand Down
1 change: 1 addition & 0 deletions include/LightGBM/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -586,6 +586,7 @@ struct Config {
// desc = fit piecewise linear gradient boosting tree
// descl2 = tree splits are chosen in the usual way, but the model at each leaf is linear instead of constant
// descl2 = the linear model at each leaf includes all the numerical features in that leaf's branch
// descl2 = the first tree has constant leaf values
// descl2 = categorical features are used for splits as normal but are not used in the linear models
// descl2 = missing values should not be encoded as ``0``. Use ``np.nan`` for Python, ``NA`` for the CLI, and ``NA``, ``NA_real_``, or ``NA_integer_`` for R
// descl2 = it is recommended to rescale data before training so that features have similar mean and standard deviation
Expand Down

0 comments on commit 2f81f1a

Please sign in to comment.