User-specification of decision tree model possible?
tennenrishin
New Altair Community Member
Is there a way to construct/specify a decision tree from user-specification, rather than inducing it from data?
Background:
I am generating a report for each node in a folder-tree (parsed by a process that recurses via Execute Process). Each node (folder) represents a different decision tree that needs to be tested on the input data, and therefore first constructed. The exact tree is known in each case; it just needs to be made into a model that can be applied and reported etc.
Background:
I am generating a report for each node in a folder-tree (parsed by a process that recurses via Execute Process). Each node (folder) represents a different decision tree that needs to be tested on the input data, and therefore first constructed. The exact tree is known in each case; it just needs to be made into a model that can be applied and reported etc.
Tagged:
0
Answers
-
Unfortunately, that's not possible. Maybe you can simulate the behavior of a decision tree (or rather a decision stump/a node of the decision tre, which you have at each node of your folder structure if I understand you correctly) with the Filter Examples operator. That won't however be easily visualizable, and the process might get rather complex.
Best, Marius0 -
Thanks.
Do you think it might be possible via Write As Text -> Read Model?0 -
I don't see how this should be possible. But if you can think of any way how to use it, just give me a hint
Best,
Marius0 -
I had thought the structure of the decision tree might be reflected simply and straightforwardly in the structure of the xml file interpreted by Read Model, but after some experimenting with Write Model I see that this is not the case.0