axelsirota commited on
Commit
1d06355
·
verified ·
1 Parent(s): 9538eed

Upload folder using huggingface_hub

Browse files
Files changed (1) hide show
  1. app.py +11 -3
app.py CHANGED
@@ -162,8 +162,11 @@ def simulate_drift(drift_type, intensity, months):
162
 
163
  with gr.Blocks(title="Data Drift Simulator", theme=gr.themes.Soft(primary_hue="blue")) as demo:
164
  gr.Markdown(
165
- "# Data Drift Simulator\n"
166
- "Watch a fraud detection model's performance degrade as data distribution changes.\n"
 
 
 
167
  "**ML models aren't like software — they don't stay accurate forever.**"
168
  )
169
 
@@ -184,7 +187,12 @@ with gr.Blocks(title="Data Drift Simulator", theme=gr.themes.Soft(primary_hue="b
184
  run_btn.click(simulate_drift, [drift_type, intensity, months], [chart, analysis])
185
  demo.load(simulate_drift, [drift_type, intensity, months], [chart, analysis])
186
 
187
- gr.Markdown("---\n*AI for Product Managers*")
 
 
 
 
 
188
 
189
 
190
  if __name__ == "__main__":
 
162
 
163
  with gr.Blocks(title="Data Drift Simulator", theme=gr.themes.Soft(primary_hue="blue")) as demo:
164
  gr.Markdown(
165
+ "# Data Drift Simulator\n\n"
166
+ "**PM Decision:** ML models degrade over time as real-world data changes. Use this "
167
+ "to understand why you must require monitoring in every ML project and budget for "
168
+ "retraining. A model that's 95% accurate at launch might drop to 70% in 6 months.\n\n"
169
+ "Watch a fraud detection model's performance degrade as data distribution changes. "
170
  "**ML models aren't like software — they don't stay accurate forever.**"
171
  )
172
 
 
187
  run_btn.click(simulate_drift, [drift_type, intensity, months], [chart, analysis])
188
  demo.load(simulate_drift, [drift_type, intensity, months], [chart, analysis])
189
 
190
+ gr.Markdown(
191
+ "---\n"
192
+ "**PM Takeaway:** Always ask: 'What happens when the data changes? How will we know, "
193
+ "and how often will we retrain?' Budget for monitoring from day one.\n\n"
194
+ "*AI for Product Managers*"
195
+ )
196
 
197
 
198
  if __name__ == "__main__":