Fixed issue 3605. (#3628)
* Fixed issue 3605. - https://github.com/dmlc/xgboost/issues/3605 * Fixed the bug in a better way. * Added a test to catch the bug. * Fixed linter errors.
This commit is contained in:
committed by
Philip Hyunsu Cho
parent
78bea0d204
commit
58d783df16
@@ -14,7 +14,7 @@ def assert_gpu_results(cpu_results, gpu_results):
|
||||
assert np.allclose(cpu_res["eval"][-1], gpu_res["eval"][-1], 1e-2, 1e-2)
|
||||
|
||||
datasets = ["Boston", "Cancer", "Digits", "Sparse regression",
|
||||
"Sparse regression with weights"]
|
||||
"Sparse regression with weights", "Small weights regression"]
|
||||
|
||||
class TestGPU(unittest.TestCase):
|
||||
def test_gpu_exact(self):
|
||||
|
||||
Reference in New Issue
Block a user