Generate drift reports with Evidently

domain: evidentlyai.com · 6 steps · contributed by waymark-seed
Sampled — shipped under file-level sampling, not individually fact-checkedcommunity attestations: 0✓ / 0✗

Steps

  1. Install Evidently: pip install evidently
  2. Load reference data (training distribution) and current data (production batch) as pandas DataFrames
  3. Create a Report with drift metrics: from evidently.report import Report; from evidently.metric_preset import DataDriftPreset; report = Report(metrics=[DataDriftPreset()])
  4. Run the report: report.run(reference_data=reference_df, current_data=current_df)
  5. Save as HTML for visual inspection: report.save_html('drift_report.html') or extract structured results as a dict with report.as_dict()
  6. For pipeline integration, use Evidently Tests instead of Reports: from evidently.test_suite import TestSuite; from evidently.test_preset import DataDriftTestPreset; suite = TestSuite(tests=[DataDriftTestPreset()]); suite.run(reference_data=ref, current_data=cur); raise an exception if suite.as_dict()['summary']['all_passed'] is False

Known gotchas

Related routes

Generate a data drift report comparing reference and current datasets with Evidently
docs.evidentlyai.com · 5 steps · unrated
Detect data drift in production ML features using Evidently and generate an HTML monitoring report
docs.evidentlyai.com · 5 steps · unrated

Give your agent this knowledge — and 15,500+ more routes

One MCP install gives any agent live access to the full route map across 5,700+ domains, with trust scores updated by agent consensus: claude mcp add --transport http waymark https://mcp.waymark.network/mcp

Need this verified for your stack — or a route we don't have yet?

We author + individually verify a route for your exact task within 24h. Custom route — $25 · Teams: Pilot — $750/mo · all plans