Skip to content

Commit

Permalink
Version 0.2.5
Browse files Browse the repository at this point in the history
Updates sample notebooks: fixed evidently import
  • Loading branch information
emeli-dral committed Feb 17, 2023
1 parent dfff15d commit fb08716
Show file tree
Hide file tree
Showing 6 changed files with 592 additions and 70 deletions.
71 changes: 12 additions & 59 deletions examples/sample_notebooks/evidently_metric_presets.ipynb

Large diffs are not rendered by default.

5 changes: 2 additions & 3 deletions examples/sample_notebooks/evidently_metrics.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
"try:\n",
" import evidently\n",
"except:\n",
" !npm install -g yarn\n",
" !pip install git+https://github.com/evidentlyai/evidently.git"
]
},
Expand Down Expand Up @@ -166,7 +165,7 @@
"#dataset-level metrics\n",
"data_drift_dataset_report = Report(metrics=[\n",
" DatasetDriftMetric(),\n",
" DataDriftTable(), \n",
" DataDriftTable(num_stattest='kl_div', cat_stattest='psi'), \n",
"])\n",
"\n",
"data_drift_dataset_report.run(reference_data=adult_ref, current_data=adult_cur)\n",
Expand Down Expand Up @@ -465,7 +464,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.8.13"
"version": "3.11.0"
}
},
"nbformat": 4,
Expand Down
3 changes: 1 addition & 2 deletions examples/sample_notebooks/evidently_test_presets.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
"try:\n",
" import evidently\n",
"except:\n",
" !npm install -g yarn\n",
" !pip install git+https://github.com/evidentlyai/evidently.git"
]
},
Expand Down Expand Up @@ -332,7 +331,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.9.13"
"version": "3.11.0"
}
},
"nbformat": 4,
Expand Down
17 changes: 13 additions & 4 deletions examples/sample_notebooks/evidently_tests.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
"try:\n",
" import evidently\n",
"except:\n",
" !npm install -g yarn\n",
" !pip install git+https://github.com/evidentlyai/evidently.git"
]
},
Expand Down Expand Up @@ -252,10 +251,20 @@
" TestCorrelationChanges(),\n",
"])\n",
"\n",
"data_quality_dataset_tests.run(reference_data=adult_ref, current_data=adult_cur)\n",
"data_quality_dataset_tests.run(reference_data=iris_ref, current_data=iris_cur)\n",
"data_quality_dataset_tests"
]
},
{
"cell_type": "code",
"execution_count": null,
"id": "1e270bbd",
"metadata": {},
"outputs": [],
"source": [
"iris_cur.head()"
]
},
{
"cell_type": "code",
"execution_count": null,
Expand Down Expand Up @@ -322,7 +331,7 @@
"source": [
"#column-level tests\n",
"data_drift_column_tests = TestSuite(tests=[\n",
" TestColumnDrift(column_name='education-num')\n",
" TestColumnDrift(column_name='education-num', stattest='psi', stattest_threshold=0.3)\n",
"])\n",
"\n",
"data_drift_column_tests.run(reference_data=adult_ref, current_data=adult_cur)\n",
Expand Down Expand Up @@ -504,7 +513,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.8.13"
"version": "3.11.0"
}
},
"nbformat": 4,
Expand Down
564 changes: 563 additions & 1 deletion examples/sample_notebooks/getting_started_tutorial.ipynb

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/evidently/_version.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/usr/bin/env python
# coding: utf-8

version_info = (0, 2, 4)
version_info = (0, 2, 5)
__version__ = ".".join(map(str, version_info))

0 comments on commit fb08716

Please sign in to comment.