0 / 0
Extension Model node (SPSS Modeler)

Extension Model node

With the Extension Model node, you can run R scripts or Python for Spark scripts to build and score models.

After adding the node to your canvas, double-click the node to open its properties.

Syntax tab

Select your type of syntax – R, Python, or Python for Spark. Then enter or paste your custom scripting syntax. When your syntax is ready, you can run the node.

Model Options tab

You can generate the model name automatically based on the target or ID field (or model type in cases where no such field is specified), or type a custom name.

Console Output tab

The Console Output field contains any output that's received when the script runs (for example, if using an R script, it shows output received from the R console when the R script in the R Syntax field on the Syntax tab is executed). This output might include R or Python error messages or warnings that are produced when the script is executed. The output can be used, primarily, to debug the script. The Console output field also contains the script from the Syntax field.

Every time the Extension Model script runs, the content of the Console Output field is overwritten with the output received from the R console or Python. You can't edit the output.

Generative AI search and answer
These answers are generated by a large language model in watsonx.ai based on content from the product documentation. Learn more