8f6aadd
-O3 -mtune=native
-O3 -ipo -qopenmp -xHost -fPIC
3f54429
-O3 -mtune=native
-O3 -ipo -qopenmp -xHost -fPIC
Installing xgboost is specific to be done in bash:
git clone --recursive https://github.com/dmlc/xgboost
cd xgboost
git checkout 8f6aadd
cd R-package
In src/Makevars.in
, add -DUSE_AVX=ON
at line 11.
Then compile xgboost:
R
install.packages('.', repos = NULL, type = "source")
For LightGBM, this also requires a specific installation in bash:
git clone --recursive https://github.com/Microsoft/LightGBM
cd LightGBM
git checkout 3f54429
cd R-package
In src/Makevars.in
, replace cmake_cmd
content line 50 by: "cmake -DCMAKE_C_COMPILER=icc -DCMAKE_CXX_COMPILER=icpc "
:
Then compile LightGBM:
R CMD INSTALL --build . --no-multiarch
Hyperparameters, average of 5 runs (approximately 48h):
Note: the timing takes into account the binning construction time, which is approximately 50% to 70% of the xgboost timing.
It takes 13 minutes with 1 thread, 2 minutes with 64 threads.
Hyperparameters, average of 5 runs (approximately 14h):
Note: the timing does not take into account the binning construction time.
It takes 16 minutes using 1 thread, 23 seconds using 64 threads.
Use the Performance Analysis if you expect to compare timings data.
Check interactively on Tableau Public:
Provided dynamic and interactive filters:
Use the Performance Analysis if you expect to compare timings data.
Check interactively on Tableau Public:
Provided dynamic and interactive filters: