Turn on suggestions

Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.

Showing results for

- JMP User Community
- :
- Discussions
- :
- Discussions
- :
- Decision Tree - how to find out leaf/node/branch

Topic Options

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Get Direct Link
- Email to a Friend
- Report Inappropriate Content

Sep 19, 2016 10:45 AM
(4664 views)

Hello,

I am building decision tree and wonder if it is possible to find out leaf/branch/node for each of my observations?

Regards,

1 ACCEPTED SOLUTION

Accepted Solutions

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Get Direct Link
- Email to a Friend
- Report Inappropriate Content

You should also try saving the leaf label and/or leaf formula. There are various options in Save Columns from the main hotspot in the partition platform.

5 REPLIES 5

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Get Direct Link
- Email to a Friend
- Report Inappropriate Content

Re: Decision Tree - how to find out leaf/node/branch

I think you can do what you want by looking at each split leading to any leaf you desire and then setting up a data filter for your data table using those split criteria in the proper order as shown in the tree leading to the leaf. Select the data points that have been filtered and you have the points located in that particular leaf.

Steve

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Get Direct Link
- Email to a Friend
- Report Inappropriate Content

Re: Decision Tree - how to find out leaf/node/branch

Sep 20, 2016 7:05 AM
(4572 views)
| Posted in reply to message from Steven_Moore 09/20/2016 09:53 AM

Thank you very much smoore2! Your answer makes sense. However, I am looking for a way to automate it. Since my tree will probably have 20 features 2.5 million rows of observations and fine tuning this tree will be very interactive process. So after each change of tree parameters, I will need to construct manual filters. It would be so much easier to see final leaf for each observation right away.

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Get Direct Link
- Email to a Friend
- Report Inappropriate Content

Re: Decision Tree - how to find out leaf/node/branch

I kind of knew that would be your response! Perhaps in a future version of JMP, one could click on the leaf in the final tree and the filtering and/or selection could be automatic!?!?

Steve

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Get Direct Link
- Email to a Friend
- Report Inappropriate Content

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Get Direct Link
- Email to a Friend
- Report Inappropriate Content

Re: Decision Tree - how to find out leaf/node/branch

phil.kay, I think you answered it, thank you very much. Not sure how to mark your response as correct answer.