Using SuperNode Parameters to Access Node Properties

SuperNode parameters can also be used to define node properties (also known as slot parameters) for encapsulated nodes. For example, suppose you want to specify that a SuperNode train an encapsulated Neural Net node for a certain length of time using a random sample of the data available. Using parameters, you can specify values for the length of time and percentage sample.

Suppose your example SuperNode contains a Sample node called Sample and a Neural Net node called Train. You can use the node dialog boxes to specify the Sample node's Sample setting as Random % and the Neural Net node's Stop on setting to Time. Once these options are specified, you can access the node properties with parameters and specify specific values for the SuperNode. In the SuperNode dialog box, click Define Parameters and create the parameters shown in the following table.

Table 1. Parameters to create
Parameter Value Long name
Train.time 5 Time to train (minutes)
Sample.random 10 Percentage random sample

Note: The parameter names, such as Sample.random, use correct syntax for referring to node properties, where Sample represents the name of the node and random is a node property.

Once you have defined these parameters, you can easily modify values for the two Sample and Neural Net node properties without reopening each dialog box. Instead, simply select Set Parameters from the SuperNode menu to access the Parameters tab of the SuperNode dialog box, where you can specify new values for Random % and Time. This is particularly useful when exploring the data during numerous iterations of model building.