Resampling and data handling rules
You can configure the resampling rule and data handling rules that are used by the product.
Resampling rule
Resampling rules affect the way data is aggregated. Two options are available for resampling data:
- None
- No resampling technique is performed on the original data set.
- Downsampling
- Data is downsampled. Downsampling rebalances the distribution between failure events and non-failure events to increase the proportion of failure events.
Data handling rules
Data handling rules specify the aggregation rule and missing value rule for each column in the event file. You can define data handling rules for individual fields. The options for aggregation rule and missing value rule depend on the type of field.
The following table describes the types of aggregation rules.
| Aggregation rule | Description |
|---|---|
| T_IF_ANY_T | True if any true. If one or more true values exist, then true is used. |
| F_IF_ANY_F | False if any false. If one or more false values exist, then false is used. |
| mode | The value that occurs most frequently is used. |
| first | The value that occurs first is used. |
| last | The value that occurs last is used. |
| sum | The sum of all values is used. |
| mean | The average of all values is used. |
| max | The maximum value is used. |
| min | The minimum value is used. |
| count | The number of events in the time period is used. |
The following table describes the types of missing value rules.
| Missing value rule | Description |
|---|---|
| false | If the event does not have this value, false is used. |
| ffill | The last available value is used. |
| bfill | The first available value is used. |
| mean | The average is used. |
| min | The minimum value is used. |
| max | The maximum value is used. |
| interpolate | A linear interpolation is used. |