Skip to content

Commit

Permalink
modify integ health DatasetMetrics (#68)
Browse files Browse the repository at this point in the history
  • Loading branch information
murilommen authored Jul 15, 2024
1 parent 3d68294 commit bb05e36
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 9 deletions.
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

0 comments on commit bb05e36

Please sign in to comment.