Back to Lightgbm

README

examples/parallel_learning/README.md

4.6.0814 B
Original Source

Distributed Learning Example

<a name="parallel-learning-example"></a>

Here is an example for LightGBM to perform distributed learning for 2 machines.

  1. Edit mlist.txt: write the ip of these 2 machines that you want to run application on.

    machine1_ip 12400
    machine2_ip 12400
    
  2. Copy this folder and executable file to these 2 machines that you want to run application on.

  3. Run command in this folder on both 2 machines:

    "./lightgbm" config=train.conf

This distributed learning example is based on socket. LightGBM also supports distributed learning based on MPI.

For more details about the usage of distributed learning, please refer to this.