8f6aadd-O3 -mtune=native-O3 -ipo -qopenmp -xHost -fPIC3f54429-O3 -mtune=native-O3 -ipo -qopenmp -xHost -fPICInstalling xgboost is specific to be done in bash:
git clone --recursive https://github.com/dmlc/xgboostcd xgboostgit checkout 8f6aaddcd R-packageIn src/Makevars.in, add -DUSE_AVX=ON at line 11.
Then compile xgboost:
Rinstall.packages('.', repos = NULL, type = "source")For LightGBM, this also requires a specific installation in bash:
git clone --recursive https://github.com/Microsoft/LightGBMcd LightGBMgit checkout 3f54429cd R-packageIn 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-multiarchHyperparameters, 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: