From 74ff87b27ae62457bcf3861a97c1495ae9d4f52e Mon Sep 17 00:00:00 2001 From: a1yssan13 Date: Fri, 3 Feb 2023 14:47:37 -0500 Subject: [PATCH 1/2] fix issue --- .../CIS_522_W3D2_Tutorial_\342\200\223_Student_Version.ipynb" | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git "a/W03_MLP/students/CIS_522_W3D2_Tutorial_\342\200\223_Student_Version.ipynb" "b/W03_MLP/students/CIS_522_W3D2_Tutorial_\342\200\223_Student_Version.ipynb" index 5c13635..c1bf299 100644 --- "a/W03_MLP/students/CIS_522_W3D2_Tutorial_\342\200\223_Student_Version.ipynb" +++ "b/W03_MLP/students/CIS_522_W3D2_Tutorial_\342\200\223_Student_Version.ipynb" @@ -1212,7 +1212,7 @@ "# img_train_loader, img_test_loader = get_data_loaders(batch_size)\n", "# # get some random training images\n", "# dataiter = iter(img_train_loader)\n", - "# images, labels = dataiter.next()\n", + "# images, labels = next(dataiter)\n", "# # show images\n", "# imshow(make_grid(images, nrow=8))" ] From d8cf3db774fe77615a47a82153b2d5015e6dc49f Mon Sep 17 00:00:00 2001 From: a1yssan13 Date: Tue, 7 Feb 2023 18:44:02 -0500 Subject: [PATCH 2/2] change quiz queston --- ...torial_\342\200\223_Student_Version.ipynb" | 203 +++++------------- 1 file changed, 50 insertions(+), 153 deletions(-) diff --git "a/W03_MLP/students/CIS_522_W3D2_Tutorial_\342\200\223_Student_Version.ipynb" "b/W03_MLP/students/CIS_522_W3D2_Tutorial_\342\200\223_Student_Version.ipynb" index c1bf299..5ddee49 100644 --- "a/W03_MLP/students/CIS_522_W3D2_Tutorial_\342\200\223_Student_Version.ipynb" +++ "b/W03_MLP/students/CIS_522_W3D2_Tutorial_\342\200\223_Student_Version.ipynb" @@ -44,10 +44,7 @@ "execution_count": 1, "metadata": { "cellView": "form", - "id": "e6GnDC12UtUD", - "vscode": { - "languageId": "python" - } + "id": "e6GnDC12UtUD" }, "outputs": [], "source": [ @@ -79,10 +76,7 @@ "execution_count": 2, "metadata": { "cellView": "form", - "id": "xXd8Now_XwR7", - "vscode": { - "languageId": "python" - } + "id": "xXd8Now_XwR7" }, "outputs": [], "source": [ @@ -111,10 +105,7 @@ "cell_type": "code", "execution_count": 3, "metadata": { - "id": "ZUyEQpxTSzxe", - "vscode": { - "languageId": "python" - } + "id": "ZUyEQpxTSzxe" }, "outputs": [], "source": [ @@ -139,10 +130,7 @@ "execution_count": 4, "metadata": { "cellView": "form", - "id": "hj8C2Cf0G0i_", - "vscode": { - "languageId": "python" - } + "id": "hj8C2Cf0G0i_" }, "outputs": [], "source": [ @@ -159,10 +147,7 @@ "execution_count": 5, "metadata": { "cellView": "form", - "id": "oRrTcZOlXA8C", - "vscode": { - "languageId": "python" - } + "id": "oRrTcZOlXA8C" }, "outputs": [], "source": [ @@ -180,10 +165,7 @@ "execution_count": 6, "metadata": { "cellView": "form", - "id": "40Qc7MFcX7Oc", - "vscode": { - "languageId": "python" - } + "id": "40Qc7MFcX7Oc" }, "outputs": [], "source": [ @@ -223,10 +205,7 @@ "execution_count": 7, "metadata": { "cellView": "form", - "id": "D1H4GG-0jWfy", - "vscode": { - "languageId": "python" - } + "id": "D1H4GG-0jWfy" }, "outputs": [], "source": [ @@ -394,10 +373,7 @@ "height": 518 }, "id": "CwszyupvkL3-", - "outputId": "babfb909-598a-4265-d58a-a2f89ad81359", - "vscode": { - "languageId": "python" - } + "outputId": "babfb909-598a-4265-d58a-a2f89ad81359" }, "outputs": [ { @@ -458,10 +434,7 @@ "cell_type": "code", "execution_count": 9, "metadata": { - "id": "Ki3h4MiggLWJ", - "vscode": { - "languageId": "python" - } + "id": "Ki3h4MiggLWJ" }, "outputs": [], "source": [ @@ -522,10 +495,7 @@ "height": 374 }, "id": "t8R71qCfkWhM", - "outputId": "c34b5d0b-7e9d-45b0-9125-1f26f50f0467", - "vscode": { - "languageId": "python" - } + "outputId": "c34b5d0b-7e9d-45b0-9125-1f26f50f0467" }, "outputs": [ { @@ -591,10 +561,7 @@ "height": 518 }, "id": "bn7efLdVmz8Z", - "outputId": "bfb38536-4ca6-482f-f0f1-4c2b6fa53fd9", - "vscode": { - "languageId": "python" - } + "outputId": "bfb38536-4ca6-482f-f0f1-4c2b6fa53fd9" }, "outputs": [ { @@ -661,10 +628,7 @@ "cell_type": "code", "execution_count": 13, "metadata": { - "id": "OEn2QUQkzzzv", - "vscode": { - "languageId": "python" - } + "id": "OEn2QUQkzzzv" }, "outputs": [], "source": [ @@ -747,10 +711,7 @@ "height": 518 }, "id": "5cXchBdhg_r7", - "outputId": "2af2415d-7165-4c0c-d960-da50763d6819", - "vscode": { - "languageId": "python" - } + "outputId": "2af2415d-7165-4c0c-d960-da50763d6819" }, "outputs": [ { @@ -814,10 +775,7 @@ "cell_type": "code", "execution_count": 16, "metadata": { - "id": "XXTmr99LAA21", - "vscode": { - "languageId": "python" - } + "id": "XXTmr99LAA21" }, "outputs": [], "source": [ @@ -894,10 +852,7 @@ "height": 518 }, "id": "MNj8KuO7nqIP", - "outputId": "04b8495c-635d-4e31-d2ae-8023215e0e17", - "vscode": { - "languageId": "python" - } + "outputId": "04b8495c-635d-4e31-d2ae-8023215e0e17" }, "outputs": [ { @@ -961,10 +916,7 @@ "cell_type": "code", "execution_count": 19, "metadata": { - "id": "Fx1PQGlOOeDh", - "vscode": { - "languageId": "python" - } + "id": "Fx1PQGlOOeDh" }, "outputs": [], "source": [ @@ -1029,10 +981,7 @@ "height": 518 }, "id": "HuPeo0rNQlzK", - "outputId": "868f795c-824f-4572-f327-2764fa8af8b9", - "vscode": { - "languageId": "python" - } + "outputId": "868f795c-824f-4572-f327-2764fa8af8b9" }, "outputs": [ { @@ -1095,10 +1044,7 @@ "height": 518 }, "id": "JIwa78eMpxwL", - "outputId": "d07d6271-2f99-4c6b-dd3e-7628dea5ea5b", - "vscode": { - "languageId": "python" - } + "outputId": "d07d6271-2f99-4c6b-dd3e-7628dea5ea5b" }, "outputs": [ { @@ -1166,10 +1112,7 @@ "cell_type": "code", "execution_count": 23, "metadata": { - "id": "agJn1BtHIB1x", - "vscode": { - "languageId": "python" - } + "id": "agJn1BtHIB1x" }, "outputs": [], "source": [ @@ -1227,10 +1170,7 @@ "height": 518 }, "id": "NT8lU-wnBcIT", - "outputId": "e7cb665a-a3aa-4136-fd8c-d5056b38dcf6", - "vscode": { - "languageId": "python" - } + "outputId": "e7cb665a-a3aa-4136-fd8c-d5056b38dcf6" }, "outputs": [ { @@ -1282,10 +1222,7 @@ "height": 85 }, "id": "keBtoq559ceG", - "outputId": "3753ecfe-c65b-41c3-98a1-686be61e0d31", - "vscode": { - "languageId": "python" - } + "outputId": "3753ecfe-c65b-41c3-98a1-686be61e0d31" }, "outputs": [ { @@ -1338,10 +1275,7 @@ "height": 518 }, "id": "xLiQNxB_CVrt", - "outputId": "49a4f74b-1835-43e3-e586-8d2a7c73204d", - "vscode": { - "languageId": "python" - } + "outputId": "49a4f74b-1835-43e3-e586-8d2a7c73204d" }, "outputs": [ { @@ -1393,10 +1327,7 @@ "height": 357 }, "id": "371o0g0ZCOIu", - "outputId": "0ef16ff5-a6b9-4406-c71f-89c0809801a7", - "vscode": { - "languageId": "python" - } + "outputId": "0ef16ff5-a6b9-4406-c71f-89c0809801a7" }, "outputs": [ { @@ -1443,10 +1374,7 @@ "height": 518 }, "id": "zFG-Oz1P3FoS", - "outputId": "44360f43-9df6-444d-9a53-c9cece60d655", - "vscode": { - "languageId": "python" - } + "outputId": "44360f43-9df6-444d-9a53-c9cece60d655" }, "outputs": [ { @@ -1510,10 +1438,7 @@ "height": 102 }, "id": "DYmgQtA534dn", - "outputId": "5e521859-0c20-4f22-8ec4-a7056d23dcd7", - "vscode": { - "languageId": "python" - } + "outputId": "5e521859-0c20-4f22-8ec4-a7056d23dcd7" }, "outputs": [ { @@ -1593,10 +1518,7 @@ "height": 518 }, "id": "fsZzbd099ltE", - "outputId": "e29eaacd-e5a6-483a-f985-631d95f9ab4f", - "vscode": { - "languageId": "python" - } + "outputId": "e29eaacd-e5a6-483a-f985-631d95f9ab4f" }, "outputs": [ { @@ -1720,10 +1642,7 @@ "height": 1000 }, "id": "HqeL_3FuHn3X", - "outputId": "9eba099a-352b-43f0-84ee-3b2aedf9b244", - "vscode": { - "languageId": "python" - } + "outputId": "9eba099a-352b-43f0-84ee-3b2aedf9b244" }, "outputs": [ { @@ -2098,10 +2017,7 @@ "height": 518 }, "id": "9x3YnWphApIa", - "outputId": "45eae87a-9859-481f-d8ed-74e6e75081e6", - "vscode": { - "languageId": "python" - } + "outputId": "45eae87a-9859-481f-d8ed-74e6e75081e6" }, "outputs": [ { @@ -2170,10 +2086,7 @@ "execution_count": 55, "metadata": { "cellView": "form", - "id": "i9cXJ1UY8J6G", - "vscode": { - "languageId": "python" - } + "id": "i9cXJ1UY8J6G" }, "outputs": [], "source": [ @@ -2181,12 +2094,13 @@ ] }, { + "attachments": {}, "cell_type": "markdown", "metadata": { "id": "MhDJN3jG-WPk" }, "source": [ - "Do you think the model in Exercise 2 is performing well outside its training distribution? Why?" + "Do you think the model in Exercise 2 is performing well on its testing distribution? Why?" ] }, { @@ -2194,10 +2108,7 @@ "execution_count": 57, "metadata": { "cellView": "form", - "id": "1Oq4AG_A8ZAL", - "vscode": { - "languageId": "python" - } + "id": "1Oq4AG_A8ZAL" }, "outputs": [], "source": [ @@ -2218,10 +2129,7 @@ "execution_count": 58, "metadata": { "cellView": "form", - "id": "elOn2tf68ke8", - "vscode": { - "languageId": "python" - } + "id": "elOn2tf68ke8" }, "outputs": [], "source": [ @@ -2246,10 +2154,7 @@ "execution_count": 59, "metadata": { "cellView": "form", - "id": "TyPj0a0K8zWb", - "vscode": { - "languageId": "python" - } + "id": "TyPj0a0K8zWb" }, "outputs": [], "source": [ @@ -2270,10 +2175,7 @@ "execution_count": 60, "metadata": { "cellView": "form", - "id": "Aun9BCcy9eRI", - "vscode": { - "languageId": "python" - } + "id": "Aun9BCcy9eRI" }, "outputs": [], "source": [ @@ -2294,10 +2196,7 @@ "execution_count": 61, "metadata": { "cellView": "form", - "id": "QmlCaaiK9pZB", - "vscode": { - "languageId": "python" - } + "id": "QmlCaaiK9pZB" }, "outputs": [], "source": [ @@ -2318,10 +2217,7 @@ "execution_count": 62, "metadata": { "cellView": "form", - "id": "XYhoeLcu94m0", - "vscode": { - "languageId": "python" - } + "id": "XYhoeLcu94m0" }, "outputs": [], "source": [ @@ -2346,10 +2242,7 @@ "execution_count": 63, "metadata": { "cellView": "form", - "id": "DqKPF3_T95hp", - "vscode": { - "languageId": "python" - } + "id": "DqKPF3_T95hp" }, "outputs": [], "source": [ @@ -2371,10 +2264,7 @@ "execution_count": null, "metadata": { "cellView": "form", - "id": "JAiufZ39Lpq8", - "vscode": { - "languageId": "python" - } + "id": "JAiufZ39Lpq8" }, "outputs": [], "source": [ @@ -2471,10 +2361,7 @@ "execution_count": null, "metadata": { "cellView": "form", - "id": "8_t2sxaejuMI", - "vscode": { - "languageId": "python" - } + "id": "8_t2sxaejuMI" }, "outputs": [], "source": [ @@ -2494,7 +2381,17 @@ }, "kernelspec": { "display_name": "Python 3", + "language": "python", "name": "python3" + }, + "language_info": { + "name": "python", + "version": "3.9.16 (main, Feb 1 2023, 00:17:43) \n[Clang 14.0.0 (clang-1400.0.29.202)]" + }, + "vscode": { + "interpreter": { + "hash": "8c38e51bd90e1c51a2011cef8bf69b7b31cfea335244ae1d10d4928e4c846944" + } } }, "nbformat": 4,