Merge branch 'master' of github.com:ageron/handson-ml2 into edition2
commit
43f8795bcc
|
@ -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"
|
||||
]
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue