# RTMVA with XGBoost in SWAN

**URL:** <https://root-forum.cern.ch/t/rtmva-with-xgboost-in-swan/34512>\
**Category:** TMVA\
**Created:** [June 10, 2019, 6:56pm UTC](https://root-forum.cern.ch/t/rtmva-with-xgboost-in-swan/34512 "2019-06-10T18:56:19Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![lata](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/lata/32/20766_2.png) [@lata](https://root-forum.cern.ch/u/lata)\
**Post date:** [June 10, 2019, 6:56pm UTC](https://root-forum.cern.ch/t/rtmva-with-xgboost-in-swan/34512/1 "2019-06-10T18:56:20Z")

</div>

Dear Experts,

I am trying to book this method for training with XGBoost  
factory.BookMethod(loader,TMVA.Types.kRXBG, “RXGB”, “!V:NRounds=80:MaxDepth=2:Eta=1”);

but somehow I am not able to use XGBoost. Could you please tell me if I have to install it separately as it is mentioned here [http://oproject.org/pages/RMVA.html#installation](http://oproject.org/pages/RMVA.html#installation)? And if yes then how to do to using SWAN? Code is available at [https://swan002.cern.ch/user/lata/notebooks/SWAN\_projects/swanExamples1/notebooks/HHbbgg.ipynb](https://swan002.cern.ch/user/lata/notebooks/SWAN_projects/swanExamples1/notebooks/HHbbgg.ipynb)

Kindly help.

Thanks,

Lata Panwar

---

<div class="post-metadata">

**Author:** ![Pnine](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/p/cc9497/32.png) [@Pnine](https://root-forum.cern.ch/u/Pnine)\
**Post date:** [June 11, 2019, 7:07pm UTC](https://root-forum.cern.ch/t/rtmva-with-xgboost-in-swan/34512/2 "2019-06-11T19:07:16Z")

</div>

Hi Lata,

I think that this is not the right forum. The SWAN community seems to be here [https://swan-community.web.cern.ch/](https://swan-community.web.cern.ch/)

P

---

<div class="post-metadata">

**Author:** ![lata](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/lata/32/20766_2.png) [@lata](https://root-forum.cern.ch/u/lata)\
**Post date:** [June 12, 2019, 5:23am UTC](https://root-forum.cern.ch/t/rtmva-with-xgboost-in-swan/34512/3 "2019-06-12T05:23:41Z")

</div>

Thanks. I will write here.
