Scripting overview

Scripting in IBM® SPSS® Modeler is a powerful tool for automating processes in the user interface. Scripts can perform the same types of actions that you perform with a mouse or a keyboard, and you can use them to automate tasks that would be highly repetitive or time consuming to perform manually.

You can use scripts to:

  • Impose a specific order for node executions in a stream.
  • Set properties for a node as well as perform derivations using a subset of CLEM (Control Language for Expression Manipulation).
  • Specify an automatic sequence of actions that normally involves user interaction--for example, you can build a model and then test it.
  • Set up complex processes that require substantial user interaction--for example, cross-validation procedures that require repeated model generation and testing.
  • Set up processes that manipulate streams—for example, you can take a model training stream, run it, and produce the corresponding model-testing stream automatically.

This section provides high-level descriptions and examples of stream-level scripts, standalone scripts, and scripts within SuperNodes in the IBM SPSS Modeler interface. More information on scripting language, syntax, and commands is provided in the sections that follow.

Note:

You cannot import and run scripts created in IBM SPSS Statistics within IBM SPSS Modeler.