About cookies on this site Our websites require some cookies to function properly (required). In addition, other cookies may be used with your consent to analyze site usage, improve the user experience and for advertising. For more information, please review your options. By visiting our website, you agree to our processing of information as described in IBM’sprivacy statement. To provide a smooth navigation, your cookie preferences will be shared across the IBM web domains listed here.
Last updated: Feb 11, 2025
The Transform node allows you to select and visually preview the results of
transformations before applying them to selected fields.
Example
stream = modeler.script.stream() typenode = stream.findByID("id42KW3MSA94B") node = stream.create("transform", "My node") stream.link(typenode, node) node.setPropertyValue("fields", ["Age", "K", "Na"]) node.setPropertyValue("formula", "Select") node.setPropertyValue("formula_log_n", True) node.setPropertyValue("formula_log_n_offset", 1) node.run([])
Note: Many of the properties listed in the following table are only supported
in SPSS Modeler Desktop, not in SPSS Modeler in watsonx.ai Studio.
properties |
Data type | Property description |
---|---|---|
|
[ field1… fieldn] | The fields to be used in the transformation. |
|
|
Indicates whether all or selected transformations should be calculated. |
|
flag | Indicates if the inverse transformation should be used. |
|
number | Indicates a data offset to be used for the formula. Set as 0 by default, unless specified by user. |
|
flag | Indicates if the logn transformation should be used. |
|
number | |
|
flag | Indicates if the log10 transformation should be used. |
|
number | |
|
flag | Indicates if the exponential transformation (ex) should be used. |
|
flag | Indicates if the square root transformation should be used. |
|
flag | Specifies whether a custom output name is used. |
|
string | If is true, specifies the name to use. |
|
|
Used to specify target location for output generated from the output node. |
|
(.html)
(.cou) |
Used to specify the type of output. |
|
flag | When the is , causes the output to be
separated into pages. |
|
number | When used with , specifies the lines per page of
output. |
|
string | Indicates the file name to be used for the file output. |
Was the topic helpful?
0/1000