Info

この質問は閉じられています。 編集または回答するには再度開いてください。

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

1 回表示 (過去 30 日間)
crixus
crixus 2016 年 6 月 16 日
閉鎖済み: MATLAB Answer Bot 2021 年 8 月 20 日
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 件)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by