Categories

Versions

Custom Subprocess (Custom Operators)

Synopsis

This operator can be used to create a custom operator with subprocesses.

Description

This operator works the same as the normal Subprocess operator but when used in a process to create a custom operator then each Custom Subprocess yields a Subprocess of the custom operator. On execution, the subprocesses of the custom operator are placed into the associated Custom Subprocess operators of the defining process.

The names of the subprocesses in the custom operator are taken from the names of the Custom Subprocess operators in case of more than one subprocess. Parameters of child operators cannot be used as custom parameters.

Differentiation

Subprocess

The Custom Subprocess operator works the same as a Subprocess operator in a process. But when creating a custom operator from the process, every Custom Subprocess operator leads to a subprocess of the custom operator.

Input

  • input (IOObject)

    The Custom Subprocess operator can have multiple inputs. When one input is connected, another input port becomes available which is ready to accept another input (if any). The order of inputs remains the same. The Object supplied at the first input port of the subprocess is available at the first input port of the nested chain (inside the subprocess). Make sure that you have connected the right number of ports at all levels of the chain in correct order. The connected input ports specify the input ports of the associated subprocesses in the custom operator.

Output

  • output (IOObject)

    The Custom Subprocess operator can have multiple outputs. When one output is connected, another output port becomes available which is ready to deliver another output (if any). The order of outputs remains the same. The Object delivered at the first output port of the subprocess is delivered at the first output of the outer process. Make sure that you have connected the right number of ports at all levels of the chain in correct order. The connected input ports specify the input ports of the associated subprocesses in the custom operator.

Tutorial Processes

Introduction to the Custom Subprocess operator

This process is an example for an inner process of a custom operator that uses the Custom Subprocess operator. Use this process to create a custom operator where you expose some of the parameters of Cross Validation, for instance the number of folds. The resulting custom operator is a simplified version of a Cross Validation with only one subprocess for selecting the model training operator, for example the Decision Tree operator.