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
Treating categorical data as continuous can have a serious impact on the quality of a
model, especially if it's the target field (for example, producing a regression model rather than a
binary model). To prevent this, you can convert integer ranges to categorical types such as
or Ordinal
.Flag
- Double-click a Type node to open its properties. Expand the Type Operations section.
- Specify a value for Set continuous integer field to ordinal if range less than or equal to.
- Click Apply to convert the affected ranges.
- If desired, you can also specify a value for Set categorical fields to None if they exceed this many values to automatically ignore large sets with many members.
Results of the conversion
- Where a
field with integer storage is changed toContinuous
, the upper value is expanded to include all of the integer values through the upper value. For example, if you set the value toOrdinal
, the set of values is5
.1, 2, 3, 4, 5
- If the
field changes toContinuous
, the lower and upper values become the false and true values of the flag field.Flag
Was the topic helpful?
0/1000