[Breaking] Remove num roots. (#5059)

This commit is contained in:
Jiaming Yuan
2019-12-05 21:58:43 +08:00
committed by GitHub
parent f3d8536702
commit 64af1ecf86
23 changed files with 87 additions and 189 deletions

View File

@@ -161,8 +161,6 @@ class TestRanking(unittest.TestCase):
"""
Retrieve the group number from the dmatrix
"""
# control that should work
self.dtrain.get_uint_info('root_index')
# test the new getter
self.dtrain.get_uint_info('group_ptr')