Skip to content

Commit

Permalink
Merge pull request #2362 from Trusted-AI/dependabot/pip/xgboost-2.0.2
Browse files Browse the repository at this point in the history
Bump xgboost from 1.7.5 to 2.0.2
beat-buesser authored Dec 20, 2023
2 parents 0b70a71 + 0f2a2bf commit d7e91dd
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion requirements_test.txt
Original file line number Diff line number Diff line change
@@ -41,7 +41,7 @@ timm==0.9.2
catboost==1.1.1
GPy==1.10.0
lightgbm==4.1.0
xgboost==1.7.5
xgboost==2.0.2

kornia~=0.6.12
tensorboardX==2.6.2.2
4 changes: 2 additions & 2 deletions tests/metrics/test_verification_decision_trees.py
Original file line number Diff line number Diff line change
@@ -71,8 +71,8 @@ def test_XGBoost(self):
x=self.x_test, y=self.y_test, eps_init=0.3, nb_search_steps=10, max_clique=2, max_level=2
)

self.assertEqual(average_bound, 0.03186914062500001)
self.assertEqual(verified_error, 0.99)
self.assertAlmostEqual(average_bound, second=0.03335742187499999, places=6)
self.assertEqual(verified_error, second=0.99)

def test_LightGBM(self):
train_data = lightgbm.Dataset(self.x_train, label=np.argmax(self.y_train, axis=1))

0 comments on commit d7e91dd

Please sign in to comment.