MATLAB Answers

Can we check which data points go into which node for decision tree ?

1 view (last 30 days)
crixus
crixus on 16 Jun 2016
Hi all, I do know that using the command [yfit,score,node,cnum] = predict(ClassTreeEns,testingdata) will allow you to know which node did the testing data points end up at by checking the variable "node". But can I check which node did the training data points end up at which gives the final decision tree ? Thanks in advance.

  0 Comments

Sign in to comment.

Answers (0)