Replace Outliers (HD)
Reduces the range of values for numeric columns.
Information at a Glance
|
Parameter |
Description |
|---|---|
| Category | Transform |
| Data source type | HD |
| Send output to other operators | Yes |
| Data processing tool | Spark |
For more information about how the Replace Outliers operator works, see Outliers in Numerical Data.
Input
This operator works for tabular data sets on HDFS. The transformation function can be applied only to numeric columns, and the type of the numeric input columns is preserved in the output.
Restrictions
Any data set with numeric columns can be used. This operator slows down as the number of columns selected and the cardinality of the columns increases.
Configuration
| Parameter | Description |
|---|---|
| Notes | Notes or helpful information about this operator's parameter settings. When you enter content in the Notes field, a yellow asterisk appears on the operator. |
| Columns | Numeric columns to transform. |
| Lower Boundary (%) | A double that represents the percentage of values in the left tail of the distribution (on the low end of the range in each column) to replace.
The lower threshold
x is calculated as
|
| Upper Boundary (%) | A double that represents the percentage of values in the right tail of the original distribution for each column (the high end of the range in each column) to replace.
The upper threshold
y is calculated as
|
| Write Null Data To File
*required |
Rows with null values are removed from the analysis. This parameter allows you to specify that the data with null values be written to a file.
The file is written to the same directory as the rest of the output. The filename is suffixed with _baddata.
|
| Storage Format | Select the format in which to store the results. The storage format is determined by your type of operator.
Typical formats are Avro, CSV, TSV, or Parquet. |
| Compression | Select the type of compression for the output.
Available Parquet compression options.
Available Avro compression options.
|
| Output Directory | The location to store the output files. |
| Output Name | The name to contain the results. |
| Overwrite Output | Specifies whether to delete existing data at that path.
|
| Advanced Spark Settings Automatic Optimization |
|
Output
- Output: A table with the outlier values replaced, as detailed above.

- Summary: A description of the input data and the rows removed due to null data. It also shows where the results are stored.


