Segment Filters
Segment filters are used to filter out segments based on statistical properties before calling feature generation and classification.
-
Segment Energy Threshold Filter
Takes the absolute value of each point and compares it with the threshold. If no values are above the threshold, the segment is filtered.
- Parameters
input_data (_type_) – _description_
input_column (_type_) – _description_
group_columns (_type_) – _description_
threshold (int, optional) – _description_. Defaults to 0.
backoff (int, optional) – _description_. Defaults to 0.
delay (int, optional) – _description_. Defaults to 0.
disable_train (bool, optional) – _description_. Defaults to False.
- Returns
The segments that were not filtered.
- Return type
DataFrame
-
Segment Filter MSE
Filters out groups that do not pass the MSE threshold.
- Parameters
input_column (str) – The name of the column to use for filtering.
MSE_target (float) – The filter target value. Default is -1.0.
MSE_threshold (float) – The filter threshold value. Default is 0.01.
- Returns
The filtered input data.
- Return type
DataFrame
-
Segment Filter Threshold
Filters out segments that have values greater or less than the specified threshold.
- Parameters
input_column (str) – The name of the column to use for filtering.
threshold (int16) – The threshold value to filter against.
comparison (int) – 0 for less than, 1 for greater than.
- Returns
Segments that pass the energy threshold.
- Return type
DataFrame