Skip to content

Commit 6c68f09

Browse files
Add files via upload
1 parent 49d50ff commit 6c68f09

3 files changed

Lines changed: 6 additions & 5 deletions

File tree

app.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ def main():
182182
""")
183183

184184
st.warning(
185-
"This dashboard uses a synthetic, highly separable demo dataset. "
185+
"This dashboard uses a synthetic demo dataset with overlapping classes and label noise. "
186186
"It demonstrates fraud-risk workflow design, not real-world fraud benchmark performance."
187187
)
188188

src/dashboard_utils.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,8 +83,8 @@ def build_model_metadata(
8383
"threshold_recall": best_threshold.get("recall"),
8484
"threshold_precision": best_threshold.get("precision"),
8585
"data_note": (
86-
"Synthetic, highly separable demo data. Metrics validate the workflow and should not "
87-
"be treated as real-world fraud benchmark performance."
86+
"Synthetic demo data with overlapping classes and label noise. Metrics validate "
87+
"the workflow and should not be treated as real-world fraud benchmark performance."
8888
),
8989
}
9090

src/train_model.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,8 +69,9 @@ def train_and_evaluate() -> dict:
6969
"positive_rate_train": float(y_train.mean()),
7070
"positive_rate_test": float(y_test.mean()),
7171
"note": (
72-
"This synthetic demo dataset is highly separable. Probability metrics should be "
73-
"interpreted as workflow checks, not real-world fraud benchmark performance."
72+
"This synthetic demo dataset has overlapping classes and injected label noise. "
73+
"Probability metrics should be interpreted as workflow checks, not real-world "
74+
"fraud benchmark performance."
7475
),
7576
}
7677

0 commit comments

Comments
 (0)