Skip to content

Commit 96aaac2

Browse files
authored
Merge pull request #23 from GabbyHills/GabbyHills-patch-26
Update Diabetes Ridge Regression Training.ipynb
2 parents f2980bb + dfc0313 commit 96aaac2

1 file changed

Lines changed: 8 additions & 1 deletion

File tree

experimentation/Diabetes Ridge Regression Training.ipynb

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,14 @@
5252
"df['Y'] = sample_data.target\n",
5353
"\n",
5454
"## Split Data into Training and Validation Sets\n",
55-
" def = split_data(df):"
55+
" def = split_data(df):\n"
56+
"\n"
57+
"# experiment parameters\n",
58+
"args = {\n",
59+
" \"alpha\": 0.5\n",
60+
"}\n",
61+
"\n",
62+
"reg_model = Ridge(**args)",
5663
]
5764
},
5865
{

0 commit comments

Comments
 (0)