mirror of
https://github.com/ArthurDanjou/handson-ml3.git
synced 2026-01-14 12:14:36 +01:00
Fix early stopping example, fixes #190
This commit is contained in:
@@ -868,7 +868,8 @@
|
||||
" if val_error < minimum_val_error:\n",
|
||||
" minimum_val_error = val_error\n",
|
||||
" best_epoch = epoch\n",
|
||||
" best_model = clone(sgd_reg)"
|
||||
" best_model = sgd_reg\n",
|
||||
" sgd_reg = clone(sgd_reg)"
|
||||
]
|
||||
},
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user