0 / 0
Extension Model node
Last updated: Oct 09, 2024
Extension Model node (SPSS Modeler)

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 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 tab contains any output that's received when the R script or Python for Spark 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 R script or Python script is executed. The output can be used, primarily, to debug the script. The Console Output tab also contains the script from the R Syntax or Python Syntax field.

Every time the Extension Model script runs, the content of the Console Output tab is overwritten with the output received from the R console or Python for Spark. 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