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
Parameters
Name Type Default Info label_ints List[int]The list of integers to use when applying the filter. filter_type str'include'The type of filter to apply (either “include” or “exclude”). label_col str'preds'The column in the passing dataframe to look for label integers.