XGBoost
| 联邦学习分类 | 训练模式 | 隐私计算技术 |
|---|---|---|
| 纵向联邦 | Paillier | 同态加密 |
如果是通过docker方式部署,先执行 docker exec -it primihub-node0 bash 进入到 primihub-node0 容器中,再执行CLI命令启动。
纵向联邦
Paillier同态模式训练
- CLI
- Python SDK
./primihub-cli --task_config_file="example/FL/xgboost/hetero_xgb.json"
submit example/FL/xgboost/hetero_xgb.json
预测
- CLI
- Python SDK
./primihub-cli --task_config_file="example/FL/xgboost/hetero_xgb_infer.json"
submit example/FL/xgboost/hetero_xgb_infer.json