Skip to content

Commit

Permalink
Regenerate notebooks
Browse files Browse the repository at this point in the history
  • Loading branch information
ItayGabbay committed Feb 4, 2022
1 parent 9187e76 commit c36e7b4
Show file tree
Hide file tree
Showing 46 changed files with 94,926 additions and 90,308 deletions.
598 changes: 311 additions & 287 deletions docs/source/examples/checks/distribution/train_test_feature_drift.ipynb

Large diffs are not rendered by default.

125 changes: 75 additions & 50 deletions docs/source/examples/checks/distribution/train_test_label_drift.ipynb

Large diffs are not rendered by default.

2,490 changes: 1,275 additions & 1,215 deletions docs/source/examples/checks/distribution/trust_score_comparison.ipynb

Large diffs are not rendered by default.

365 changes: 195 additions & 170 deletions docs/source/examples/checks/distribution/whole_dataset_drift.ipynb

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,24 @@
"id": "b6c42074",
"metadata": {
"execution": {
"iopub.execute_input": "2022-01-26T16:21:29.335041Z",
"iopub.status.busy": "2022-01-26T16:21:29.333817Z",
"iopub.status.idle": "2022-01-26T16:21:31.628155Z",
"shell.execute_reply": "2022-01-26T16:21:31.628587Z"
"iopub.execute_input": "2022-02-04T09:11:48.651270Z",
"iopub.status.busy": "2022-02-04T09:11:48.650209Z",
"iopub.status.idle": "2022-02-04T09:11:50.184633Z",
"shell.execute_reply": "2022-02-04T09:11:50.185116Z"
}
},
"outputs": [],
"outputs": [
{
"name": "stderr",
"output_type": "stream",
"text": [
"/Users/itaygabbay/Deepchecks/deepchecks/venv/lib/python3.8/site-packages/statsmodels/compat/pandas.py:65: FutureWarning:\n",
"\n",
"pandas.Int64Index is deprecated and will be removed from pandas in a future version. Use pandas.Index with the appropriate dtype instead.\n",
"\n"
]
}
],
"source": [
"from deepchecks.checks.integrity.new_category import CategoryMismatchTrainTest\n",
"from deepchecks.base import Dataset\n",
Expand All @@ -33,10 +44,10 @@
"id": "ee76ed5c",
"metadata": {
"execution": {
"iopub.execute_input": "2022-01-26T16:21:31.635665Z",
"iopub.status.busy": "2022-01-26T16:21:31.635068Z",
"iopub.status.idle": "2022-01-26T16:21:31.636674Z",
"shell.execute_reply": "2022-01-26T16:21:31.637066Z"
"iopub.execute_input": "2022-02-04T09:11:50.191573Z",
"iopub.status.busy": "2022-02-04T09:11:50.190989Z",
"iopub.status.idle": "2022-02-04T09:11:50.192734Z",
"shell.execute_reply": "2022-02-04T09:11:50.193347Z"
}
},
"outputs": [],
Expand All @@ -53,45 +64,55 @@
"id": "3171fe14",
"metadata": {
"execution": {
"iopub.execute_input": "2022-01-26T16:21:31.649875Z",
"iopub.status.busy": "2022-01-26T16:21:31.648575Z",
"iopub.status.idle": "2022-01-26T16:21:31.654003Z",
"shell.execute_reply": "2022-01-26T16:21:31.654781Z"
"iopub.execute_input": "2022-02-04T09:11:50.200816Z",
"iopub.status.busy": "2022-02-04T09:11:50.200276Z",
"iopub.status.idle": "2022-02-04T09:11:50.463808Z",
"shell.execute_reply": "2022-02-04T09:11:50.464332Z"
}
},
"outputs": [
{
"name": "stderr",
"output_type": "stream",
"text": [
"/Users/itaygabbay/Deepchecks/deepchecks/deepchecks/base/display_pandas.py:54: FutureWarning:\n",
"\n",
"this method is deprecated in favour of `Styler.to_html()`\n",
"\n"
]
},
{
"data": {
"text/html": [
"<h4>Category Mismatch Train Test</h4><p>Find new categories in the test set. <a href=\"https://docs.deepchecks.com/en/0.4.0/examples/checks/integrity/new_category.html?utm_source=display_output&utm_medium=referral&utm_campaign=check_link\" target=\"_blank\">Read More...</a></p><h5>Additional Outputs</h5><style type=\"text/css\">\n",
"#T_8134a_ table {\n",
"<h4>Category Mismatch Train Test</h4><p>Find new categories in the test set. <a href=\"https://docs.deepchecks.com/en/0.4.2/examples/checks/integrity/new_category.html?utm_source=display_output&utm_medium=referral&utm_campaign=check_link\" target=\"_blank\">Read More...</a></p><h5>Additional Outputs</h5><style type=\"text/css\">\n",
"#T_0bee1 table {\n",
" text-align: left;\n",
" white-space: pre-wrap;\n",
"}\n",
"#T_8134a_ thead {\n",
"#T_0bee1 thead {\n",
" text-align: left;\n",
" white-space: pre-wrap;\n",
"}\n",
"#T_8134a_ tbody {\n",
"#T_0bee1 tbody {\n",
" text-align: left;\n",
" white-space: pre-wrap;\n",
"}\n",
"#T_8134a_ th {\n",
"#T_0bee1 th {\n",
" text-align: left;\n",
" white-space: pre-wrap;\n",
"}\n",
"#T_8134a_ td {\n",
"#T_0bee1 td {\n",
" text-align: left;\n",
" white-space: pre-wrap;\n",
"}\n",
"</style>\n",
"<table id=\"T_8134a_\">\n",
"<table id=\"T_0bee1\">\n",
" <thead>\n",
" <tr>\n",
" <th class=\"blank level0\" >&nbsp;</th>\n",
" <th class=\"col_heading level0 col0\" >Number of new categories</th>\n",
" <th class=\"col_heading level0 col1\" >Percent of new categories in sample</th>\n",
" <th class=\"col_heading level0 col2\" >New categories examples</th>\n",
" <th id=\"T_0bee1_level0_col0\" class=\"col_heading level0 col0\" >Number of new categories</th>\n",
" <th id=\"T_0bee1_level0_col1\" class=\"col_heading level0 col1\" >Percent of new categories in sample</th>\n",
" <th id=\"T_0bee1_level0_col2\" class=\"col_heading level0 col2\" >New categories examples</th>\n",
" </tr>\n",
" <tr>\n",
" <th class=\"index_name level0\" >Column</th>\n",
Expand All @@ -102,10 +123,10 @@
" </thead>\n",
" <tbody>\n",
" <tr>\n",
" <th id=\"T_8134a_level0_row0\" class=\"row_heading level0 row0\" >col1</th>\n",
" <td id=\"T_8134a_row0_col0\" class=\"data row0 col0\" >6</td>\n",
" <td id=\"T_8134a_row0_col1\" class=\"data row0 col1\" >87.5%</td>\n",
" <td id=\"T_8134a_row0_col2\" class=\"data row0 col2\" >['I', 'gonna', 'is', 'role', 'the']</td>\n",
" <th id=\"T_0bee1_level0_row0\" class=\"row_heading level0 row0\" >col1</th>\n",
" <td id=\"T_0bee1_row0_col0\" class=\"data row0 col0\" >6</td>\n",
" <td id=\"T_0bee1_row0_col1\" class=\"data row0 col1\" >87.5%</td>\n",
" <td id=\"T_0bee1_row0_col2\" class=\"data row0 col2\" >['I', 'gonna', 'is', 'role', 'the']</td>\n",
" </tr>\n",
" </tbody>\n",
"</table>\n"
Expand All @@ -125,10 +146,10 @@
"id": "7536f60c",
"metadata": {
"execution": {
"iopub.execute_input": "2022-01-26T16:21:31.664832Z",
"iopub.status.busy": "2022-01-26T16:21:31.663714Z",
"iopub.status.idle": "2022-01-26T16:21:31.666954Z",
"shell.execute_reply": "2022-01-26T16:21:31.667777Z"
"iopub.execute_input": "2022-02-04T09:11:50.470290Z",
"iopub.status.busy": "2022-02-04T09:11:50.469635Z",
"iopub.status.idle": "2022-02-04T09:11:50.471083Z",
"shell.execute_reply": "2022-02-04T09:11:50.471706Z"
}
},
"outputs": [],
Expand All @@ -145,45 +166,55 @@
"id": "b81bc4a1",
"metadata": {
"execution": {
"iopub.execute_input": "2022-01-26T16:21:31.680027Z",
"iopub.status.busy": "2022-01-26T16:21:31.679216Z",
"iopub.status.idle": "2022-01-26T16:21:31.682332Z",
"shell.execute_reply": "2022-01-26T16:21:31.682809Z"
"iopub.execute_input": "2022-02-04T09:11:50.478597Z",
"iopub.status.busy": "2022-02-04T09:11:50.478043Z",
"iopub.status.idle": "2022-02-04T09:11:50.496878Z",
"shell.execute_reply": "2022-02-04T09:11:50.497394Z"
}
},
"outputs": [
{
"name": "stderr",
"output_type": "stream",
"text": [
"/Users/itaygabbay/Deepchecks/deepchecks/deepchecks/base/display_pandas.py:54: FutureWarning:\n",
"\n",
"this method is deprecated in favour of `Styler.to_html()`\n",
"\n"
]
},
{
"data": {
"text/html": [
"<h4>Category Mismatch Train Test</h4><p>Find new categories in the test set. <a href=\"https://docs.deepchecks.com/en/0.4.0/examples/checks/integrity/new_category.html?utm_source=display_output&utm_medium=referral&utm_campaign=check_link\" target=\"_blank\">Read More...</a></p><h5>Additional Outputs</h5><style type=\"text/css\">\n",
"#T_3a60f_ table {\n",
"<h4>Category Mismatch Train Test</h4><p>Find new categories in the test set. <a href=\"https://docs.deepchecks.com/en/0.4.2/examples/checks/integrity/new_category.html?utm_source=display_output&utm_medium=referral&utm_campaign=check_link\" target=\"_blank\">Read More...</a></p><h5>Additional Outputs</h5><style type=\"text/css\">\n",
"#T_420bb table {\n",
" text-align: left;\n",
" white-space: pre-wrap;\n",
"}\n",
"#T_3a60f_ thead {\n",
"#T_420bb thead {\n",
" text-align: left;\n",
" white-space: pre-wrap;\n",
"}\n",
"#T_3a60f_ tbody {\n",
"#T_420bb tbody {\n",
" text-align: left;\n",
" white-space: pre-wrap;\n",
"}\n",
"#T_3a60f_ th {\n",
"#T_420bb th {\n",
" text-align: left;\n",
" white-space: pre-wrap;\n",
"}\n",
"#T_3a60f_ td {\n",
"#T_420bb td {\n",
" text-align: left;\n",
" white-space: pre-wrap;\n",
"}\n",
"</style>\n",
"<table id=\"T_3a60f_\">\n",
"<table id=\"T_420bb\">\n",
" <thead>\n",
" <tr>\n",
" <th class=\"blank level0\" >&nbsp;</th>\n",
" <th class=\"col_heading level0 col0\" >Number of new categories</th>\n",
" <th class=\"col_heading level0 col1\" >Percent of new categories in sample</th>\n",
" <th class=\"col_heading level0 col2\" >New categories examples</th>\n",
" <th id=\"T_420bb_level0_col0\" class=\"col_heading level0 col0\" >Number of new categories</th>\n",
" <th id=\"T_420bb_level0_col1\" class=\"col_heading level0 col1\" >Percent of new categories in sample</th>\n",
" <th id=\"T_420bb_level0_col2\" class=\"col_heading level0 col2\" >New categories examples</th>\n",
" </tr>\n",
" <tr>\n",
" <th class=\"index_name level0\" >Column</th>\n",
Expand All @@ -194,16 +225,16 @@
" </thead>\n",
" <tbody>\n",
" <tr>\n",
" <th id=\"T_3a60f_level0_row0\" class=\"row_heading level0 row0\" >col1</th>\n",
" <td id=\"T_3a60f_row0_col0\" class=\"data row0 col0\" >1</td>\n",
" <td id=\"T_3a60f_row0_col1\" class=\"data row0 col1\" >33.33%</td>\n",
" <td id=\"T_3a60f_row0_col2\" class=\"data row0 col2\" >['d']</td>\n",
" <th id=\"T_420bb_level0_row0\" class=\"row_heading level0 row0\" >col1</th>\n",
" <td id=\"T_420bb_row0_col0\" class=\"data row0 col0\" >1</td>\n",
" <td id=\"T_420bb_row0_col1\" class=\"data row0 col1\" >33.33%</td>\n",
" <td id=\"T_420bb_row0_col2\" class=\"data row0 col2\" >['d']</td>\n",
" </tr>\n",
" <tr>\n",
" <th id=\"T_3a60f_level0_row1\" class=\"row_heading level0 row1\" >col2</th>\n",
" <td id=\"T_3a60f_row1_col0\" class=\"data row1 col0\" >2</td>\n",
" <td id=\"T_3a60f_row1_col1\" class=\"data row1 col1\" >66.67%</td>\n",
" <td id=\"T_3a60f_row1_col2\" class=\"data row1 col2\" >['1', '2']</td>\n",
" <th id=\"T_420bb_level0_row1\" class=\"row_heading level0 row1\" >col2</th>\n",
" <td id=\"T_420bb_row1_col0\" class=\"data row1 col0\" >2</td>\n",
" <td id=\"T_420bb_row1_col1\" class=\"data row1 col1\" >66.67%</td>\n",
" <td id=\"T_420bb_row1_col2\" class=\"data row1 col2\" >['1', '2']</td>\n",
" </tr>\n",
" </tbody>\n",
"</table>\n"
Expand Down

0 comments on commit c36e7b4

Please sign in to comment.