I am trying to understand following case:

  1. when I create new xgbost DMatrix

    xgX = xgb.DMatrix(X, label=Y, missing=np.nan)

  2. based on input data X with 64 features enter image description here

  3. I got the new DMatrix with 55 features enter image description here

What the magic is doing here? Any advise would be great!

  • $\begingroup$ Without looking at the code it is difficult to tell what is happening. Can you share your X and Y shape. $\endgroup$ Apr 7 '18 at 17:33

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.