Node and Stream Property Examples

Node and stream properties can be used in a variety of ways with IBM® SPSS® Modeler. They are most commonly used as part of a script, either a standalone script, used to automate multiple streams or operations, or a stream script, used to automate processes within a single stream. You can also specify node parameters by using the node properties within the SuperNode. At the most basic level, properties can also be used as a command line option for starting IBM SPSS Modeler. Using the -p argument as part of command line invocation, you can use a stream property to change a setting in the stream.

Table 1. Node and stream property examples
Property Meaning
s.max_size Refers to the property max_size of the node named s.
s:samplenode.max_size Refers to the property max_size of the node named s, which must be a Sample node.
:samplenode.max_size Refers to the property max_size of the Sample node in the current stream (there must be only one Sample node).
s:sample.max_size Refers to the property max_size of the node named s, which must be a Sample node.
t.direction.Age Refers to the role of the field Age in the Type node t.
:.max_size *** NOT LEGAL *** You must specify either the node name or the node type.

The example s:sample.max_size illustrates that you do not need to spell out node types in full.

The example t.direction.Age illustrates that some slot names can themselves be structured—in cases where the attributes of a node are more complex than simply individual slots with individual values. Such slots are called structured or complex properties.