operators.filter.LabelIntFilter
- class operators.filter.LabelIntFilter(label_ints, filter_type='include', label_col='preds')
A filter that includes/excludes all datapoints corresponding to specified label ints.
This operator either includes or excludes datapoints in passing dataframes that have integer labels in the set of provided :label_ints.
- Parameters:
label_ints (
List
[int
]) – The list of integers to use when applying the filterfilter_type (
str
, default:'include'
) – The type of filter to apply (either “include” or “exclude”)label_col (
str
, default:'preds'
) – The column in the passing dataframe to look for label integers