Detectors
class RareCategoryDetector
RareCategoryDetector.__init__
Detect rare categories.
Arguments:
min_occurrences
- The minimum number of occurrences for a category to avoid detection.
class SpecialValuesDetector
SpecialValuesDetector.__init__
Detect specific given values.
Arguments:
values
- The sequence of values to be detected.
class RangeValueDetector
RangeValueDetector.__init__
Detect values within a range.
Arguments:
min_val
- The minimum value of the range.max_val
- The maximum value of the range.
class AggregateDetector
AggregateDetector.__init__
List of detectors to be simultaneously applied to the data.
Arguments:
detectors
- A sequence ofDetector
objects.
class ThresholdCategoryDetector
ThresholdCategoryDetector.__init__
Detect the lowest frequency categories in order to avoid detection of a given minimal fraction of the total number of categories.
Arguments:
threshold
- The minimal fraction of the total number of categories to avoid detection. Must be a float between 0 and 1.
class DateTimeRangeValueDetector
DateTimeRangeValueDetector.__init__
Detect datetime values within a range.
Arguments:
min_val
- The minimum value of the range.max_val
- The maximum value of the range.fmt
- The datetime format. If None, it will be automatically inferred.
class TimeRangeValueDetector
TimeRangeValueDetector.__init__
Detect time values within a range.
Arguments:
min_val
- The minimum value of the range.max_val
- The maximum value of the range.
class QuantileTailsDetector
QuantileTailsDetector.__init__
Detect values in the tails of the data distribution.
Arguments:
quantile
- The quantile defining the tails. Must be between 0 and 1.side
- The side of the distribution to consider. Should be aSide
object or a string representing aSide
.
class DateTimeQuantileTailsDetector
DateTimeQuantileTailsDetector.__init__
Detect datetime values in the tails of the data distribution.
Arguments:
quantile
- The quantile defining the tails. Must be between 0 and 1.side
- The side of the distribution to consider. Should be aSide
object or a string representing aSide
.fmt
- The datetime format. If None, it will be automatically inferred.