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 Auto Classifier node creates and
compares a number of different models for binary outcomes (yes or no, churn or do not churn, and so
on), allowing you to choose the best approach for a given analysis. A number of modeling algorithms
are supported, making it possible to select the methods you want to use, the specific options for
each, and the criteria for comparing the results. The node generates a set of models based on the
specified options and ranks the best candidates according to the criteria you specify.
Example
node = stream.create("autoclassifier", "My node") node.setPropertyValue("ranking_measure", "Accuracy") node.setPropertyValue("ranking_dataset", "Training") node.setPropertyValue("enable_accuracy_limit", True) node.setPropertyValue("accuracy_limit", 0.9) node.setPropertyValue("calculate_variable_importance", True) node.setPropertyValue("use_costs", True) node.setPropertyValue("svm", False)
Properties |
Values | Property description |
---|---|---|
|
field | For flag targets, the Auto Classifier node requires a single target and one or more input fields. Weight and frequency fields can also be specified. See Common modeling node properties for more information. |
|
|
|
|
|
|
|
integer | Number of models to include in the model nugget. Specify an integer between 1 and 100. |
|
flag | |
|
flag | |
|
integer | Integer between 0 and 100. |
|
flag | |
|
number | Real number between 0.0 and 1.0. |
|
flag | |
|
number | Integer greater than 0. |
|
flag | |
|
number | Real number greater than 1.0. |
|
flag | |
|
number | Integer greater than 0. |
|
flag | |
|
number | Real number greater than 0.0. |
|
field | |
|
flag | |
|
number | Real number greater than 0.0. |
|
field | |
|
flag | |
|
number | Real number greater than 0.0 |
|
field | |
|
number | Integer between 0 and 100. |
|
flag | |
|
number | Integer set to the number of minutes to limit the time taken to build each individual model. |
|
flag | |
|
number | Real number set to the number of hours to limit the overall elapsed time for an auto classifier run. |
|
flag | |
|
flag | |
|
flag | Enables or disables the use of a specific algorithm. |
|
string | Sets a property value for a specific algorithm. See Setting algorithm properties for more information. |
|
field | Fields added to this list can take either the condition or prediction role in rules that are generated by the model. This is on a rule by rule basis, so a field might be a condition in one rule and a prediction in another. |
|
integer | N fold parameter for cross validation, with range from 3 to 10. |
|
boolean | Setting a random seed allows you to replicate analyses. Specify an integer or click Generate, which will create a pseudo-random integer between 1 and 2147483647, inclusive. By default, analyses are replicated with seed 229176228. |
|
integer | Random seed |
|
boolean | |
|
boolean | Removes from the output all of the additional fields generated by the individual models that feed into the Ensemble node. Select this option if you're interested only in the combined score from all of the input models. Ensure that this option is deselected if, for example, you want to use an Analysis node or Evaluation node to compare the accuracy of the combined score with that of each of the individual input models |
|
|
Ensemble method for set targets. |
|
|
If voting is tied, select value randomly or by using highest confidence. |
|
|
Ensemble method for flag targets. |
|
|
If voting is tied, select the value randomly, with highest confidence, or with raw propensity. |
Was the topic helpful?
0/1000