From fbcdef013ee26273924706c7d52aafd3095ae37e Mon Sep 17 00:00:00 2001 From: Ugwu Gabby <107874044+GabbyHills@users.noreply.github.com> Date: Sat, 5 Aug 2023 07:01:35 +0100 Subject: [PATCH] Update Diabetes Ridge Regression Training.ipynb --- .../Diabetes Ridge Regression Training.ipynb | 20 ------------------- 1 file changed, 20 deletions(-) diff --git a/experimentation/Diabetes Ridge Regression Training.ipynb b/experimentation/Diabetes Ridge Regression Training.ipynb index 447f7105..14a4e0ae 100644 --- a/experimentation/Diabetes Ridge Regression Training.ipynb +++ b/experimentation/Diabetes Ridge Regression Training.ipynb @@ -92,26 +92,6 @@ "reg_model = Ridge(**args)" ] }, - { - "cell_type": "markdown", - "metadata": {}, - "source": [ - "## Train the model, return the model" - ] - }, - { - "cell_type": "code", - "execution_count": 3, - "metadata": {}, - "outputs": [], - "source": [ - "# Train the model, return the model\n", - "def train_model(data, args):\n", - "reg_model = Ridge(**args)\n", - "reg_model.fit(data[\"train\"][\"X\"], data[\"train\"][\"y\"])\n", - " return reg_model" - ] - }, { "cell_type": "markdown", "metadata": {},