mirror of
https://github.com/ArthurDanjou/handson-ml3.git
synced 2026-01-14 12:14:36 +01:00
Merge branch 'master' of github.com:ageron/handson-ml2 into edition2
This commit is contained in:
@@ -1777,7 +1777,7 @@
|
||||
"layer = keras.layers.Dense(100, activation=\"elu\",\n",
|
||||
" kernel_initializer=\"he_normal\",\n",
|
||||
" kernel_regularizer=keras.regularizers.l2(0.01))\n",
|
||||
"# or l1(0.1) for ℓ1 regularization with a factor or 0.1\n",
|
||||
"# or l1(0.1) for ℓ1 regularization with a factor of 0.1\n",
|
||||
"# or l1_l2(0.1, 0.01) for both ℓ1 and ℓ2 regularization, with factors 0.1 and 0.01 respectively"
|
||||
]
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user