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
For the Auto Classifier, Auto Numeric, and Auto Cluster nodes, you can set properties for specific algorithms used by the node by using the general form:
autonode.setKeyedPropertyValue(<algorithm>, <property>, <value>)
For example:
node.setKeyedPropertyValue("neuralnetwork", "method", "MultilayerPerceptron")
Algorithm names for the Auto Classifier node are
,
cart
, chaid
, quest
, c50
,
logreg
, decisionlist
, bayesnet
,
discriminant
and svm
. knn
Algorithm names for the Auto Numeric node are
,
cart
, chaid
, neuralnetwork
,
genlin
, svm
, regression
and linear
. knn
Algorithm names for the Auto Cluster node are
,
twostep
, and k-means
. kohonen
Property names are standard as documented for each algorithm node.
Algorithm properties that contain periods or other punctuation must be wrapped in single quotes. For example:
node.setKeyedPropertyValue("logreg", "tolerance", "1.0E-5")
Multiple values can also be assigned for a property. For example:
node.setKeyedPropertyValue("decisionlist", "search_direction", ["Up", "Down"])
To enable or disable the use of a specific algorithm:
node.setPropertyValue("chaid", True)
Note: In cases where certain algorithm options aren't available in the Auto Classifier node, or when
only a single value can be specified rather than a range of values, the same limits apply with
scripting as when accessing the node in the standard manner.
Was the topic helpful?
0/1000