Skip to content

Commit

Permalink
Merge pull request #395 from NannyML/car_loan_fix1
Browse files Browse the repository at this point in the history
Fix categorical salary range value for car loan datasets
  • Loading branch information
nnansters authored Jun 6, 2024
2 parents c8fde0e + 6854cd4 commit f06a576
Show file tree
Hide file tree
Showing 17 changed files with 57,633 additions and 57,633 deletions.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion docs/datasets/binary_car_loan.rst
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ same. You can access this dataset with:
+=======+=============+================+========================+===============+===========================+=======================+=================+=========================+================+==========+==========+
| 41515 | 58071 | 40K - 60K € | 0.694352 | 20 | True | 30% | 0.44644 | 2019-07-09 02:57:35.280 | 0.9 | analysis | 1 |
+-------+-------------+----------------+------------------------+---------------+---------------------------+-----------------------+-----------------+-------------------------+----------------+----------+----------+
| 41516 | 40317 | 20K - 20K| 0.581372 | 8 | True | 50% | nan | 2019-07-09 03:06:18.432 | 0.16 | analysis | 0 |
| 41516 | 40317 | 20K - 40K| 0.581372 | 8 | True | 50% | nan | 2019-07-09 03:06:18.432 | 0.16 | analysis | 0 |
+-------+-------------+----------------+------------------------+---------------+---------------------------+-----------------------+-----------------+-------------------------+----------------+----------+----------+
| 41517 | 57487 | 40K - 60K € | 0.703041 | 7 | True | 30% | 5.2826 | 2019-07-09 03:15:01.584 | 0.07 | analysis | 0 |
+-------+-------------+----------------+------------------------+---------------+---------------------------+-----------------------+-----------------+-------------------------+----------------+----------+----------+
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@
" <th>1</th>\n",
" <td>50001</td>\n",
" <td>52425.0</td>\n",
" <td>20K - 20K €</td>\n",
" <td>20K - 40K €</td>\n",
" <td>0.672183</td>\n",
" <td>20.0</td>\n",
" <td>False</td>\n",
Expand Down Expand Up @@ -193,7 +193,7 @@
"text/plain": [
" id_x car_value salary_range debt_to_income_ratio loan_length \\\n",
"0 50000 12638.0 0 - 20K € 0.487926 21.0 \n",
"1 50001 52425.0 20K - 20K € 0.672183 20.0 \n",
"1 50001 52425.0 20K - 40K € 0.672183 20.0 \n",
"2 50002 20369.0 40K - 60K € 0.703090 19.0 \n",
"\n",
" repaid_loan_on_prev_car size_of_downpayment driver_tenure \\\n",
Expand Down Expand Up @@ -231,7 +231,7 @@
"+====+========+=============+================+========================+===============+===========================+=======================+=================+=========================+================+==========+========+==========+\n",
"| 0 | 50000 | 12638 | 0 - 20K € | 0.487926 | 21 | False | 10% | 4.22463 | 2018-10-30 18:00:00.000 | 0.99 | 1 | 50000 | 1 |\n",
"+----+--------+-------------+----------------+------------------------+---------------+---------------------------+-----------------------+-----------------+-------------------------+----------------+----------+--------+----------+\n",
"| 1 | 50001 | 52425 | 20K - 20K € | 0.672183 | 20 | False | 40% | 4.9631 | 2018-10-30 18:08:43.152 | 0.98 | 1 | 50001 | 1 |\n",
"| 1 | 50001 | 52425 | 20K - 40K € | 0.672183 | 20 | False | 40% | 4.9631 | 2018-10-30 18:08:43.152 | 0.98 | 1 | 50001 | 1 |\n",
"+----+--------+-------------+----------------+------------------------+---------------+---------------------------+-----------------------+-----------------+-------------------------+----------------+----------+--------+----------+\n",
"| 2 | 50002 | 20369 | 40K - 60K € | 0.70309 | 19 | True | 40% | 4.58895 | 2018-10-30 18:17:26.304 | 0.98 | 1 | 50002 | 1 |\n",
"+----+--------+-------------+----------------+------------------------+---------------+---------------------------+-----------------------+-----------------+-------------------------+----------------+----------+--------+----------+\n"
Expand Down
6 changes: 3 additions & 3 deletions docs/example_notebooks/Tutorial - Data Requirements.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@
" <tr>\n",
" <th>3</th>\n",
" <td>22652.0</td>\n",
" <td>20K - 20K €</td>\n",
" <td>20K - 40K €</td>\n",
" <td>0.705992</td>\n",
" <td>16.0</td>\n",
" <td>False</td>\n",
Expand All @@ -216,7 +216,7 @@
"0 39811.0 40K - 60K € 0.632950 19.0 \n",
"1 12679.0 40K - 60K € 0.718627 7.0 \n",
"2 19847.0 40K - 60K € 0.721724 17.0 \n",
"3 22652.0 20K - 20K € 0.705992 16.0 \n",
"3 22652.0 20K - 40K € 0.705992 16.0 \n",
"4 21268.0 60K+ € 0.671888 21.0 \n",
"\n",
" repaid_loan_on_prev_car size_of_downpayment driver_tenure \n",
Expand Down Expand Up @@ -256,7 +256,7 @@
"+----+-------------+----------------+------------------------+---------------+---------------------------+-----------------------+-----------------+\n",
"| 2 | 19847 | 40K - 60K € | 0.721724 | 17 | False | 0% | 0.520817 |\n",
"+----+-------------+----------------+------------------------+---------------+---------------------------+-----------------------+-----------------+\n",
"| 3 | 22652 | 20K - 20K € | 0.705992 | 16 | False | 10% | 0.453649 |\n",
"| 3 | 22652 | 20K - 40K € | 0.705992 | 16 | False | 10% | 0.453649 |\n",
"+----+-------------+----------------+------------------------+---------------+---------------------------+-----------------------+-----------------+\n",
"| 4 | 21268 | 60K+ € | 0.671888 | 21 | True | 30% | 5.69526 |\n",
"+----+-------------+----------------+------------------------+---------------+---------------------------+-----------------------+-----------------+\n"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@
" <th>3</th>\n",
" <td>3</td>\n",
" <td>22652.0</td>\n",
" <td>20K - 20K €</td>\n",
" <td>20K - 40K €</td>\n",
" <td>0.705992</td>\n",
" <td>16.0</td>\n",
" <td>False</td>\n",
Expand Down Expand Up @@ -128,7 +128,7 @@
"0 0 39811.0 40K - 60K € 0.632950 19.0 \n",
"1 1 12679.0 40K - 60K € 0.718627 7.0 \n",
"2 2 19847.0 40K - 60K € 0.721724 17.0 \n",
"3 3 22652.0 20K - 20K € 0.705992 16.0 \n",
"3 3 22652.0 20K - 40K € 0.705992 16.0 \n",
"4 4 21268.0 60K+ € 0.671888 21.0 \n",
"\n",
" repaid_loan_on_prev_car size_of_downpayment driver_tenure repaid \\\n",
Expand Down Expand Up @@ -183,7 +183,7 @@
"+----+------+-------------+----------------+------------------------+---------------+---------------------------+-----------------------+-----------------+----------+-------------------------+----------------+----------+\n",
"| 2 | 2 | 19847 | 40K - 60K € | 0.721724 | 17 | False | 0% | 0.520817 | 1 | 2018-01-01 00:17:26.304 | 1 | 1 |\n",
"+----+------+-------------+----------------+------------------------+---------------+---------------------------+-----------------------+-----------------+----------+-------------------------+----------------+----------+\n",
"| 3 | 3 | 22652 | 20K - 20K € | 0.705992 | 16 | False | 10% | 0.453649 | 1 | 2018-01-01 00:26:09.456 | 0.98 | 1 |\n",
"| 3 | 3 | 22652 | 20K - 40K € | 0.705992 | 16 | False | 10% | 0.453649 | 1 | 2018-01-01 00:26:09.456 | 0.98 | 1 |\n",
"+----+------+-------------+----------------+------------------------+---------------+---------------------------+-----------------------+-----------------+----------+-------------------------+----------------+----------+\n",
"| 4 | 4 | 21268 | 60K+ € | 0.671888 | 21 | True | 30% | 5.69526 | 1 | 2018-01-01 00:34:52.608 | 0.99 | 1 |\n",
"+----+------+-------------+----------------+------------------------+---------------+---------------------------+-----------------------+-----------------+----------+-------------------------+----------------+----------+\n"
Expand Down
6 changes: 3 additions & 3 deletions docs/example_notebooks/Tutorial - Drift - Multivariate.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@
" <th>3</th>\n",
" <td>3</td>\n",
" <td>22652.0</td>\n",
" <td>20K - 20K €</td>\n",
" <td>20K - 40K €</td>\n",
" <td>0.705992</td>\n",
" <td>16.0</td>\n",
" <td>False</td>\n",
Expand Down Expand Up @@ -126,7 +126,7 @@
"0 0 39811.0 40K - 60K € 0.632950 19.0 \n",
"1 1 12679.0 40K - 60K € 0.718627 7.0 \n",
"2 2 19847.0 40K - 60K € 0.721724 17.0 \n",
"3 3 22652.0 20K - 20K € 0.705992 16.0 \n",
"3 3 22652.0 20K - 40K € 0.705992 16.0 \n",
"4 4 21268.0 60K+ € 0.671888 21.0 \n",
"\n",
" repaid_loan_on_prev_car size_of_downpayment driver_tenure repaid \\\n",
Expand Down Expand Up @@ -176,7 +176,7 @@
"+----+------+-------------+----------------+------------------------+---------------+---------------------------+-----------------------+-----------------+----------+-------------------------+----------------+----------+\n",
"| 2 | 2 | 19847 | 40K - 60K € | 0.721724 | 17 | False | 0% | 0.520817 | 1 | 2018-01-01 00:17:26.304 | 1 | 1 |\n",
"+----+------+-------------+----------------+------------------------+---------------+---------------------------+-----------------------+-----------------+----------+-------------------------+----------------+----------+\n",
"| 3 | 3 | 22652 | 20K - 20K € | 0.705992 | 16 | False | 10% | 0.453649 | 1 | 2018-01-01 00:26:09.456 | 0.98 | 1 |\n",
"| 3 | 3 | 22652 | 20K - 40K € | 0.705992 | 16 | False | 10% | 0.453649 | 1 | 2018-01-01 00:26:09.456 | 0.98 | 1 |\n",
"+----+------+-------------+----------------+------------------------+---------------+---------------------------+-----------------------+-----------------+----------+-------------------------+----------------+----------+\n",
"| 4 | 4 | 21268 | 60K+ € | 0.671888 | 21 | True | 30% | 5.69526 | 1 | 2018-01-01 00:34:52.608 | 0.99 | 1 |\n",
"+----+------+-------------+----------------+------------------------+---------------+---------------------------+-----------------------+-----------------+----------+-------------------------+----------------+----------+\n"
Expand Down
6 changes: 3 additions & 3 deletions docs/example_notebooks/Tutorial - Drift - Univariate.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@
" <th>3</th>\n",
" <td>3</td>\n",
" <td>22652.0</td>\n",
" <td>20K - 20K €</td>\n",
" <td>20K - 40K €</td>\n",
" <td>0.705992</td>\n",
" <td>16.0</td>\n",
" <td>False</td>\n",
Expand Down Expand Up @@ -126,7 +126,7 @@
"0 0 39811.0 40K - 60K € 0.632950 19.0 \n",
"1 1 12679.0 40K - 60K € 0.718627 7.0 \n",
"2 2 19847.0 40K - 60K € 0.721724 17.0 \n",
"3 3 22652.0 20K - 20K € 0.705992 16.0 \n",
"3 3 22652.0 20K - 40K € 0.705992 16.0 \n",
"4 4 21268.0 60K+ € 0.671888 21.0 \n",
"\n",
" repaid_loan_on_prev_car size_of_downpayment driver_tenure repaid \\\n",
Expand Down Expand Up @@ -177,7 +177,7 @@
"+----+------+-------------+----------------+------------------------+---------------+---------------------------+-----------------------+-----------------+----------+-------------------------+----------------+----------+\n",
"| 2 | 2 | 19847 | 40K - 60K € | 0.721724 | 17 | False | 0% | 0.520817 | 1 | 2018-01-01 00:17:26.304 | 1 | 1 |\n",
"+----+------+-------------+----------------+------------------------+---------------+---------------------------+-----------------------+-----------------+----------+-------------------------+----------------+----------+\n",
"| 3 | 3 | 22652 | 20K - 20K € | 0.705992 | 16 | False | 10% | 0.453649 | 1 | 2018-01-01 00:26:09.456 | 0.98 | 1 |\n",
"| 3 | 3 | 22652 | 20K - 40K € | 0.705992 | 16 | False | 10% | 0.453649 | 1 | 2018-01-01 00:26:09.456 | 0.98 | 1 |\n",
"+----+------+-------------+----------------+------------------------+---------------+---------------------------+-----------------------+-----------------+----------+-------------------------+----------------+----------+\n",
"| 4 | 4 | 21268 | 60K+ € | 0.671888 | 21 | True | 30% | 5.69526 | 1 | 2018-01-01 00:34:52.608 | 0.99 | 1 |\n",
"+----+------+-------------+----------------+------------------------+---------------+---------------------------+-----------------------+-----------------+----------+-------------------------+----------------+----------+\n"
Expand Down
6 changes: 3 additions & 3 deletions docs/example_notebooks/Tutorial - Stats - Avg.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@
" <th>3</th>\n",
" <td>3</td>\n",
" <td>22652.0</td>\n",
" <td>20K - 20K €</td>\n",
" <td>20K - 40K €</td>\n",
" <td>0.705992</td>\n",
" <td>16.0</td>\n",
" <td>False</td>\n",
Expand Down Expand Up @@ -128,7 +128,7 @@
"0 0 39811.0 40K - 60K € 0.632950 19.0 \n",
"1 1 12679.0 40K - 60K € 0.718627 7.0 \n",
"2 2 19847.0 40K - 60K € 0.721724 17.0 \n",
"3 3 22652.0 20K - 20K € 0.705992 16.0 \n",
"3 3 22652.0 20K - 40K € 0.705992 16.0 \n",
"4 4 21268.0 60K+ € 0.671888 21.0 \n",
"\n",
" repaid_loan_on_prev_car size_of_downpayment driver_tenure repaid \\\n",
Expand Down Expand Up @@ -177,7 +177,7 @@
"+----+------+-------------+----------------+------------------------+---------------+---------------------------+-----------------------+-----------------+----------+-------------------------+----------------+----------+\n",
"| 2 | 2 | 19847 | 40K - 60K € | 0.721724 | 17 | False | 0% | 0.520817 | 1 | 2018-01-01 00:17:26.304 | 1 | 1 |\n",
"+----+------+-------------+----------------+------------------------+---------------+---------------------------+-----------------------+-----------------+----------+-------------------------+----------------+----------+\n",
"| 3 | 3 | 22652 | 20K - 20K € | 0.705992 | 16 | False | 10% | 0.453649 | 1 | 2018-01-01 00:26:09.456 | 0.98 | 1 |\n",
"| 3 | 3 | 22652 | 20K - 40K € | 0.705992 | 16 | False | 10% | 0.453649 | 1 | 2018-01-01 00:26:09.456 | 0.98 | 1 |\n",
"+----+------+-------------+----------------+------------------------+---------------+---------------------------+-----------------------+-----------------+----------+-------------------------+----------------+----------+\n",
"| 4 | 4 | 21268 | 60K+ € | 0.671888 | 21 | True | 30% | 5.69526 | 1 | 2018-01-01 00:34:52.608 | 0.99 | 1 |\n",
"+----+------+-------------+----------------+------------------------+---------------+---------------------------+-----------------------+-----------------+----------+-------------------------+----------------+----------+\n"
Expand Down
Loading

0 comments on commit f06a576

Please sign in to comment.