# twostepnode properties #

![Twostep node icon](https://dataplatform.cloud.ibm.com/docs/content/wsd/nodes/scripting_guide/clementine/images/twostepnodeicon.png)The TwoStep node uses a two\-step clustering method\. The first step makes a single pass through the data to compress the raw input data into a manageable set of subclusters\. The second step uses a hierarchical clustering method to progressively merge the subclusters into larger and larger clusters\. TwoStep has the advantage of automatically estimating the optimal number of clusters for the training data\. It can handle mixed field types and large data sets efficiently\.

<!-- <table "summary="twostepnode properties" class="defaultstyle" "> -->

twostepnode properties  

Table 1\. twostepnode properties

| `twostepnode` Properties | Values                     | Property description                                                                                                                                                       |
| ------------------------ | -------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `inputs`                 | \[*field1 \.\.\. fieldN*\] | TwoStep models use a list of input fields, but no target\. Weight and frequency fields are not recognized\. See [Common modeling node properties](https://dataplatform.cloud.ibm.com/docs/content/wsd/nodes/scripting_guide/clementine/modelingnodeslots_common.html#modelingnodeslots_common) for more information\. |
| `standardize`            | *flag*                     |                                                                                                                                                                            |
| `exclude_outliers`       | *flag*                     |                                                                                                                                                                            |
| `percentage`             | *number*                   |                                                                                                                                                                            |
| `cluster_num_auto`       | *flag*                     |                                                                                                                                                                            |
| `min_num_clusters`       | *number*                   |                                                                                                                                                                            |
| `max_num_clusters`       | *number*                   |                                                                                                                                                                            |
| `num_clusters`           | *number*                   |                                                                                                                                                                            |
| `cluster_label`          | `String``Number`           |                                                                                                                                                                            |
| `label_prefix`           | *string*                   |                                                                                                                                                                            |
| `distance_measure`       | `Euclidean``Loglikelihood` |                                                                                                                                                                            |
| `clustering_criterion`   | `AIC``BIC`                 |                                                                                                                                                                            |

<!-- </table "summary="twostepnode properties" class="defaultstyle" "> -->

<!-- </article "role="article" "> -->