nvflare.app_opt.xgboost.histogram_based_v2.runners.xgb_eval_runner module
- class XGBEvalRunner(data_loader_id: str, train_workspace_path: str)[source]
Bases:
AppRunner,FLComponent- initialize(fl_ctx: FLContext)[source]
Called by Controller/Executor to initialize the runner. This happens when the job is about to start.
- Parameters:
fl_ctx – FL context
Returns: None
- is_stopped() Tuple[bool, int][source]
Called to check whether the runner is already stopped.
Returns: whether the runner is stopped. If stopped, the exit code.