OUTFILE Subcommand (TREE command)
The OUTFILE subcommand writes the tree model to an XML file.
TRAININGMODEL=’filespec’. Writes the model to the specified file. For split-sample validated trees, this is the model for the training sample.
TESTMODEL=’filespec’. Writes the model for the test sample to the specified file. Available only with /VALIDATION TYPE=SPLITSAMPLE. Ignored for unvalidated and cross-validated models.
Example
TREE income [o] BY age employment gender region
/OUTFILE TRAININGMODEL='/myfolder/model.xml'.