divvy_credit divvy credit between defenders

divvy_credit(data, xgb_model)

Arguments

data

the data frame from which the probabilities are being predicted

xgb_model

the xgboost model

Value

a data frame of the weights to assign credit based on