Skip to content

Commit

Permalink
Remove warning from lightGBM test. (#950)
Browse files Browse the repository at this point in the history
```
[LightGBM] [Warning] Auto-choosing row-wise multi-threading, the overhead of testing was 0.000252 seconds.
You can set `force_row_wise=true` to remove the overhead.
```
  • Loading branch information
rosbo committed Jan 29, 2021
1 parent 4e20d1d commit eadd3e1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/test_lightgbm.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ def test_cpu(self):
'feature_fraction': 0.9,
'bagging_fraction': 0.8,
'bagging_freq': 5,
'force_row_wise': True,
'verbose': 0
}

Expand All @@ -46,6 +47,7 @@ def test_gpu(self):
'feature_fraction': 0.9,
'bagging_fraction': 0.8,
'bagging_freq': 5,
'force_row_wise': True,
'verbose': 1,
'device': 'gpu'
}
Expand Down

0 comments on commit eadd3e1

Please sign in to comment.