Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 0 additions & 20 deletions experimentation/Diabetes Ridge Regression Training.ipynb
Original file line numberDiff line numberDiff line change
Expand Up@@ -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": {},
Expand Down