Info

This question is closed. Reopen it to edit or answer.

Visualising the results of a classification tree elsewhere

1 view (last 30 days)
I have a trained classification tree that I need to add as another column in a dataset, along with the initial independant variables.
So if an observation is predicted to have a value of 'A' with a probability >= 50%, then I need to have the value to be 'A' else 'B'
How to add the predicted values of this classification tree to a table?

Answers (1)

Dinesh Yadav
Dinesh Yadav on 31 Oct 2019
Hi, this link will help you adding data to a table.
Hope it helps.

This question is closed.

Products


Release

R2019a

Community Treasure Hunt

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

Start Hunting!