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
Copy link to section
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
Copy link to section
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
Copy link to section
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.
About cookies on this siteOur 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 cookie preferences 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.