From f0cd43215518ddb75083c21c547e8d85b879c748 Mon Sep 17 00:00:00 2001 From: Dario Roos <dario.roos@stud.hslu.ch> Date: Fri, 10 Dec 2021 12:44:09 +0000 Subject: [PATCH] Auto-saving for dario.roos@stud.hslu.ch on branch master from commit 90986b4 --- .../Checking_Correct_Installation.ipynb | 4 +-- .../Preliminaries_3_Numpy.ipynb | 4 +-- .../Exercise Sheet - Basics Numpy.ipynb | 27 ++++++++----------- .../Block_0/Solution - Basics Numpy.ipynb | 18 ++++++++++--- notebooks/Block_0/untitled.txt | 0 .../Exercises Block 2 - Neural Networks.ipynb | 4 +-- .../Solutions to Exercises - Block 2.ipynb | 4 +-- ...ck 4 - Convolutional Neural Networks.ipynb | 4 +-- 8 files changed, 36 insertions(+), 29 deletions(-) create mode 100644 notebooks/Block_0/untitled.txt diff --git a/notebooks/Block_0/Checking_Correct_Installation.ipynb b/notebooks/Block_0/Checking_Correct_Installation.ipynb index da8803f..8c0986e 100644 --- a/notebooks/Block_0/Checking_Correct_Installation.ipynb +++ b/notebooks/Block_0/Checking_Correct_Installation.ipynb @@ -109,7 +109,7 @@ ], "metadata": { "kernelspec": { - "display_name": "Python 3", + "display_name": "Python 3 (ipykernel)", "language": "python", "name": "python3" }, @@ -123,7 +123,7 @@ "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", - "version": "3.7.6" + "version": "3.9.6" } }, "nbformat": 4, diff --git a/notebooks/Block_0/Examples script/Preliminaries_3_Numpy.ipynb b/notebooks/Block_0/Examples script/Preliminaries_3_Numpy.ipynb index b07c25c..dea2688 100644 --- a/notebooks/Block_0/Examples script/Preliminaries_3_Numpy.ipynb +++ b/notebooks/Block_0/Examples script/Preliminaries_3_Numpy.ipynb @@ -484,7 +484,7 @@ ], "metadata": { "kernelspec": { - "display_name": "Python 3", + "display_name": "Python 3 (ipykernel)", "language": "python", "name": "python3" }, @@ -498,7 +498,7 @@ "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", - "version": "3.7.6" + "version": "3.9.6" } }, "nbformat": 4, diff --git a/notebooks/Block_0/Exercise Sheet - Basics Numpy.ipynb b/notebooks/Block_0/Exercise Sheet - Basics Numpy.ipynb index ce2bb78..af77b17 100644 --- a/notebooks/Block_0/Exercise Sheet - Basics Numpy.ipynb +++ b/notebooks/Block_0/Exercise Sheet - Basics Numpy.ipynb @@ -20,19 +20,14 @@ "metadata": {}, "outputs": [ { - "name": "stdout", - "output_type": "stream", - "text": [ - "Input as Array: None\n", - "Input minus min: None\n", - "Input Array: None\n", - "Multiply 1:\n", - "None\n", - "Multiply 2:\n", - "None\n", - "Multiply 3:\n", - "None\n", - "Mean == None\n" + "ename": "ModuleNotFoundError", + "evalue": "No module named 'numpy'", + "output_type": "error", + "traceback": [ + "\u001b[0;31m---------------------------------------------------------------------------\u001b[0m", + "\u001b[0;31mModuleNotFoundError\u001b[0m Traceback (most recent call last)", + "\u001b[0;32m/tmp/ipykernel_95/4233260957.py\u001b[0m in \u001b[0;36m<module>\u001b[0;34m\u001b[0m\n\u001b[0;32m----> 1\u001b[0;31m \u001b[0;32mimport\u001b[0m \u001b[0mnumpy\u001b[0m \u001b[0;32mas\u001b[0m \u001b[0mnp\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m 2\u001b[0m \u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m 3\u001b[0m \u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m 4\u001b[0m \u001b[0;32mdef\u001b[0m \u001b[0mprepare_inputs\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0minputs\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m:\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m 5\u001b[0m \u001b[0;31m# TODO: create a 2-dimensional ndarray from the given 1-dimensional list;\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n", + "\u001b[0;31mModuleNotFoundError\u001b[0m: No module named 'numpy'" ] } ], @@ -451,9 +446,9 @@ ], "metadata": { "kernelspec": { - "display_name": "Python [conda env:root]", + "display_name": "Python 3 (ipykernel)", "language": "python", - "name": "conda-root-py" + "name": "python3" }, "language_info": { "codemirror_mode": { @@ -465,7 +460,7 @@ "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", - "version": "3.8.3" + "version": "3.9.6" } }, "nbformat": 4, diff --git a/notebooks/Block_0/Solution - Basics Numpy.ipynb b/notebooks/Block_0/Solution - Basics Numpy.ipynb index 1aa12bc..bdc91cd 100644 --- a/notebooks/Block_0/Solution - Basics Numpy.ipynb +++ b/notebooks/Block_0/Solution - Basics Numpy.ipynb @@ -11,7 +11,19 @@ "cell_type": "code", "execution_count": 1, "metadata": {}, - "outputs": [], + "outputs": [ + { + "ename": "ModuleNotFoundError", + "evalue": "No module named 'numpy'", + "output_type": "error", + "traceback": [ + "\u001b[0;31m---------------------------------------------------------------------------\u001b[0m", + "\u001b[0;31mModuleNotFoundError\u001b[0m Traceback (most recent call last)", + "\u001b[0;32m/tmp/ipykernel_110/364891074.py\u001b[0m in \u001b[0;36m<module>\u001b[0;34m\u001b[0m\n\u001b[1;32m 1\u001b[0m \u001b[0;31m# Use the numpy library\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m----> 2\u001b[0;31m \u001b[0;32mimport\u001b[0m \u001b[0mnumpy\u001b[0m \u001b[0;32mas\u001b[0m \u001b[0mnp\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m 3\u001b[0m \u001b[0mnp\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mset_printoptions\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mprecision\u001b[0m\u001b[0;34m=\u001b[0m\u001b[0;36m2\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m 4\u001b[0m \u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m 5\u001b[0m \u001b[0;34m\u001b[0m\u001b[0m\n", + "\u001b[0;31mModuleNotFoundError\u001b[0m: No module named 'numpy'" + ] + } + ], "source": [ "# Use the numpy library\n", "import numpy as np\n", @@ -1485,7 +1497,7 @@ ], "metadata": { "kernelspec": { - "display_name": "Python 3", + "display_name": "Python 3 (ipykernel)", "language": "python", "name": "python3" }, @@ -1499,7 +1511,7 @@ "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", - "version": "3.7.6" + "version": "3.9.6" } }, "nbformat": 4, diff --git a/notebooks/Block_0/untitled.txt b/notebooks/Block_0/untitled.txt new file mode 100644 index 0000000..e69de29 diff --git a/notebooks/Block_2/Exercises Block 2 - Neural Networks.ipynb b/notebooks/Block_2/Exercises Block 2 - Neural Networks.ipynb index ac2bcf7..87c1ccc 100644 --- a/notebooks/Block_2/Exercises Block 2 - Neural Networks.ipynb +++ b/notebooks/Block_2/Exercises Block 2 - Neural Networks.ipynb @@ -764,7 +764,7 @@ "toc_visible": true }, "kernelspec": { - "display_name": "Python 3", + "display_name": "Python 3 (ipykernel)", "language": "python", "name": "python3" }, @@ -778,7 +778,7 @@ "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", - "version": "3.7.6" + "version": "3.9.6" } }, "nbformat": 4, diff --git a/notebooks/Block_2/Solutions to Exercises - Block 2.ipynb b/notebooks/Block_2/Solutions to Exercises - Block 2.ipynb index b74e3e8..9689b22 100644 --- a/notebooks/Block_2/Solutions to Exercises - Block 2.ipynb +++ b/notebooks/Block_2/Solutions to Exercises - Block 2.ipynb @@ -1038,7 +1038,7 @@ "toc_visible": true }, "kernelspec": { - "display_name": "Python 3", + "display_name": "Python 3 (ipykernel)", "language": "python", "name": "python3" }, @@ -1052,7 +1052,7 @@ "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", - "version": "3.7.6" + "version": "3.9.6" } }, "nbformat": 4, diff --git a/notebooks/Block_4/Jupyter Notebook Block 4 - Convolutional Neural Networks.ipynb b/notebooks/Block_4/Jupyter Notebook Block 4 - Convolutional Neural Networks.ipynb index 8a65b22..80519f8 100644 --- a/notebooks/Block_4/Jupyter Notebook Block 4 - Convolutional Neural Networks.ipynb +++ b/notebooks/Block_4/Jupyter Notebook Block 4 - Convolutional Neural Networks.ipynb @@ -3533,7 +3533,7 @@ "toc_visible": true }, "kernelspec": { - "display_name": "Python 3", + "display_name": "Python 3 (ipykernel)", "language": "python", "name": "python3" }, @@ -3547,7 +3547,7 @@ "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", - "version": "3.7.6" + "version": "3.9.6" } }, "nbformat": 4, -- GitLab