Package ml.dmlc.xgboost4j.java
Class RabitTracker
java.lang.Object
ml.dmlc.xgboost4j.java.RabitTracker
- All Implemented Interfaces:
Thread.UncaughtExceptionHandler,ITracker
Java implementation of the Rabit tracker to coordinate distributed workers.
-
Constructor Summary
ConstructorsConstructorDescriptionRabitTracker(int numWorkers) RabitTracker(int numWorkers, String hostIp) RabitTracker(int numWorkers, String hostIp, int port, int timeout) -
Method Summary
-
Constructor Details
-
RabitTracker
- Throws:
XGBoostError
-
RabitTracker
- Throws:
XGBoostError
-
RabitTracker
- Throws:
XGBoostError
-
-
Method Details
-
uncaughtException
- Specified by:
uncaughtExceptionin interfaceThread.UncaughtExceptionHandler
-
getWorkerArgs
Get environments that can be used to pass to worker.- Specified by:
getWorkerArgsin interfaceITracker- Returns:
- The environment settings.
- Throws:
XGBoostError
-
stop
- Specified by:
stopin interfaceITracker- Throws:
XGBoostError
-
start
- Specified by:
startin interfaceITracker- Throws:
XGBoostError
-
waitFor
- Specified by:
waitForin interfaceITracker- Throws:
XGBoostError
-