Skip to content

Commit 0c1ea76

Browse files
Bump lightgbm from 2.3.1 to 3.0.0 (#305)
* Bump lightgbm from 2.3.1 to 3.0.0 Bumps [lightgbm](https://github.com/microsoft/LightGBM) from 2.3.1 to 3.0.0. - [Release notes](https://github.com/microsoft/LightGBM/releases) - [Commits](microsoft/LightGBM@v2.3.1...v3.0.0) Signed-off-by: dependabot[bot] <support@github.com> * updated random forest test Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: StrikerRUS <nekit94-12@hotmail.com>
1 parent 4b6b199 commit 0c1ea76

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

requirements-test.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Supported models
22
scikit-learn==0.23.2
33
xgboost==1.2.0
4-
lightgbm==2.3.1
4+
lightgbm==3.0.0
55
statsmodels==0.12.0
66
git+git://github.com/scikit-learn-contrib/lightning.git@782c18c12961e509099ae84c68dd361010642f7e
77

tests/assemblers/test_lightgbm.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -117,15 +117,15 @@ def test_regression_random_forest():
117117
ast.FeatureRef(12),
118118
ast.NumVal(5.200000000000001),
119119
ast.CompOpType.GT),
120-
ast.NumVal(20.206688945020474),
120+
ast.NumVal(20.195681040256623),
121121
ast.NumVal(38.30000037757679)),
122122
ast.IfExpr(
123123
ast.CompExpr(
124124
ast.FeatureRef(5),
125-
ast.NumVal(6.837500000000001),
125+
ast.NumVal(6.853000000000001),
126126
ast.CompOpType.GT),
127-
ast.NumVal(36.40634951405711),
128-
ast.NumVal(19.57067132709245)),
127+
ast.NumVal(36.14745794219976),
128+
ast.NumVal(19.778245570310993)),
129129
ast.BinNumOpType.ADD),
130130
ast.NumVal(0.5),
131131
ast.BinNumOpType.MUL)

0 commit comments

Comments
 (0)