def __init__(self, params): self.xgboost = XGBoost(params) self.tr_ids, self.tr_pred, self.tr_act = [], [], []