Decision Tree help.

CelineS
CelineS New Altair Community Member
edited November 2024 in Community Q&A
Hi everyone, 
    I am choosing predictive analytics as my elective units for my commerce degree, but it is very challenging for me. sorry if my Qs sound silly, but please helpppp !!!

So I was given a dataset. I did he preparation and all that (not sure if it is done the right way ) and I used DT to predict the model. but my decision Tree looks weird and does not make sense. I have attached the screenshots below. Could anyone tell me how to solve this problem and the reason behind ?

regards,

Celine



Best Answer

  • CelineS
    CelineS New Altair Community Member
    Answer ✓
    thank you Martin. I'll change it now and see how it goes. 

Answers

  • MartinLiebig
    MartinLiebig
    Altair Employee
    Hi,
    likely you want to remove the attribute EmpStatusId from your data set. It seems to be the same as the label.

    Best,
    Martin
  • CelineS
    CelineS New Altair Community Member
    Answer ✓
    thank you Martin. I'll change it now and see how it goes.