Skip to content

Commit 4784759

Browse files
authored
Merge pull request #583 from Trusted-AI/dependabot/pip/lightgbm-3.0.0
Bump lightgbm from 2.3.1 to 3.0.0
2 parents 64506e1 + 4258d34 commit 4784759

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ torch==1.5.0+cpu
2424
torchvision==0.7.0
2525
catboost==0.24.1
2626
GPy==1.9.9
27-
lightgbm==2.3.1
27+
lightgbm==3.0.0
2828
xgboost==1.2.0
2929

3030
# other

tests/estimators/classification/test_lightgbm.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ def setUpClass(cls):
4848

4949
def test_predict(self):
5050
y_predicted = self.classifier.predict(self.x_test_iris[0:1])
51-
y_expected = np.asarray([[0.14644158, 0.16454982, 0.68900861]])
51+
y_expected = np.asarray([[0.1083, 0.1255, 0.7663]])
5252
np.testing.assert_array_almost_equal(y_predicted, y_expected, decimal=4)
5353

5454

tests/metrics/test_verification_decision_trees.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,8 +103,8 @@ def test_LightGBM(self):
103103
x=self.x_test, y=self.y_test, eps_init=0.3, nb_search_steps=10, max_clique=2, max_level=2
104104
)
105105

106-
self.assertEqual(average_bound, 0.07634765624999999)
107-
self.assertEqual(verified_error, 0.85)
106+
self.assertEqual(average_bound, 0.047742187500000005)
107+
self.assertEqual(verified_error, 0.94)
108108

109109
def test_GradientBoosting(self):
110110
model = GradientBoostingClassifier(n_estimators=4, max_depth=6)

0 commit comments

Comments
 (0)