Medial Code Documentation
Loading...
Searching...
No Matches
Data Structures | Functions | Variables
xgboost.tracker Namespace Reference

Data Structures

class  ExSocket
 
class  RabitTracker
 
class  WorkerEntry
 

Functions

str get_some_ip (str host)
 
int get_family (str addr)
 
str get_host_ip (Optional[str] host_ip=None)
 
None start_rabit_tracker (argparse.Namespace args)
 
None main ()
 

Variables

 _RingMap = Dict[int, Tuple[int, int]]
 
 _TreeMap = Dict[int, List[int]]
 
int MAGIC_NUM = 0xFF99
 

Detailed Description

This script is a variant of dmlc-core/dmlc_tracker/tracker.py,
which is a specialized version for xgboost tasks.

Function Documentation

◆ get_family()

int xgboost.tracker.get_family ( str  addr)
Get network family from address.

◆ get_host_ip()

str xgboost.tracker.get_host_ip ( Optional[str]   host_ip = None)
Get the IP address of current host.  If `host_ip` is not none then it will be
returned as it's

◆ get_some_ip()

str xgboost.tracker.get_some_ip ( str  host)
Get ip from host

◆ main()

None xgboost.tracker.main ( void  )
Main function if tracker is executed in standalone mode.

◆ start_rabit_tracker()

None xgboost.tracker.start_rabit_tracker ( argparse.Namespace  args)
Standalone function to start rabit tracker.

Parameters
----------
args: arguments to start the rabit tracker.