From e406b399915c32d5d10a67f1478f5a50ed4aeb05 Mon Sep 17 00:00:00 2001 From: FloBab73 Date: Sun, 4 Oct 2026 11:33:43 +0200 Subject: [PATCH] =?UTF-8?q?=C3=BCbung=202?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Übung 2/flower_training.ipynb | 211 +++++++++++++++++++++++++++------- 1 file changed, 170 insertions(+), 41 deletions(-) diff --git a/Übung 2/flower_training.ipynb b/Übung 2/flower_training.ipynb index 38a1b7e..d03af7e 100644 --- a/Übung 2/flower_training.ipynb +++ b/Übung 2/flower_training.ipynb @@ -6,23 +6,25 @@ "metadata": { "collapsed": true, "ExecuteTime": { - "end_time": "2026-10-03T16:46:34.175559799Z", - "start_time": "2026-10-03T16:46:34.063922625Z" + "end_time": "2026-10-04T09:28:26.125908200Z", + "start_time": "2026-10-04T09:28:26.087555100Z" } }, "source": [ "from sklearn.svm import LinearSVC, SVC\n", "import numpy as np\n", - "from nnwplot import plotTwoFeatures" + "from nnwplot import plotTwoFeatures\n", + "from sklearn.neighbors import KNeighborsClassifier\n", + "from sklearn.cluster import KMeans, DBSCAN" ], "outputs": [], - "execution_count": 18 + "execution_count": 28 }, { "metadata": { "ExecuteTime": { - "end_time": "2026-10-03T16:46:34.219658258Z", - "start_time": "2026-10-03T16:46:34.190531089Z" + "end_time": "2026-10-04T08:55:13.379546900Z", + "start_time": "2026-10-04T08:55:13.341972400Z" } }, "cell_type": "code", @@ -34,13 +36,13 @@ ], "id": "b4e863de5bc956", "outputs": [], - "execution_count": 19 + "execution_count": 2 }, { "metadata": { "ExecuteTime": { - "end_time": "2026-10-03T16:46:34.416357667Z", - "start_time": "2026-10-03T16:46:34.226237363Z" + "end_time": "2026-10-04T08:55:13.492273800Z", + "start_time": "2026-10-04T08:55:13.386609600Z" } }, "cell_type": "code", @@ -58,13 +60,13 @@ ] } ], - "execution_count": 20 + "execution_count": 3 }, { "metadata": { "ExecuteTime": { - "end_time": "2026-10-03T16:46:34.532571321Z", - "start_time": "2026-10-03T16:46:34.444142909Z" + "end_time": "2026-10-04T08:55:13.811777Z", + "start_time": "2026-10-04T08:55:13.514275500Z" } }, "cell_type": "code", @@ -786,7 +788,7 @@ " justify-content: center;\n", " margin-top: 0.5em;\n", "}\n", - "
LinearSVC()
In a Jupyter environment, please rerun this cell to show the HTML representation or trust the notebook.
On GitHub, the HTML representation is unable to render, please try loading this page with nbviewer.org.