XGBOOST: sample_Weights vs scale_pos_weight
问题 I have a highly unbalanced dataset and am wondering where to account for the weights, and thus am trying to comprehend the difference between scale_pos_weight argument in XGBClassifier and the sample_weight parameter of the fit method. Would appreciate an intuitive explanation of the difference between the two, if they can be used simultaneously or how either approach is selected. The documentation indicates that scale_pos_weight : control the balance of positive and negative weights..&