Dear All,

I am trying to use **predict_contribs=True** within my XGBOOST Model. However, whenever I set it to True I do not get the probabilities out of the predict function and I get the following error.

My model parameters are as follows:

|–hyperparameters:

| |–tree_method: exact

| |–sampling: False

| |–n_iterations: 1

| |–batch_size: None

| |–seed: 42

| |–silent: 1

| |–nthread: 8

| |–num_boost_round: 320

| |–objective: multi:softprob

| |–reg_alpha: 0.8

| |–reg_lambda: 0.2

| |–colsample_bytree: 0.8

| |–eta: 0.05

| |–gamma: 0.1

| |–max_delta_step: 0.5

| |–min_child_weight: 1

| |–max_depth: 10

| |–scale_pos_weight: 1

| |–subsample: 0.5

| |–num_class: 2