Skip to content

Commit abf6d33

Browse files
authored
Merge pull request #32 from GabbyHills/GabbyHills-patch-36
Update Diabetes Ridge Regression Training.ipynb
2 parents 58f1974 + fbcdef0 commit abf6d33

File tree

1 file changed

+0
-20
lines changed

1 file changed

+0
-20
lines changed

experimentation/Diabetes Ridge Regression Training.ipynb

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -92,26 +92,6 @@
9292
"reg_model = Ridge(**args)"
9393
]
9494
},
95-
{
96-
"cell_type": "markdown",
97-
"metadata": {},
98-
"source": [
99-
"## Train the model, return the model"
100-
]
101-
},
102-
{
103-
"cell_type": "code",
104-
"execution_count": 3,
105-
"metadata": {},
106-
"outputs": [],
107-
"source": [
108-
"# Train the model, return the model\n",
109-
"def train_model(data, args):\n",
110-
"reg_model = Ridge(**args)\n",
111-
"reg_model.fit(data[\"train\"][\"X\"], data[\"train\"][\"y\"])\n",
112-
" return reg_model"
113-
]
114-
},
11595
{
11696
"cell_type": "markdown",
11797
"metadata": {},

0 commit comments

Comments
 (0)