From 2d80b1a2accef9a6d76dc89482fd94ec748e486d Mon Sep 17 00:00:00 2001 From: Sourav Bhattacharyya <121745336+Sourav-Bhattacharyya@users.noreply.github.com> Date: Thu, 20 Jun 2024 20:21:49 +0000 Subject: [PATCH] Completed the playbook --- src/03b.ipynb | 523 +++++++++++++++++++++++++++++++++++++++++++++----- src/03e.ipynb | 2 +- 2 files changed, 473 insertions(+), 52 deletions(-) diff --git a/src/03b.ipynb b/src/03b.ipynb index c6a6176..3e21b76 100644 --- a/src/03b.ipynb +++ b/src/03b.ipynb @@ -34,7 +34,7 @@ }, { "cell_type": "code", - "execution_count": null, + "execution_count": 54, "id": "de4b4a56", "metadata": {}, "outputs": [], @@ -52,7 +52,7 @@ }, { "cell_type": "code", - "execution_count": null, + "execution_count": 55, "id": "b53e3b3f", "metadata": {}, "outputs": [], @@ -70,10 +70,85 @@ }, { "cell_type": "code", - "execution_count": null, + "execution_count": 56, "id": "046f5901", "metadata": {}, - "outputs": [], + "outputs": [ + { + "data": { + "text/html": [ + "
\n", + "\n", + "\n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + "
IncomeLoan AmountDefault
0308No
12210No
23312No
32820No
42332No
\n", + "
" + ], + "text/plain": [ + " Income Loan Amount Default\n", + "0 30 8 No\n", + "1 22 10 No\n", + "2 33 12 No\n", + "3 28 20 No\n", + "4 23 32 No" + ] + }, + "execution_count": 56, + "metadata": {}, + "output_type": "execute_result" + } + ], "source": [ "loan.head()" ] @@ -108,10 +183,27 @@ }, { "cell_type": "code", - "execution_count": null, + "execution_count": 57, "id": "67de73e2", "metadata": {}, - "outputs": [], + "outputs": [ + { + "name": "stdout", + "output_type": "stream", + "text": [ + "\n", + "RangeIndex: 30 entries, 0 to 29\n", + "Data columns (total 3 columns):\n", + " # Column Non-Null Count Dtype \n", + "--- ------ -------------- ----- \n", + " 0 Income 30 non-null int64 \n", + " 1 Loan Amount 30 non-null int64 \n", + " 2 Default 30 non-null object\n", + "dtypes: int64(2), object(1)\n", + "memory usage: 848.0+ bytes\n" + ] + } + ], "source": [ "loan.info()" ] @@ -136,10 +228,97 @@ }, { "cell_type": "code", - "execution_count": null, + "execution_count": 58, "id": "acdf6ca5", "metadata": {}, - "outputs": [], + "outputs": [ + { + "data": { + "text/html": [ + "
\n", + "\n", + "\n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + "
IncomeLoan Amount
count30.00000030.000000
mean20.96666754.233333
std6.19501128.231412
min12.0000008.000000
25%16.25000032.000000
50%20.50000054.500000
75%24.75000071.750000
max34.000000110.000000
\n", + "
" + ], + "text/plain": [ + " Income Loan Amount\n", + "count 30.000000 30.000000\n", + "mean 20.966667 54.233333\n", + "std 6.195011 28.231412\n", + "min 12.000000 8.000000\n", + "25% 16.250000 32.000000\n", + "50% 20.500000 54.500000\n", + "75% 24.750000 71.750000\n", + "max 34.000000 110.000000" + ] + }, + "execution_count": 58, + "metadata": {}, + "output_type": "execute_result" + } + ], "source": [ "loan.describe()" ] @@ -167,7 +346,7 @@ }, { "cell_type": "code", - "execution_count": null, + "execution_count": 59, "id": "7239372b", "metadata": {}, "outputs": [], @@ -186,10 +365,21 @@ }, { "cell_type": "code", - "execution_count": null, + "execution_count": 60, "id": "9308d55a", "metadata": {}, - "outputs": [], + "outputs": [ + { + "data": { + "image/png": "iVBORw0KGgoAAAANSUhEUgAAAjIAAAG0CAYAAAAozc0BAAAAOXRFWHRTb2Z0d2FyZQBNYXRwbG90bGliIHZlcnNpb24zLjkuMCwgaHR0cHM6Ly9tYXRwbG90bGliLm9yZy80BEi2AAAACXBIWXMAAA9hAAAPYQGoP6dpAAAi60lEQVR4nO3de1TUdf7H8degCBgypMbFHNBUvIKldjZ0l5+pqbhRKtt9U8rW7KC7am7GWm3aMeyembFRprbFVqbiliEpCa6mlpy8lYeUVGxF7LIOSoIK8/uj05xQURwHvvPB5+OcOTrf+c6X93gO8uQ7n5mxuVwulwAAAAzkZ/UAAAAAniJkAACAsQgZAABgLEIGAAAYi5ABAADGImQAAICxCBkAAGAsQgYAABiLkAEAAMYiZAAAgLEsDZmMjAzFxcUpJCREISEhio+PV05Ojvv2gQMHymaz1bpMmDDBwokBAIAvsVn5WUsffPCBmjVrpi5dusjlcmnx4sV65pln9MUXX6hnz54aOHCgYmJiNGvWLPd9WrZsqZCQkHp/jZqaGh08eFCtWrWSzWZriIcBAAC8zOVy6ejRo2rXrp38/Oo+79K8EWc6Q1JSUq3rs2fPVkZGhjZt2qSePXtK+jlcIiIiPP4aBw8elMPhuKg5AQCANQ4cOKD27dvXebulIfNr1dXVWrJkiSoqKhQfH+/e/vbbb+utt95SRESEkpKS9Oijj6ply5Z1HqeqqkpVVVXu67+ccDpw4MAFnckBAADWKS8vl8PhUKtWrc65n+Uhs2PHDsXHx6uyslLBwcFavny5evToIUm68847FR0drXbt2mn79u2aPn26ioqKtGzZsjqPl56erpkzZ56x/Zd1OAAAwBznWxZi6RoZSTpx4oRKSkrkdDr1/vvv6/XXX1dBQYE7Zn7tk08+0eDBg7Vnzx516tTprMc7/YzML0XndDoJGQAADFFeXi673X7en9+Wh8zphgwZok6dOunVV18947aKigoFBwdr1apVGjZsWL2OV99/CAAA4Dvq+/Pb595HpqamptYZlV/bunWrJCkyMrIRJwIAAL7K0jUya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vu+AICPqaysdL8oA74jKiqq1jpTeMajkPntb3+rrVu3as6cOYqNjdXHH3+sPn36aOPGjYqNjfX2jACAi1BSUqLx48dbPQZOk5mZqZiYGKvHMJ7H7+zbqVMnvfbaa96cBQDQAKKiopSZmWn1GBdt//79mj17tmbMmKHo6Girx7loUVFRVo/QJFzURxQcPnxYhw8fVk1NTa3tfKAjAPiOwMDAJvWbf3R0dJN6PLg4HoVMYWGhxo4dq127dp3xeUk2m03V1dVeGQ4AAOBcPAqZe++9VzExMVqwYIHCw8N5yTUAALCERyHzzTffaOnSpercubO35wEAAKg3j95HZvDgwdq2bZu3ZwEAALggHp2Ref311zV27Fjt3LlTvXr1kr+/f63bb7rpJq8MBwAAcC4ehczGjRu1YcMG5eTknHEbi30BAEBj8eippUmTJumPf/yjSktLVVNTU+tCxAAAgMbiUcj88MMPmjJlisLDw709DwAAQL15FDKjR4/W2rVrvT0LAADABfFojUxMTIzS0tK0fv16xcbGnrHY989//rNXhgMAADgXj1+1FBwcrIKCgjM+7dpmsxEyAACgUXgUMnv37vX2HE2CX6XT6hEAn8H3A4DGcFEfGinJ/VlLl/LHFNjtdvm3CJC+KTj/zsAlxL9FgOx2u9VjAGjCPA6ZN998U88884x2794t6ed1M3/961919913e204U4SHh+utf74pp5PfQK22f/9+zZ49WzNmzFB0dLTV41zy7HY7r24E0KA8Cpnnn39ejz76qCZOnKgBAwZIktavX68JEybo+++/15QpU7w6pAnCw8P5D9uHREdHKyYmxuoxAAANzKOQmTdvnjIyMjRmzBj3tptuukk9e/bU448/fkmGDAAAaHwevY9MaWmp+vfvf8b2/v37q7S09KKHAgAAqA+PQqZz58567733ztj+7rvvqkuXLhc9FAAAQH149NTSzJkzddttt2ndunXuNTIbNmxQXl7eWQMHAACgIXh0RiY5OVmbN29W27ZtlZ2drezsbLVt21afffaZRo0a5e0ZAQAAzsrjl1/37dtXb731ljdnAQAAuCAenZH56KOPlJube8b23Nxc5eTkXPRQAAAA9eFRyDz88MOqrq4+Y7vL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k5OjgoLC9WnTx8NHjxYP/74o2677TZ3oHz22WcqLS2Vw+HQsWPHNGLECOXl5emLL77Q8OHDlZSUpJKSEo9mcjgcWrp0qSSpqKhIpaWlmjt3rnceMIAGQcgAsEy3bt20b98+rV+/Xp999pmWLFmifv36qUuXLnr22WcVGhqq999/X0FBQWrTpo0k6YorrlBERISaNWum3r176/7771evXr3UpUsXPfHEE+rUqZP+/e9/ezRPs2bN1Lp1a0lSWFiYIiIiZLfbvfZ4AXhfc6sHAHDpcrlcstls2rZtm44dO+aOlV8cP35cxcXFdd7/2LFjevzxx7Vy5UqVlpbq1KlTOn78uMdnZACYh5ABYJldu3apY8eOOnbsmCIjI5Wfn3/GPqGhoXXef9q0aVq9erWeffZZde7cWUFBQfrDH/6gEydOuPex2WxyuVy17nfy5ElvPQQAFiNkAFjik08+0Y4dOzRlyhS1b99ehw4dUvPmzdWhQ4d6H2PDhg1KSUnRqFGjJP18hmbfvn219rniiitUWlrqvr5792799NNPdR6zRYsWkqTq6ur6PxgAliFkADS4qqoqHTp0SNXV1SorK9OqVauUnp6uG2+8UWPGjJGfn5/i4+M1cuRIPf3004qJidHBgwe1cuVKjRo1Sv369Tvrcbt06aJly5YpKSlJNptNjz766BnvTTNo0CC9/PLLio+PV3V1taZPny5/f/86Z42OjpbNZtOHH36oESNGKCgoSMHBwV799wDgPSz2BdDgVq1apcjISHXo0EHDhw/X2rVr9dJLL2nFihVq1qyZbDabPvroIyUkJOiee+5RTEyMbr/9du3fv1/h4eF1Hvf555/X5Zdfrv79+yspKUnDhg1Tnz59au3z3HPPyeFw6He/+53uvPNOTZs27ZzvQXPllVdq5syZevjhhxUeHq6JEyd67d8BgPfZXKc/eQwAAGAIzsgAAABjETIAAMBYhAwAADAWIQMAAIxFyAAAAGMRMgAAwFiEDAAAMBYhAwAAjEXIAAAAYxEyAADAWIQMAAAw1v8DM1m0YzeFG3QAAAAASUVORK5CYII=", + "text/plain": [ + "
" + ] + }, + "metadata": {}, + "output_type": "display_data" + } + ], "source": [ "ax = sns.boxplot(data = loan, x = 'Default', y = 'Income')" ] @@ -212,10 +402,21 @@ }, { "cell_type": "code", - "execution_count": null, + "execution_count": 61, "id": "bcb7b490", "metadata": {}, - "outputs": [], + "outputs": [ + { + "data": { + "image/png": "iVBORw0KGgoAAAANSUhEUgAAAjsAAAGwCAYAAABPSaTdAAAAOXRFWHRTb2Z0d2FyZQBNYXRwbG90bGliIHZlcnNpb24zLjkuMCwgaHR0cHM6Ly9tYXRwbG90bGliLm9yZy80BEi2AAAACXBIWXMAAA9hAAAPYQGoP6dpAAAo40lEQVR4nO3dfViUdaL/8c8MIrAqg5oOkIBo4rOm2XGRsqNSaubxadvjLlta7aGTWql5NNfnR9QrzXzKaE1tj552S7NOrnoSdT25aGZlWqZmCJYCu0swooHGzPmjn/OLVVpGZ7iHr+/Xdc0l873vufmM1wXz4TvfuW+bx+PxCAAAwFB2qwMAAAAEEmUHAAAYjbIDAACMRtkBAABGo+wAAACjUXYAAIDRKDsAAMBodawOEAzcbrfOnj2rBg0ayGazWR0HAABUg8fj0fnz5xUbGyu7ver5G8qOpLNnzyouLs7qGAAA4DqcOXNGzZo1q3I7ZUdSgwYNJH3/nxUZGWlxGgAAUB0ul0txcXHe1/GqUHYk71tXkZGRlB0AAGqZf7QEhQXKAADAaJQdAABgNMoOAAAwGmUHAAAYjbIDAACMRtkBAABGo+wAAACjUXYAAIDRKDsAAMBolB0AAGA0yg4AADAaZQcAABiNsgMAAIzGVc8BACorK1NeXp7VMfAD8fHxCg8PtzqGESg7AADl5eUpPT3d6hj4gczMTCUlJVkdwwiUHQCA4uPjlZmZaXWMG5abm6t58+ZpypQpSkhIsDrODYmPj7c6gjEoOwAAhYeHGzWLkJCQYNTzwY1hgTIAADAaZQcAABiNsgMAAIxG2QEAAEaj7AAAAKNRdgAAgNEoOwAAwGiUHQAAYDTKDgAAMBplBwAAGI2yAwAAjEbZAQAARqPsAAAAo1F2AACA0Sg7AADAaJQdAABgNMoOAAAwGmUH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u2bdOhQ4fUtWtX9enTR0VFRfrXf/1Xb4l5//33de7cOcXFxam0tFT333+/srKy9NFHH6lfv34aOHCg8vLyritTXFycNm3aJEk6fvy4zp07pxdeeME/TxhAQFB2AAS1Nm3a6PTp03rvvff0/vvv6/XXX1e3bt3UqlUrPffcc4qKitIbb7yhiIgINW7cWJLUpEkTRUdHKyQkRJ07d9bjjz+uDh06qFWrVpozZ45atmypt99++7ryhISEqFGjRpKkpk2bKjo6Wg6Hw2/PF4D/1bE6AAD8GI/HI5vNpsOHD6u0tNRbaK749ttvderUqSofX1paqpkzZ2rr1q06d+6cvvvuO3377bfXPbMDoPah7AAIaseOHVNiYqJKS0sVExOjPXv2XLVPVFRUlY+fMGGC3n33XT333HO67bbbFBERoZ/97Ge6dOmSdx+bzSaPx1PpcZcvX/bXUwBgMcoOgKC1a9cuHTlyROPGjVOzZs2Un5+vOnXqqHnz5tU+xr59+zRy5EgNGTJE0vczPadPn660T5MmTXTu3Dnv/ZMnT+rixYtVHrNu3bqSpIqKiuo/GQCWoewACArl5eXKz89XRUWFCgoKtH37dmVkZOiBBx7Qww8/LLvdruTkZA0ePFiLFi1SUlKSzp49q61bt2rIkCHq1q3bNY/bqlUrbd68WQMHDpTNZtO0adOuOndP7969tWLFCiUnJ6uiokKTJk1SaGholVkTEhJks9n0zjvv6P7771dERITq16/v1/8PAP7DAmUAQWH79u2KiYlR8+bN1a9fP+3evVvLli3TW2+9pZCQENlsNv3xj39Uz5499cgjjygpKUnDhw9Xbm6unE5nlcddsmSJGjZsqB49emjgwIHq27evunbtWmmfxYsXKy4uTnfffbd++ctfasKECT96jp5bb71Vs2bN0rPPPiun06kxY8b47f8BgP/ZPH//RjUAAIBBmNkBAABGo+wAAACjUXYAAIDRKDsAAMBolB0AAGA0yg4AADAaZQcAABiNsgMAAIxG2QEAAEaj7AAAAKNRdgAAgNH+D934uUygSDipAAAAAElFTkSuQmCC", + "text/plain": [ + "
" + ] + }, + "metadata": {}, + "output_type": "display_data" + } + ], "source": [ "ax = sns.boxplot(data = loan, x = 'Default', y = 'Loan Amount')" ] @@ -247,7 +448,7 @@ }, { "cell_type": "code", - "execution_count": null, + "execution_count": 62, "id": "04b9e4bd", "metadata": {}, "outputs": [], @@ -265,10 +466,21 @@ }, { "cell_type": "code", - "execution_count": null, + "execution_count": 63, "id": "f0e2438f", "metadata": {}, - "outputs": [], + "outputs": [ + { + "data": { + "image/png": "iVBORw0KGgoAAAANSUhEUgAAAioAAAGwCAYAAACHJU4LAAAAOXRFWHRTb2Z0d2FyZQBNYXRwbG90bGliIHZlcnNpb24zLjkuMCwgaHR0cHM6Ly9tYXRwbG90bGliLm9yZy80BEi2AAAACXBIWXMAAA9hAAAPYQGoP6dpAAAmSUlEQVR4nO3de3BU5f3H8c8m5GbJriCSEFiNFQUxJCBgGihetwbaQfEypbY1EC+tFhBJKxorwVsN1aI4Ay0tVXHaUvFe6wWFVLBglDEYReUmSoPABrDDboyQ4O75/cGPtQsJZDdn2Wez79fMmTEn53nO9zlPjvvh7NmzDsuyLAEAABgoJd4FAAAAtIegAgAAjEVQAQAAxiKoAAAAYxFUAACAsQgqAADAWAQVAABgrG7xLqAjgsGgduzYoezsbDkcjniXAwAAOsCyLDU1NSkvL08pKdFdG0mIoLJjxw653e54lwEAAKKwbds29evXL6q2CRFUsrOzJR0cqNPpjHM1AACgI/x+v9xud+h1PBoJEVQOvd3jdDoJKgAAJJjO3LbBzbQAAMBYBBUAAGAsggoAADAWQQUAABiLoAIAAIxFUAEAAMZKiI8n2ykYtCSHtK81oA93+OTf97WcWd1UkOdSVnqqJCklwo9RBYKWHP/f57rtPjXtP6DszDQN7nuwT8uSUlM63ic12lOj3f3FatymS4QxJ0KNAKKTVEHFsixtamzSY6u36p/v79C+A4HQ77LSUjWuKE/XjsrXgNyOP6r/UJ+PH6XP8lH5GtjBPqnR3hrt6i9W4zZdIow5EWoEED2HZVlWvIs4Fr/fL5fLJZ/P16kHvs1dvklzl28+5na3eM7QLZ4z49InNSZPjY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Uq1cvFRQUqLKyUl999VU8yktagUBATz75pJqbm1VSUsI5Y4jD5+UQO86XhPhSQsTGmDFjdMUVV+i0007Tli1bdMcdd2js2LGqra1VampqvMvr8oLBoG655RaNGjVKBQUFkiSv16v09HSdeOKJYdvm5OTI6/XGocrk1NbcSNKPf/xjnXrqqcrLy9MHH3yg2267TRs3btRzzz0Xx2qTw7p161RSUqL9+/ere/fuev755zVo0CDV19dzzsRRe/Mi2Xe+EFSS2I9+9KPQfw8ePFiFhYU6/fTTtWLFCl188cVxrCw5TJ48WR9++KFWrVoV71JwmPbm5mc/+1novwcPHqw+ffro4osv1pYtW3T66acf7zKTyoABA1RfXy+fz6dnnnlGEydO1MqVK+NdVtJrb14GDRpk2/nCWz8I+fa3v61evXrpk08+iXcpXd6UKVP00ksv6Y033lC/fv1C63Nzc9Xa2qq9e/eGbd/Y2Kjc3NzjXGVyam9u2lJcXCxJnDPHQXp6uvr3769hw4apurpaRUVFeuSRRzhn4qy9eWlLtOcLQQUhn3/+ub744gv16dMn3qV0WZZlacqUKXr++ef1r3/9S6eddlrY74cNG6a0tDTV1NSE1m3cuFENDQ1h7/vCfseam7bU19dLEudMHASDQbW0tHDOGObQvLQl2vOFt366sC+//DIsuX722Weqr69Xz5491bNnT91999268sorlZubqy1btmjGjBnq37+/SktL41h11zZ58mQtXrxY//jHP5SdnR16D93lcikrK0sul0vXXXedKioq1LNnTzmdTk2dOlUlJSX6zne+E+fqu7Zjzc2WLVu0ePFiff/739dJJ52kDz74QNOnT9d5552nwsLCOFfftVVWVmrs2LE65ZRT1NTUpMWLF2vFihV67bXXOGfi6GjzYuv50unPDcFYb7zxhiXpiGXixInWV199ZV1yySXWySefbKWlpVmnnnqqdcMNN1herzfeZXdpbc2HJOvxxx8PbbNv3z7rF7/4hdWjRw/rhBNOsC6//HJr586d8Ss6SRxrbhoaGqzzzjvP6tmzp5WRkWH179/fuvXWWy2fzxffwpPAtddea5166qlWenq6dfLJJ1sXX3yx9frrr4d+zzkTH0ebFzvPF4dlWZYt0QoAAMBm3KMCAACMRVABAADGIqgAAABjEVQAAICxCCoAAMBYBBUAAGAsggoAADAWQQUAABiLoAIAAIxFUAFwTJMmTdL48ePjXQaAJERQAQAAxiKoAIjIBRdcoJtvvlkzZsxQz549lZubq7vuuitsm7179+rnP/+5cnJylJmZqYKCAr300kuh3z/77LM6++yzlZGRofz8fM2ZMyesfX5+vu677z6VlZWpe/fuOvXUU/Xiiy9q9+7duuyyy9S9e3cVFhbq3XffDWu3atUqjR49WllZWXK73br55pvV3Nwcs2MBIPYIKgAi9sQTT+hb3/qW3nnnHT3wwAO65557tGzZMklSMBjU2LFjtXr1av31r3/Vxx9/rNmzZys1NVWSVFdXpx/+8If60Y9+pHXr1umuu+7SzJkztWjRorB9PPzwwxo1apTee+89/eAHP9A111yjsrIy/fSnP9XatWt1+umnq6ysTIe+V3XLli0aM2aMrrzySn3wwQdasmSJVq1apSlTphzXYwPAXnx7MoBjmjRpkvbu3asXXnhBF1xwgQKBgP7973+Hfn/uuefqoosu0uzZs/X6669r7NixWr9+vc4888wj+vrJT36i3bt36/XXXw+tmzFjhl5++WV99NFHkg5eURk9erT+8pe/SJK8Xq/69OmjmTNn6p577pEkvf322yopKdHOnTuVm5ur66+/XqmpqfrjH/8Y6nfVqlU6//zz1dzcrMzMzJgcGwCxxRUVABErLCwM+7lPnz7atWuXJKm+vl79+vVrM6RI0vr16zVq1KiwdaNGjdLmzZsVCATa3EdOTo4kafDgwUesO7Tf999/X4sWLVL37t1DS2lpqYLBoD777LNohwogzrrFuwAAiSctLS3sZ4fDoWAwKEnKysqyfR8Oh6PddYf2++WXX+rnP/+5br755iP6OuWUU2ypCcDxR1ABYKvCwkJ9/vnn2rRpU5tXVc466yytXr06bN3q1at15plnhu5jicY555yjjz/+WP3794+6DwDm4a0fALY6//zzdd555+nKK6/UsmXL9Nlnn+nVV1/V0qVLJUm//OUvVVNTo3vvvVebNm3SE088oXnz5ulXv/pVp/Z722236a233tKUKVNUX1+vzZs36x//+Ac30wIJjqACwHbPPvusRowYoauvvlqDBg3SjBkzQvefnHPOOXrqqaf05JNPqqCgQFVVVbrnnns0adKkTu2zsLBQK1eu1KZNmzR69GgNHTpUVVVVysvLs2FEAOKFT/0AAABjcUUFAAAYi6ACAACMRVABAADGIqgAAABjEVQAAICxCCoAAMBYBBUAAGAsggoAADAWQQUAABiLoAIAAIxFUAEAAMb6P8VL/D2laPQCAAAAAElFTkSuQmCC", + "text/plain": [ + "
" + ] + }, + "metadata": {}, + "output_type": "display_data" + } + ], "source": [ "ax = sns.scatterplot(x = loan['Income'], \n", " y = np.where(loan['Default'] == 'No', 0, 1), \n", @@ -285,12 +497,23 @@ }, { "cell_type": "code", - "execution_count": null, + "execution_count": 64, "id": "1387c926", "metadata": { "scrolled": true }, - "outputs": [], + "outputs": [ + { + "data": { + "image/png": "iVBORw0KGgoAAAANSUhEUgAAAiMAAAGwCAYAAAB7MGXBAAAAOXRFWHRTb2Z0d2FyZQBNYXRwbG90bGliIHZlcnNpb24zLjkuMCwgaHR0cHM6Ly9tYXRwbG90bGliLm9yZy80BEi2AAAACXBIWXMAAA9hAAAPYQGoP6dpAAAtCklEQVR4nO3de3xU9Z3/8ffkHi4TbiUhOBp0EYhgQMD8Aqi4zppaFsXqLsuyhqa0faioQLZFUCHeg1gs7UJlpWB1W5VqvYu0MQoumnIJxBUIFwVMBBJEJBNDSCBzfn9QRgZymWu+mfB6Ph7zeJgz3+85n+/n5JC3k8kZm2VZlgAAAAyJMl0AAAA4vxFGAACAUYQRAABgFGEEAAAYRRgBAABGEUYAAIBRhBEAAGBUjOkCfOF2u3XgwAF17dpVNpvNdDkAAMAHlmWppqZGqampiopq/vWPiAgjBw4ckMPhMF0GAAAIQEVFhS644IJmn4+IMNK1a1dJpxZjt9sNVwMAAHzhcrnkcDg8P8ebExFh5PSvZux2O2EEAIAI09pbLHgDKwAAMIowAgAAjCKMAAAAowgjAADAKMIIAAAwijACAACMiog/7QVMc7stySbVNTRq64FquepOy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/OAHzR6noKBASUlJnofD4fCnTAAAEEFi/Bl8+PBhNTY2Kjk52Wt7cnKyduzY0eScf//3f9fhw4c1ZswYWZalkydP6vbbb2/x1zRz5sxRXl6e5+vTr4wAAICOJ+x/TbNmzRo9/vjj+u1vf6vNmzfr1Vdf1TvvvKNHHnmk2Tnx8fGy2+1eDwAA0DH59cpIr169FB0draqqKq/tVVVVSklJaXLO3Llzddttt+knP/mJJGnIkCGqra3Vz372M91///2KiuKviwEAOJ/5lQTi4uI0fPhwrzejut1uFRUVKSsrq8k5x44dOydwREdHS5L8fO8sAADogPx6ZUSS8vLyNGXKFI0YMUJXXnmlFi1apNraWuXm5kqScnJy1LdvXxUUFEiSxo8fr6eeekrDhg1TZmamPvvsM82dO1fjx4/3hBIAAHD+8juMTJw4UV999ZXmzZunyspKDR06VKtXr/a8qbW8vNzrlZAHHnhANptNDzzwgPbv36/vfe97Gj9+vB577LHQrQIAAEQsv+8zYoKvf6cMAADaj7DcZwQAACDUCCMAAMAowggAADCKMAIAAIwijAAAAKMIIwAAwCjCCAAAMIowAgAAjCKMAAAAowgjAADAKMIIAAAwijACAACMIowAAACjCCMAAMAowggAADCKMAIAAIwijAAAAKMIIwAAwCjCCAAAMIowAgAAjCKMAAAAowgjAADAKMIIAAAwijACAACMIowAAACjCCMAAMAowggAADCKMAIAAIwijAAAAKMIIwAAwCjCCAAAMIowAgAAjCKMAAAAowgjAADAKMIIAAAwijACAACMIowAAACjCCMAAMAowggAADCKMAIAAIwijAAAAKMIIwAAwCjCCAAAMIowAgAAjCKMAAAAowgjAADAKMIIAAAwijACAACMIowAAACjCCMAAMAowggAADCKMAIAAIwijAAAAKMIIwAAwCjCCAAAMIowAgAAjAoojCxZskRpaWlKSEhQZmamNmzY0OL4o0ePatq0aerTp4/i4+N16aWXatWqVQEVDAAAOpYYfyesXLlSeXl5Wrp0qTIzM7Vo0SJlZ2dr586d6t279znjGxoa9E//9E/q3bu3XnnlFfXt21dffPGFunXrFor6AQBAhLNZlm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YAAIBRhBEAAGAUYQQAABhFGAEAAEYRRgAAgFGEEQAAYBRhBAAAGEUYAQAARhFGAACAUYQRAABgFGEEAAAYRRgBAABGEUYAAIBRhBEAAGAUYQQAABgVUBhZsmSJ0tLSlJCQoMzMTG3YsKHZscuWLdNVV12l7t27q3v37nI6nS2OBwAA5xe/w8jKlSuVl5en/Px8bd68WRkZGcrOztahQ4eaHL9mzRpNmjRJH3zwgYqLi+VwOHT99ddr//79QRcPAAAin82yLMufCZmZmRo5cqQWL14sSXK73XI4HLr77rs1e/bsVuc3Njaqe/fuWrx4sXJycnw6psvlUlJSkqqrq2W32/0pFwAAGOLrz2+/XhlpaGhQSUmJnE7ndzuIipLT6VRxcbFP+zh27JhOnDihHj16NDumvr5eLpfL6wEAADomv8LI4cOH1djYqOTkZK/tycnJqqys9Gkf9957r1JTU70CzdkKCgqUlJTkeTgcDn/KBAAAEaRN/5pm/vz5eumll/Taa68pISGh2XFz5sxRdXW151FRUdGGVQIAgLYU48/gXr16KTo6WlVVVV7bq6qqlJKS0uLcX/7yl5o/f77ee+89XX755S2OjY+PV3x8vD+lAQCACOXXKyNxcXEaPny4ioqKPNvcbreKioqUlZXV7LwFCxbokUce0erVqzVixIjAqwUAAB2OX6+MSFJeXp6mTJmiESNG6Morr9SiRYtUW1ur3NxcSVJOTo769u2rgoICSdITTzyhefPm6YUXXlBaWprnvSVdunRRly5dQrgUAAAQifwOIxMnTtRXX32lefPmqbKyUkOHDtXq1as9b2otLy9XVNR3L7g8/fTTamho0K233uq1n/z8fD344IPBVQ8AACKe3/cZMYH7jAAAEHnCcp8RAACAUCOMAAAAowgjAADAKMIIAAAwijACAACMIowAAACjCCMAAMAowggAADCKMAIAAIwijAAAAKMIIwAAwCjCCAAAMIowAgAAjCKMAAAAowgjAADAKMIIAAAwijACAACMIowAAACjCCMAAMAowggAADCKMAIAAIwijAAAAKMIIwAAwCjCCAAAMIowAgAAjCKMAAAAowgjAADAKMIIAAAwijACAACMIowAAACjCCMAAMA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z5b/obuNGjR5/zp+i7du3SRRddJEnq16+fUlJSvPrrcrm0fv16+uujY8eOKSrK+5/46Ohoud1uSfQ4lHzpZVZWlo4ePaqSkhLPmPfff19ut1uZmZltXnO7Y/odtAjMHXfcYSUlJVlr1qyxDh486HkcO3bMM+b222+3LrzwQuv999+3Nm3aZGVlZVlZWVkGq45sZ/41jWXR32Bs2LDBiomJsR577DFr9+7d1h//+EerU6dO1h/+8AfPmPnz51vdunWz3njjDev//u//rJtuusnq16+fVVdXZ7DyyDFlyhSrb9++1ttvv23t3bvXevXVV61evXpZs2bN8oyhx76rqamxtmzZYm3ZssWSZD311FPWli1brC+++MKyLN96+f3vf98aNmyYtX79emvdunVW//79rUmTJplaUrtCGIlQkpp8PPvss54xdXV11p133ml1797d6tSpk3XzzTdbBw8eNFd0hDs7jNDf4Lz11lvW4MGDrfj4eGvgwIHWM8884/W82+225s6dayUnJ1vx8fHWddddZ+3cudNQtZHH5XJZ06dPty688EIrISHBuvjii63777/fqq+v94yhx7774IMPmvw3d8qUKZZl+dbLr7/+2po0aZLVpUsXy263W7m5uVZNTY2B1bQ/Nss643Z8AAAAbYz3jAAAAKMIIwAAwCjCCAAAMIowAgAAjCKMAAAAowgjAADAKMIIAAAwijACAACMIowAAACjCCNAB/OjH/1IEyZMMF1GswoKChQdHa0nn3zSdCl+s9lsev31102XAXQ4hBEAbWrFihWaNWuWVqxYYboUAO0EYQQ4z6xdu1ZXXnml4uPj1adPH82ePVsnT570PL969WqNGTNG3bp1U8+ePfXP//zP+vzzzz3P79u3TzabTa+++qquvfZaderUSRkZGSouLvbp2HV1dXr44Yflcrn08ccfez3/4IMPaujQoVqxYoUuvPBCdenSRXfeeacaGxu1YMECpaSkqHfv3nrssce85pWXl+umm25Sly5dZLfb9a//+q+qqqryPN/Uq0UzZszQ2LFjPV+PHTtW99xzj2bNmqUePXooJSVFDz74oOf5tLQ0SdLNN98sm83m+RpA8AgjwHlk//79+sEPfqCRI0fqk08+0dNPP63ly5fr0Ucf9Yypra1VXl6eNm3apKKiIkVFRenmm2+W2+322tf999+vn//85yotLdWll16qSZMmeYWapixfvlyTJk1SbGysJk2apOXLl58z5vPPP9e7776r1atX68UXX9Ty5cs1btw4ffnll1q7dq2eeOIJPfDAA1q/fr0kye1266abbtKRI0e0du1aFRYWas+ePZo4caLf/XnuuefUuXNnrV+/XgsWLNDDDz+swsJCSdLGjRslSc8++6wOHjzo+RpACJj+2GAAoTVlyhTrpptuavK5++67zxowYIDldrs925YsWWJ16dLFamxsbHLOV199ZUmyPv30U8uyLGvv3r2WJOt3v/udZ8y2bdssSVZZWVmzdVVXV1uJiYlWaWmpZVmWtWXLFqtLly5eH6Gen59vderUyXK5XJ5t2dnZVlpamld9AwYMsAoKCizLsqy//vWvVnR0tFVeXn5OPRs2bGi2J9OnT7euueYaz9fXXHONNWbMGK8xI0eOtO69917P15Ks1157rdk1AggMr4wA55GysjJlZWXJZrN5to0ePVrffvutvvzyS0nS7t27NWnSJF188cWy2+2eX0eUl5d77evyyy/3/HefPn0kSYcOHWr22C+++KIuueQSZWRkSJKGDh2qiy66SCtXrvQal5aWpq5du3q+Tk5OVnp6uqKiory2nT5WWVmZHA6HHA6H5/n09HR169ZNZWVlrTelmTWdXldLawIQGoQRAF7Gjx+vI0eOaNmyZVq/fr3n1yENDQ1e42JjYz3/fTrcnP2rnDMtX75c27ZtU0xMjOexffv2c97IeuZ+T++7qW0tHetsUVFRsizLa9uJEyfOGRfscQAEJsZ0AQDazqBBg/TnP/9ZlmV5AsRHH32krl276oILLtDXX3+tnTt3atmyZbrqqqskSevWrQv6uJ9++qk2bdqkNWvWqEePHp7tR44c0dixY7Vjxw4NHDgw4DVVVFSooqLC8+rI9u3bdfToUaWnp0uSvve972nr1q1e80pLS88JH62JjY1VY2NjQHUCaB6vjAAdUHV1tUpLS70eFRUVuvPOO1VRUaG7775bO3bs0BtvvKH8/Hzl5eUpKipK3bt3V8+ePfXMM8/os88+0/vvv6+8vLyg61m+fLmuvPJKXX311Ro8eLDncfXVV2vkyJFNvpHVV06nU0OGDNHkyZO1efNmbdiwQTk5Obrmmms0YsQISdI//uM/atOmTXr++ee1e/du5efnnxNOfJGWlqaioiJVVlbqm2++CbhmAN4II0AHtGbNGg0bNszr8dBDD6lv375atWqVNmzYoIyMDN1+++2aOnWqHnjgAUmnfp3x0ksvqaSkRIMHD9bMmTODvjlZQ0OD/vCHP+iWW25p8vlbbrlFzz//fJO/NvGFzWbTG2+8oe7du+vqq6+W0+nUxRdf7PVelOzsbM2dO1ezZs3SyJEjVVNTo5ycHL+PtXDhQhUWFsrhcGjYsGEB1QvgXDbr7F+kAgAAtCFeGQEAAEYRRgAAgFGEEQAAYBRhBAAAGEUYAQAARhFGAACAUYQRAABgFGEEAAAYRRgBAABGEUYAAIBRhBEAAGDU/wcJveBC9O6zrgAAAABJRU5ErkJggg==", + "text/plain": [ + "
" + ] + }, + "metadata": {}, + "output_type": "display_data" + } + ], "source": [ "ax = sns.scatterplot(x = loan['Loan Amount'], \n", " y = np.where(loan['Default'] == 'No', 0, 1), \n", @@ -333,7 +556,7 @@ }, { "cell_type": "code", - "execution_count": null, + "execution_count": 65, "id": "a570e61b", "metadata": { "scrolled": false @@ -353,7 +576,7 @@ }, { "cell_type": "code", - "execution_count": null, + "execution_count": 66, "id": "1fda732e", "metadata": { "scrolled": false @@ -373,7 +596,7 @@ }, { "cell_type": "code", - "execution_count": null, + "execution_count": 67, "id": "cd01aaca", "metadata": {}, "outputs": [], @@ -399,7 +622,7 @@ }, { "cell_type": "code", - "execution_count": null, + "execution_count": 68, "id": "346cdb9d", "metadata": {}, "outputs": [], @@ -428,12 +651,23 @@ }, { "cell_type": "code", - "execution_count": null, + "execution_count": 69, "id": "66162c9a", "metadata": { "scrolled": false }, - "outputs": [], + "outputs": [ + { + "data": { + "text/plain": [ + "(21, 2)" + ] + }, + "execution_count": 69, + "metadata": {}, + "output_type": "execute_result" + } + ], "source": [ "X_train.shape" ] @@ -450,10 +684,21 @@ }, { "cell_type": "code", - "execution_count": null, + "execution_count": 70, "id": "20c26601", "metadata": {}, - "outputs": [], + "outputs": [ + { + "data": { + "text/plain": [ + "(9, 2)" + ] + }, + "execution_count": 70, + "metadata": {}, + "output_type": "execute_result" + } + ], "source": [ "X_test.shape" ] @@ -484,7 +729,7 @@ }, { "cell_type": "code", - "execution_count": null, + "execution_count": 71, "id": "69e53d51", "metadata": {}, "outputs": [], @@ -502,7 +747,7 @@ }, { "cell_type": "code", - "execution_count": null, + "execution_count": 72, "id": "263345cf", "metadata": {}, "outputs": [], @@ -520,7 +765,7 @@ }, { "cell_type": "code", - "execution_count": null, + "execution_count": 73, "id": "eafcb43f", "metadata": { "scrolled": true @@ -540,10 +785,22 @@ }, { "cell_type": "code", - "execution_count": null, + "execution_count": 74, "id": "7332d1bc", "metadata": {}, - "outputs": [], + "outputs": [ + { + "data": { + "text/plain": [ + "array(['Yes', 'Yes', 'Yes', 'Yes', 'Yes', 'No', 'No', 'No', 'Yes'],\n", + " dtype=object)" + ] + }, + "execution_count": 74, + "metadata": {}, + "output_type": "execute_result" + } + ], "source": [ "model.predict(X_test)" ] @@ -560,12 +817,23 @@ }, { "cell_type": "code", - "execution_count": null, + "execution_count": 75, "id": "20fa1a33", "metadata": { "scrolled": false }, - "outputs": [], + "outputs": [ + { + "data": { + "text/plain": [ + "0.8888888888888888" + ] + }, + "execution_count": 75, + "metadata": {}, + "output_type": "execute_result" + } + ], "source": [ "model.score(X_test, y_test)" ] @@ -590,7 +858,7 @@ }, { "cell_type": "code", - "execution_count": null, + "execution_count": 76, "id": "c1b722a1", "metadata": {}, "outputs": [], @@ -608,10 +876,22 @@ }, { "cell_type": "code", - "execution_count": null, + "execution_count": 77, "id": "3cba5859", "metadata": {}, - "outputs": [], + "outputs": [ + { + "data": { + "text/plain": [ + "array([[3, 1],\n", + " [0, 5]])" + ] + }, + "execution_count": 77, + "metadata": {}, + "output_type": "execute_result" + } + ], "source": [ "confusion_matrix(y_test, model.predict(X_test))" ] @@ -684,13 +964,26 @@ }, { "cell_type": "code", - "execution_count": null, + "execution_count": 78, "id": "1dc049cf", "metadata": { "scrolled": true }, - "outputs": [], - "source": [] + "outputs": [ + { + "data": { + "text/plain": [ + "array([15.4670632])" + ] + }, + "execution_count": 78, + "metadata": {}, + "output_type": "execute_result" + } + ], + "source": [ + "model.intercept_" + ] }, { "cell_type": "markdown", @@ -702,11 +995,24 @@ }, { "cell_type": "code", - "execution_count": null, + "execution_count": 79, "id": "a5273286", "metadata": {}, - "outputs": [], - "source": [] + "outputs": [ + { + "data": { + "text/plain": [ + "array([[-1.0178107 , 0.14656096]])" + ] + }, + "execution_count": 79, + "metadata": {}, + "output_type": "execute_result" + } + ], + "source": [ + "model.coef_" + ] }, { "cell_type": "markdown", @@ -728,11 +1034,25 @@ }, { "cell_type": "code", - "execution_count": null, + "execution_count": 81, "id": "c89d0a08", "metadata": {}, - "outputs": [], - "source": [] + "outputs": [ + { + "data": { + "text/plain": [ + "array([-1.02, 0.15])" + ] + }, + "execution_count": 81, + "metadata": {}, + "output_type": "execute_result" + } + ], + "source": [ + "log_odds = np.round(model.coef_[0],2)\n", + "log_odds" + ] }, { "cell_type": "markdown", @@ -744,13 +1064,63 @@ }, { "cell_type": "code", - "execution_count": null, + "execution_count": 82, "id": "556a5e49", "metadata": { "scrolled": false }, - "outputs": [], - "source": [] + "outputs": [ + { + "data": { + "text/html": [ + "
\n", + "\n", + "\n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + "
Log Odds
Income-1.02
Loan Amount0.15
\n", + "
" + ], + "text/plain": [ + " Log Odds\n", + "Income -1.02\n", + "Loan Amount 0.15" + ] + }, + "execution_count": 82, + "metadata": {}, + "output_type": "execute_result" + } + ], + "source": [ + "pd.DataFrame({\"Log Odds\": log_odds}, index= x.columns)" + ] }, { "cell_type": "markdown", @@ -766,13 +1136,64 @@ }, { "cell_type": "code", - "execution_count": null, + "execution_count": 86, "id": "f5bd37c6", "metadata": { "scrolled": true }, - "outputs": [], - "source": [] + "outputs": [ + { + "data": { + "text/html": [ + "
\n", + "\n", + "\n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + "
Odds
Income0.36
Loan Amount1.16
\n", + "
" + ], + "text/plain": [ + " Odds\n", + "Income 0.36\n", + "Loan Amount 1.16" + ] + }, + "execution_count": 86, + "metadata": {}, + "output_type": "execute_result" + } + ], + "source": [ + "odds = np.round(np.exp(log_odds),2)\n", + "pd.DataFrame({\"Odds\":odds}, index= x.columns)" + ] }, { "cell_type": "markdown", diff --git a/src/03e.ipynb b/src/03e.ipynb index 3bd6d84..9c95946 100644 --- a/src/03e.ipynb +++ b/src/03e.ipynb @@ -817,7 +817,7 @@ "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", - "version": "3.9.7" + "version": "3.10.13" } }, "nbformat": 4,