| Class | Description |
|---|---|
| CategoricalToIntegerTransform |
Created by Alex on 4/03/2016.
|
| CategoricalToOneHotTransform |
Created by Alex on 4/03/2016.
|
| FirstDigitTransform |
FirstDigitTransform converts a column to a categorical column, with values being the first digit of the number.
For example, "3.1415" becomes "3" and "2.0" becomes "2". Negative numbers ignore the sign: "-7.123" becomes "7". Note that two FirstDigitTransform.Modes are supported, which determines how non-numerical entries should be handled:EXCEPTION_ON_INVALID: output has 10 category values ("0", ..., "9"), and any non-numerical values result in an exception INCLUDE_OTHER_CATEGORY: output has 11 category values ("0", ..., "9", "Other"), all non-numerical values are mapped to "Other" FirstDigitTransform is useful (combined with CategoricalToOneHotTransform and Reductions) to implement
Benford's law. |
| IntegerToCategoricalTransform |
Convert an integer column to a categorical column, using a provided
Map<Integer,String> |
| PivotTransform |
Pivot transform operates on two columns:
- a categorical column that operates as a key, and
- Another column that contains a value
Essentially, Pivot transform takes keyvalue pairs and breaks them out into separate columns.
|
| StringToCategoricalTransform |
Convert a String column
to a categorical column
|
| Enum | Description |
|---|---|
| FirstDigitTransform.Mode |
Mode determines how non-numerical entries should be handled:
EXCEPTION_ON_INVALID: output has 10 category values ("0", ..., "9"), and any non-numerical values result in an exception INCLUDE_OTHER_CATEGORY: output has 11 category values ("0", ..., "9", "Other"), all non-numerical values are mapped to "Other" |
Copyright © 2020. All rights reserved.