Filter Detections Module#
Filter message by a classification threshold.
The Filter Detections module is used to filter rows from a DataFrame based on values in a tensor using a specified
criteria. Rows in the meta DataFrame are excluded if their associated value in the probs array is less than or equal
to threshold.
Configurable Parameters#
Parameter |
Type |
Description |
Example Value |
Default Value |
|---|---|---|---|---|
|
boolean |
Whether to copy the rows or slice them |
|
|
|
string |
Name of the field to filter on |
|
|
|
string |
Source of the filter field |
|
|
|
dictionary |
Schema configuration |
Refer Below |
|
|
float |
Threshold value to filter on |
|
|
schema#
Key |
Type |
Description |
Example Value |
Default Value |
|---|---|---|---|---|
|
string |
Encoding |
|
|
|
string |
Pickled message type |
|
|
|
string |
Schema string |
|
|
Example JSON Configuration#
{
"field_name": "probs",
"threshold": 0.5,
"filter_source": "AUTO",
"copy": true,
"schema": {
"input_message_type": "pickle_message_type",
"encoding": "utf-8"
}
}