Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

modify integ health DatasetMetrics #68

Merged
merged 1 commit into from
Jul 15, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 1 addition & 5 deletions whylabs_toolkit/monitor/models/analyzer/algorithms.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,6 @@ class AlgorithmType(str, Enum):
class DatasetMetric(str, Enum):
"""Metrics that are applicable at the dataset level."""

# ingestion health. null value if not ingested yet
profile_count = "profile.count"
profile_last_ingestion_time = "profile.last_ingestion_time"
profile_first_ingestion_time = "profile.first_ingestion_time"

# within the batch
column_row_count_sum = "column_row_count_sum"
# shape metrics?
Expand All @@ -62,6 +57,7 @@ class DatasetMetric(str, Enum):

# other metrics
missing_data_point = "missingDatapoint"
seconds_since_last_upload = "secondsSinceLastUpload"


class SimpleColumnMetric(str, Enum):
Expand Down
7 changes: 3 additions & 4 deletions whylabs_toolkit/monitor/schema/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -646,9 +646,6 @@
"title": "DatasetMetric",
"description": "Metrics that are applicable at the dataset level.",
"enum": [
"profile.count",
"profile.last_ingestion_time",
"profile.first_ingestion_time",
"column_row_count_sum",
"shape_column_count",
"shape_row_count",
Expand All @@ -662,7 +659,9 @@
"classification.auroc",
"regression.mse",
"regression.mae",
"regression.rmse"
"regression.rmse",
"missingDatapoint",
"secondsSinceLastUpload"
],
"type": "string"
},
Expand Down