Skip to content

hsfs.core.feature_statistics_result #

FeatureStatisticsResult #

Holds per-feature statistics and comparison outcomes from a single monitoring run.

Each instance contains the detection and optional reference descriptive statistics for one feature, together with the individual StatisticsComparisonResult entries produced by evaluating the configured metrics.

detection_statistics property #

detection_statistics: FeatureDescriptiveStatistics | None

Descriptive statistics computed on the detection window.

detection_statistics_id property #

detection_statistics_id: int | None

Identifier of the descriptive statistics computed on the detection window.

feature_name property #

feature_name: str

Name of the feature these statistics describe.

id property #

id: int | None

Identifier assigned by the backend upon registration.

reference_statistics property #

reference_statistics: FeatureDescriptiveStatistics | None

Descriptive statistics computed on the reference window.

reference_statistics_id property #

reference_statistics_id: int | None

Identifier of the descriptive statistics computed on the reference window.

shift_detected property #

shift_detected: bool

Whether any metric exceeded its configured threshold.

shifted_metric_names property #

shifted_metric_names: set[str] | None

Names of metrics for which the difference exceeded the configured threshold.

statistics_comparison_results property #

statistics_comparison_results: (
    list[StatisticsComparisonResult] | None
)

Individual comparison results for each configured metric.