Saving Tree Models and Results
You can save or export the results of your interactive tree-building sessions in a number of ways, including:
- Generate a model based on the current tree (Generate > Generate model).
- Save the directives used to grow the current tree. The next time the tree-building node is executed, the current tree will automatically be regrown, including any custom splits that you have defined.
- Export model, gain, and risk information. See the topic Exporting Model, Gain, and Risk Information for more information.
From either the tree builder or a tree model nugget, you can:
- Generate a Filter or Select node based on the current tree. See the topic Generating Filter and Select Nodes for more information.
- Generate a Rule Set nugget that represents the tree structure as a set of rules defining the terminal branches of the tree. See the topic Generating a Rule Set from a Decision Tree for more information.
- In addition, for tree model nuggets only, you can export the model in PMML format. See the topic The models palette for more information. If the model includes any custom splits, this information is not preserved in the exported PMML. (The split is preserved, but the fact that it is custom rather than chosen by the algorithm is not.)
- Generate a graph based on a selected part of the current tree. Note: this only works for a nugget when it is attached to other nodes in a stream. See the topic Generating Graphs for more information.
Note: The interactive tree itself cannot be saved. To avoid losing your work, generate a model and/or update tree directives before closing the tree builder window.