Skip to main content

Module label_export

Module label_export 

Source
Expand description

Anomaly label export functionality.

This module provides functions for exporting anomaly labels to various formats (CSV, JSON, JSON Lines) for ML training and audit purposes.

Structs§

FlatAnomalyLabel
Flattened anomaly label for CSV export. This structure converts nested fields to flat columns for easier CSV handling.
LabelExportConfig
Configuration for label export.
LabelExportSummary
Summary statistics for exported labels.

Enums§

LabelExportError
Error type for label export operations.

Functions§

export_labels_all_formats
Exports anomaly labels to multiple formats at once.
export_labels_csv
Exports anomaly labels to a CSV file.
export_labels_json
Exports anomaly labels to a JSON file (array format).
export_labels_jsonl
Exports anomaly labels to a JSON Lines file (one JSON object per line).

Type Aliases§

LabelExportResult
Result type for label export operations.