Last active
May 23, 2018 22:00
-
-
Save ronaldokun/2a9f9c3bdeb1646231a7bcb6f32aca0f to your computer and use it in GitHub Desktop.
Revisions
-
ronaldokun renamed this gist
May 23, 2018 . 1 changed file with 0 additions and 0 deletions.There are no files selected for viewing
File renamed without changes. -
ronaldokun renamed this gist
May 23, 2018 . 1 changed file with 0 additions and 0 deletions.There are no files selected for viewing
File renamed without changes. -
ronaldokun created this gist
Apr 14, 2018 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,25 @@ To support GPU. The xgboost library must be build from the github code. The instructions on https://xgboost.readthedocs.io/en/latest/build.html are straightforward. Except for a little detail: we must use: sudo -s python setup.pu install instead of the instruction given on the link: sudo python setup.py install When using sudo the python system is used, instead the one in Anaconda with the libraries needeed to install the python plugin To use it in python we must add a parameter 'tree_method: param['updater'] = 'grow_gpu' it's automatically enabled if one of the following tree methos is used param['tree_method'] = 'gpu_hist' or 'gpu_exact'