Time Series Model Package

RNNSPEC Object

The RNNSPEC object generates time series recurrent neural network (RNN) model specifications for use with a TSM object.

Table 11 summarizes the methods that are associated with the TSM.RNNSPEC method.

Table 11: Methods of the RNNSPEC Object

Method Description
AddTF Add a transfer function to the RNN model
Close Close the RNN model specification
GetLabel Retrieve the label of the specified RNN model
Open Open the RNN model specification
SetOptimizer Specify optimizer options
SetOption Specify the RNN model options


The basic execution pattern for using an RNNSPEC object follows this sequence of operations:

  1. Declare: The object declaration statement creates a new RNNSPEC object.

  2. Open: The RNNSPEC.Open method prepares the default RNNSPEC object for a new configuration.

  3. Configure: The various RNNSPEC.Set methods configure the RNNSPEC object.

  4. Close: The RNNSPEC.Close method finalizes the RNNSPEC object.

  5. Apply: The TSM.Initialize method adds the RNNSPEC to a TSM object.

You can also store the XML representation of the RNN model in an output table. For more information, see the section TSMSPEC Object. Figure 7 illustrates the data flow through the RNNSPEC object.

Figure 7: RNNSPEC Object Data Flow

RNNSPEC Object Data Flow


Last updated: July 09, 2026