MODULE REFERENCE
quantile
anomx.detection.detectors.quantileQuantile-threshold detector component.
classView source ↗
QuantileThresholdDetector
QuantileThresholdDetector(config: dict[str, Any] | None = None)Bases: AdaptiveThresholdDetector
Flag the top quantile of a score column as anomalous.
| Parameter | Type | Default |
|---|---|---|
config | dict[str, Any] | None | None |
Members
component_keyattribute
component_key = 'quantile_threshold'component_nameattribute
component_name = 'Quantile Threshold Detector'component_default_configattribute
component_default_config = {'quantile': 0.99, 'source_column': 'score'}component_config_schemaattribute
component_config_schema = {'quantile': {'type': 'number'}, 'source_column': {'type': 'string'}}detectmethod
detect(predictions: Any) -> pd.DataFrame| Parameter | Type | Default |
|---|---|---|
predictions | Any | required |
Returns pd.DataFrame
Inherited members
is_component_abstractBaseComponentget_component_typeBaseComponentget_component_keyBaseComponentget_component_nameBaseComponentget_component_docsBaseComponentget_component_descriptionBaseComponentget_component_iconBaseComponentget_component_image_pathBaseComponentget_component_statusBaseComponentget_component_default_configBaseComponentget_component_config_schemaBaseComponentget_component_code_versionBaseComponentget_component_source_pathBaseComponentget_component_import_pathBaseComponentget_component_capabilitiesBaseComponentget_component_signatureBaseComponentget_component_parametersBaseComponentget_configBaseComponent