What is the best way to deal with imbalanced data for XGBoost?
I think using something like this could help in your case.


https://github.com/dmlc/xgboost/blob/master/demo/kaggle-higgs/higgs-train.R#L17
http://xgboost.readthedocs.io/en/latest/how_to/param_tuning.html


Hope this helps at least a bit!