# Private XGBoost

**URL:** <https://discuss.flower.ai/t/private-xgboost/1063>\
**Category:** Flower Help - Intermediate\
**Created:** [August 1, 2025, 9:44am UTC](https://discuss.flower.ai/t/private-xgboost/1063 "2025-08-01T09:44:12Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![gm000](https://avatars.discourse-cdn.com/v4/letter/g/a9a28c/32.png) [@gm000](https://discuss.flower.ai/u/gm000)\
**Post date:** [August 1, 2025, 9:44am UTC](https://discuss.flower.ai/t/private-xgboost/1063/1 "2025-08-01T09:44:12Z")

</div>

Hi everyone,

I am working with Flower github example named /content/xgboost-comprehensive/

Is that possible to apply Differential Privacy to Flower XGboost strategy FedXgbBagging? When trying to wrap it within DifferentialPrivacyServerSideAdaptiveClipping, it does not run for me. If it is not possible, is there any other way to obtain private XGBoost in Flower?

Thanks in advance for any hint

---

<div class="post-metadata">

**Author:** ![williamlm](https://dub1.discourse-cdn.com/flex013/user_avatar/discuss.flower.ai/williamlm/32/162_2.png) [@williamlm](https://discuss.flower.ai/u/williamlm)\
**Post date:** [August 1, 2025, 5:31pm UTC](https://discuss.flower.ai/t/private-xgboost/1063/2 "2025-08-01T17:31:41Z")

</div>

> [@Differential privacy applied to XGBoost](https://discuss.flower.ai/t/differential-privacy-applied-to-xgboost/1065):
>
> Dear Support, I am trying to apply Differential Privacy to the github example on xgboost-comprehensive I simply started wrapping the server strategy FedXgbBagging within DifferentialPrivacyServerSideFixedClipping but on running I get the following error: ERROR : ServerApp thread raised an exception: Cannot load file containing pickled data when allow\_pickle=False I know I provided little information but before moving on I would like to know whether Flower Differential Privacy is supposed…
