Refer to https://github.com/Microsoft/LightGBM/wiki/Parallel-Learning-Guide