Opens a socket communications channel on the driver, starts a thread that waits for the host:port from the executors, and then sends back the information to the executors.
Opens a socket communications channel on the driver, starts a thread that waits for the host:port from the executors, and then sends back the information to the executors.
The total number of training workers to wait for.
The address and port of the driver socket.
Generates a sparse dataset in CSR format.
Generates a sparse dataset in CSR format.
The rows of sparse vector.
Returns a list of executor id and host.
Returns a list of executor id and host.
The dataset containing the current spark session.
The number of cores per executor.
List of executors as an array of (id,host).
Returns an integer ID for the current node.
Returns an integer ID for the current node.
In cluster, returns the executor id. In local case, returns the worker id.
Returns the executor node ips and ports.
Returns the executor node ips and ports.
The input dataframe.
The default listen port.
The number of cores per executor.
List of nodes as comma separated string and count.
Returns the nodes from mapPartitions.
Returns the nodes from mapPartitions. Only run in case when num partitions < num executors.
The input data.
The default listening port.
Map from executor id to host name.
The list of nodes in host:port format.
Returns the nodes from mapPartitions.
Returns the nodes from mapPartitions. Only run in local[*] case.
The input data.
The default listening port.
The list of nodes in host:port format.
Get number of cores from dummy dataset for 1 executor.
Get number of cores from dummy dataset for 1 executor. Note: all executors have same number of cores, and this is more reliable than getting value from conf.
The dataset containing the current spark session.
The number of cores per executor.
Returns the number of executors * number of cores.
Returns the number of executors * number of cores.
The dataset containing the current spark session.
The number of cores per executor.
The number of executors * number of cores.
Loads the native shared object binaries lib_lightgbm.so and lib_lightgbm_swig.so
Converts a host,id pair to the lightGBM host:port format.
Converts a host,id pair to the lightGBM host:port format.
The host,id.
The default listen port.
The string lightGBM representation of host:port.
Helper utilities for LightGBM learners