Fix test_gpu_coordinate. (#3974)

* Fix test_gpu_coordinate.

* Use `gpu_coord_descent` in test.
* Reduce number of running rounds.

* Remove nthread.

* Use githubusercontent for r-appveyor.

* Use githubusercontent in travis r tests.
This commit is contained in:
Jiaming Yuan
2019-02-20 06:09:10 +08:00
committed by Philip Hyunsu Cho
parent c8c472f39a
commit cecbe0cf71
4 changed files with 31 additions and 21 deletions

View File

@@ -72,7 +72,7 @@ class TestLinear(unittest.TestCase):
'feature_selector': ['cyclic', 'shuffle',
'greedy', 'thrifty']}
for param in parameter_combinations(variable_param):
results = run_suite(param, 200, self.datasets, scale_features=True)
results = run_suite(param, 150, self.datasets, scale_features=True)
assert_regression_result(results, 1e-2)
assert_classification_result(results)