Skip to content

Commit

Permalink
[Automatic] Examples Update (#411)
Browse files Browse the repository at this point in the history
Co-authored-by: ItayGabbay <ItayGabbay@users.noreply.github.com>
  • Loading branch information
deepchecks-bot and ItayGabbay committed Jan 2, 2022
1 parent f6b70e0 commit 9279b06
Show file tree
Hide file tree
Showing 43 changed files with 15,910 additions and 17,116 deletions.
428 changes: 219 additions & 209 deletions examples/checks/distribution/train_test_feature_drift.ipynb

Large diffs are not rendered by default.

289 changes: 142 additions & 147 deletions examples/checks/distribution/train_test_label_drift.ipynb

Large diffs are not rendered by default.

853 changes: 429 additions & 424 deletions examples/checks/distribution/trust_score_comparison.ipynb

Large diffs are not rendered by default.

140 changes: 72 additions & 68 deletions examples/checks/distribution/whole_dataset_drift.ipynb

Large diffs are not rendered by default.

228 changes: 114 additions & 114 deletions examples/checks/integrity/data_duplicates.ipynb

Large diffs are not rendered by default.

83 changes: 47 additions & 36 deletions examples/checks/integrity/dominant_frequency_change.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,10 @@
"id": "592d6a95-06b0-4397-bf5e-5aebd6dc58f3",
"metadata": {
"execution": {
"iopub.execute_input": "2021-12-29T00:53:59.094243Z",
"iopub.status.busy": "2021-12-29T00:53:59.093438Z",
"iopub.status.idle": "2021-12-29T00:54:00.793415Z",
"shell.execute_reply": "2021-12-29T00:54:00.792157Z"
"iopub.execute_input": "2022-01-02T16:10:23.514966Z",
"iopub.status.busy": "2022-01-02T16:10:23.514309Z",
"iopub.status.idle": "2022-01-02T16:10:25.617387Z",
"shell.execute_reply": "2022-01-02T16:10:25.616399Z"
}
},
"outputs": [],
Expand All @@ -51,10 +51,10 @@
"id": "13624caa-239a-4b0a-a081-8d46872751ef",
"metadata": {
"execution": {
"iopub.execute_input": "2021-12-29T00:54:00.796724Z",
"iopub.status.busy": "2021-12-29T00:54:00.796139Z",
"iopub.status.idle": "2021-12-29T00:54:00.814278Z",
"shell.execute_reply": "2021-12-29T00:54:00.813716Z"
"iopub.execute_input": "2022-01-02T16:10:25.626035Z",
"iopub.status.busy": "2022-01-02T16:10:25.625036Z",
"iopub.status.idle": "2022-01-02T16:10:25.645784Z",
"shell.execute_reply": "2022-01-02T16:10:25.645257Z"
}
},
"outputs": [],
Expand Down Expand Up @@ -92,10 +92,10 @@
"id": "372e0162-b86c-45d6-8a3b-47e009d709b9",
"metadata": {
"execution": {
"iopub.execute_input": "2021-12-29T00:54:00.819319Z",
"iopub.status.busy": "2021-12-29T00:54:00.817989Z",
"iopub.status.idle": "2021-12-29T00:54:00.819907Z",
"shell.execute_reply": "2021-12-29T00:54:00.820317Z"
"iopub.execute_input": "2022-01-02T16:10:25.652219Z",
"iopub.status.busy": "2022-01-02T16:10:25.650381Z",
"iopub.status.idle": "2022-01-02T16:10:25.652888Z",
"shell.execute_reply": "2022-01-02T16:10:25.653399Z"
}
},
"outputs": [],
Expand All @@ -109,13 +109,24 @@
"id": "fadb3bc8-65af-4c7d-92bc-9234802d99e3",
"metadata": {
"execution": {
"iopub.execute_input": "2021-12-29T00:54:00.835558Z",
"iopub.status.busy": "2021-12-29T00:54:00.832813Z",
"iopub.status.idle": "2021-12-29T00:54:00.842077Z",
"shell.execute_reply": "2021-12-29T00:54:00.842613Z"
"iopub.execute_input": "2022-01-02T16:10:25.658370Z",
"iopub.status.busy": "2022-01-02T16:10:25.657613Z",
"iopub.status.idle": "2022-01-02T16:10:25.678767Z",
"shell.execute_reply": "2022-01-02T16:10:25.679557Z"
}
},
"outputs": [
{
"name": "stderr",
"output_type": "stream",
"text": [
"/home/runner/work/deepchecks/deepchecks/deepchecks/utils/features.py:95: UserWarning:\n",
"\n",
"Features importance was not calculated:\n",
"Model must inherit from one of supported models: sklearn.base.BaseEstimator or CatBoost, Received: NoneType\n",
"\n"
]
},
{
"data": {
"text/html": [
Expand All @@ -138,23 +149,23 @@
"data": {
"text/html": [
"<style type=\"text/css\">\n",
"#T_cbdfa_ table {\n",
"#T_b7b96_ table {\n",
" text-align: left;\n",
"}\n",
"#T_cbdfa_ thead {\n",
"#T_b7b96_ thead {\n",
" text-align: left;\n",
"}\n",
"#T_cbdfa_ tbody {\n",
"#T_b7b96_ tbody {\n",
" text-align: left;\n",
"}\n",
"#T_cbdfa_ th {\n",
"#T_b7b96_ th {\n",
" text-align: left;\n",
"}\n",
"#T_cbdfa_ td {\n",
"#T_b7b96_ td {\n",
" text-align: left;\n",
"}\n",
"</style>\n",
"<table id=\"T_cbdfa_\">\n",
"<table id=\"T_b7b96_\">\n",
" <thead>\n",
" <tr>\n",
" <th class=\"blank level0\" >&nbsp;</th>\n",
Expand All @@ -177,22 +188,22 @@
" </thead>\n",
" <tbody>\n",
" <tr>\n",
" <th id=\"T_cbdfa_level0_row0\" class=\"row_heading level0 row0\" >sepal width (cm)</th>\n",
" <td id=\"T_cbdfa_row0_col0\" class=\"data row0 col0\" >2.70</td>\n",
" <td id=\"T_cbdfa_row0_col1\" class=\"data row0 col1\" >82.22</td>\n",
" <td id=\"T_cbdfa_row0_col2\" class=\"data row0 col2\" >6.67</td>\n",
" <td id=\"T_cbdfa_row0_col3\" class=\"data row0 col3\" >37</td>\n",
" <td id=\"T_cbdfa_row0_col4\" class=\"data row0 col4\" >7</td>\n",
" <td id=\"T_cbdfa_row0_col5\" class=\"data row0 col5\" >0.00</td>\n",
" <th id=\"T_b7b96_level0_row0\" class=\"row_heading level0 row0\" >sepal width (cm)</th>\n",
" <td id=\"T_b7b96_row0_col0\" class=\"data row0 col0\" >2.70</td>\n",
" <td id=\"T_b7b96_row0_col1\" class=\"data row0 col1\" >82.22</td>\n",
" <td id=\"T_b7b96_row0_col2\" class=\"data row0 col2\" >6.67</td>\n",
" <td id=\"T_b7b96_row0_col3\" class=\"data row0 col3\" >37</td>\n",
" <td id=\"T_b7b96_row0_col4\" class=\"data row0 col4\" >7</td>\n",
" <td id=\"T_b7b96_row0_col5\" class=\"data row0 col5\" >0.00</td>\n",
" </tr>\n",
" <tr>\n",
" <th id=\"T_cbdfa_level0_row1\" class=\"row_heading level0 row1\" >petal length (cm)</th>\n",
" <td id=\"T_cbdfa_row1_col0\" class=\"data row1 col0\" >5.10</td>\n",
" <td id=\"T_cbdfa_row1_col1\" class=\"data row1 col1\" >55.56</td>\n",
" <td id=\"T_cbdfa_row1_col2\" class=\"data row1 col2\" >5.71</td>\n",
" <td id=\"T_cbdfa_row1_col3\" class=\"data row1 col3\" >25</td>\n",
" <td id=\"T_cbdfa_row1_col4\" class=\"data row1 col4\" >6</td>\n",
" <td id=\"T_cbdfa_row1_col5\" class=\"data row1 col5\" >0.00</td>\n",
" <th id=\"T_b7b96_level0_row1\" class=\"row_heading level0 row1\" >petal length (cm)</th>\n",
" <td id=\"T_b7b96_row1_col0\" class=\"data row1 col0\" >5.10</td>\n",
" <td id=\"T_b7b96_row1_col1\" class=\"data row1 col1\" >55.56</td>\n",
" <td id=\"T_b7b96_row1_col2\" class=\"data row1 col2\" >5.71</td>\n",
" <td id=\"T_b7b96_row1_col3\" class=\"data row1 col3\" >25</td>\n",
" <td id=\"T_b7b96_row1_col4\" class=\"data row1 col4\" >6</td>\n",
" <td id=\"T_b7b96_row1_col5\" class=\"data row1 col5\" >0.00</td>\n",
" </tr>\n",
" </tbody>\n",
"</table>\n"
Expand Down
84 changes: 42 additions & 42 deletions examples/checks/integrity/is_single_value.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,10 @@
"id": "c942f7bc",
"metadata": {
"execution": {
"iopub.execute_input": "2021-12-29T00:54:03.389897Z",
"iopub.status.busy": "2021-12-29T00:54:03.389322Z",
"iopub.status.idle": "2021-12-29T00:54:05.081837Z",
"shell.execute_reply": "2021-12-29T00:54:05.082292Z"
"iopub.execute_input": "2022-01-02T16:10:28.688228Z",
"iopub.status.busy": "2022-01-02T16:10:28.687416Z",
"iopub.status.idle": "2022-01-02T16:10:30.740025Z",
"shell.execute_reply": "2022-01-02T16:10:30.739134Z"
}
},
"outputs": [],
Expand All @@ -49,10 +49,10 @@
"id": "9f354337",
"metadata": {
"execution": {
"iopub.execute_input": "2021-12-29T00:54:05.087911Z",
"iopub.status.busy": "2021-12-29T00:54:05.087307Z",
"iopub.status.idle": "2021-12-29T00:54:05.100039Z",
"shell.execute_reply": "2021-12-29T00:54:05.099613Z"
"iopub.execute_input": "2022-01-02T16:10:30.752577Z",
"iopub.status.busy": "2022-01-02T16:10:30.744586Z",
"iopub.status.idle": "2022-01-02T16:10:30.761089Z",
"shell.execute_reply": "2022-01-02T16:10:30.760493Z"
}
},
"outputs": [
Expand Down Expand Up @@ -142,10 +142,10 @@
"id": "32b05172",
"metadata": {
"execution": {
"iopub.execute_input": "2021-12-29T00:54:05.107508Z",
"iopub.status.busy": "2021-12-29T00:54:05.105834Z",
"iopub.status.idle": "2021-12-29T00:54:05.111333Z",
"shell.execute_reply": "2021-12-29T00:54:05.110260Z"
"iopub.execute_input": "2022-01-02T16:10:30.767402Z",
"iopub.status.busy": "2022-01-02T16:10:30.766753Z",
"iopub.status.idle": "2022-01-02T16:10:30.776378Z",
"shell.execute_reply": "2022-01-02T16:10:30.776838Z"
}
},
"outputs": [
Expand Down Expand Up @@ -187,10 +187,10 @@
"id": "bb6cfb31",
"metadata": {
"execution": {
"iopub.execute_input": "2021-12-29T00:54:05.118852Z",
"iopub.status.busy": "2021-12-29T00:54:05.118276Z",
"iopub.status.idle": "2021-12-29T00:54:05.125222Z",
"shell.execute_reply": "2021-12-29T00:54:05.124745Z"
"iopub.execute_input": "2022-01-02T16:10:30.785637Z",
"iopub.status.busy": "2022-01-02T16:10:30.781695Z",
"iopub.status.idle": "2022-01-02T16:10:30.800125Z",
"shell.execute_reply": "2022-01-02T16:10:30.799418Z"
}
},
"outputs": [
Expand Down Expand Up @@ -225,23 +225,23 @@
"data": {
"text/html": [
"<style type=\"text/css\">\n",
"#T_6df9b_ table {\n",
"#T_9eec0_ table {\n",
" text-align: left;\n",
"}\n",
"#T_6df9b_ thead {\n",
"#T_9eec0_ thead {\n",
" text-align: left;\n",
"}\n",
"#T_6df9b_ tbody {\n",
"#T_9eec0_ tbody {\n",
" text-align: left;\n",
"}\n",
"#T_6df9b_ th {\n",
"#T_9eec0_ th {\n",
" text-align: left;\n",
"}\n",
"#T_6df9b_ td {\n",
"#T_9eec0_ td {\n",
" text-align: left;\n",
"}\n",
"</style>\n",
"<table id=\"T_6df9b_\">\n",
"<table id=\"T_9eec0_\">\n",
" <thead>\n",
" <tr>\n",
" <th class=\"blank level0\" >&nbsp;</th>\n",
Expand All @@ -251,9 +251,9 @@
" </thead>\n",
" <tbody>\n",
" <tr>\n",
" <th id=\"T_6df9b_level0_row0\" class=\"row_heading level0 row0\" >Single unique value</th>\n",
" <td id=\"T_6df9b_row0_col0\" class=\"data row0 col0\" >2</td>\n",
" <td id=\"T_6df9b_row0_col1\" class=\"data row0 col1\" >None</td>\n",
" <th id=\"T_9eec0_level0_row0\" class=\"row_heading level0 row0\" >Single unique value</th>\n",
" <td id=\"T_9eec0_row0_col0\" class=\"data row0 col0\" >2</td>\n",
" <td id=\"T_9eec0_row0_col1\" class=\"data row0 col1\" >None</td>\n",
" </tr>\n",
" </tbody>\n",
"</table>\n"
Expand All @@ -273,10 +273,10 @@
"id": "5bf94e33",
"metadata": {
"execution": {
"iopub.execute_input": "2021-12-29T00:54:05.131965Z",
"iopub.status.busy": "2021-12-29T00:54:05.131226Z",
"iopub.status.idle": "2021-12-29T00:54:05.139429Z",
"shell.execute_reply": "2021-12-29T00:54:05.138905Z"
"iopub.execute_input": "2022-01-02T16:10:30.806378Z",
"iopub.status.busy": "2022-01-02T16:10:30.805787Z",
"iopub.status.idle": "2022-01-02T16:10:30.819748Z",
"shell.execute_reply": "2022-01-02T16:10:30.818724Z"
},
"scrolled": true
},
Expand Down Expand Up @@ -312,23 +312,23 @@
"data": {
"text/html": [
"<style type=\"text/css\">\n",
"#T_94bbb_ table {\n",
"#T_a202c_ table {\n",
" text-align: left;\n",
"}\n",
"#T_94bbb_ thead {\n",
"#T_a202c_ thead {\n",
" text-align: left;\n",
"}\n",
"#T_94bbb_ tbody {\n",
"#T_a202c_ tbody {\n",
" text-align: left;\n",
"}\n",
"#T_94bbb_ th {\n",
"#T_a202c_ th {\n",
" text-align: left;\n",
"}\n",
"#T_94bbb_ td {\n",
"#T_a202c_ td {\n",
" text-align: left;\n",
"}\n",
"</style>\n",
"<table id=\"T_94bbb_\">\n",
"<table id=\"T_a202c_\">\n",
" <thead>\n",
" <tr>\n",
" <th class=\"blank level0\" >&nbsp;</th>\n",
Expand All @@ -338,9 +338,9 @@
" </thead>\n",
" <tbody>\n",
" <tr>\n",
" <th id=\"T_94bbb_level0_row0\" class=\"row_heading level0 row0\" >Single unique value</th>\n",
" <td id=\"T_94bbb_row0_col0\" class=\"data row0 col0\" >2</td>\n",
" <td id=\"T_94bbb_row0_col1\" class=\"data row0 col1\" >None</td>\n",
" <th id=\"T_a202c_level0_row0\" class=\"row_heading level0 row0\" >Single unique value</th>\n",
" <td id=\"T_a202c_row0_col0\" class=\"data row0 col0\" >2</td>\n",
" <td id=\"T_a202c_row0_col1\" class=\"data row0 col1\" >None</td>\n",
" </tr>\n",
" </tbody>\n",
"</table>\n"
Expand All @@ -361,10 +361,10 @@
"id": "e27dfa38",
"metadata": {
"execution": {
"iopub.execute_input": "2021-12-29T00:54:05.151241Z",
"iopub.status.busy": "2021-12-29T00:54:05.149540Z",
"iopub.status.idle": "2021-12-29T00:54:05.155108Z",
"shell.execute_reply": "2021-12-29T00:54:05.153805Z"
"iopub.execute_input": "2022-01-02T16:10:30.826940Z",
"iopub.status.busy": "2022-01-02T16:10:30.826281Z",
"iopub.status.idle": "2022-01-02T16:10:30.836198Z",
"shell.execute_reply": "2022-01-02T16:10:30.836697Z"
}
},
"outputs": [
Expand Down

0 comments on commit 9279b06

Please sign in to comment.