PDA

View Full Version : Decision tree with VBA



Kaizen
06-23-2016, 01:09 AM
Hello everybody,

I'm trying to create a vba tool that creates a decision tree (CART, CHAID...) and I didn't found any litterature on this issue.
Do you have any code, paper that could help me with this?

Thanks in advance,

SamT
06-23-2016, 07:31 AM
Are you wanting a tree image or chart, or code that 'makes a decision' based on a tree?

Kaizen
06-23-2016, 08:09 AM
I want to code a macro that creates a decision tree (classification tree) from the data that I have.

SamT
06-23-2016, 10:30 AM
I assume that you mean a graphic representation.

Please post a workbook with the data. There is a "Manage Attachments" button at the bottom of the "Go Advanced" Forum editor.