[NN] Regularization Summary

Dropout:

  • Dropout is a regularization technique.
  • You only use dropout during training. Don't use dropout (randomly eliminate nodes) during test time.
  • Apply dropout both during forward and backward propagation.
  • 在訓(xùn)練的時(shí)候,記得除以keep_prob來(lái)保持輸出相同的期望。During training time, divide each dropout layer by keep_prob to keep the same expected value for the activations. For example, if keep_prob is 0.5, then we will on average shut down half the nodes, so the output will be scaled by 0.5 since only the remaining half are contributing to the solution. Dividing by 0.5 is equivalent to multiplying by 2. Hence, the output now has the same expected value. You can check that this works even when keep_prob is other values than 0.5.

What we want you to remember from this notebook:

  • Regularization will help you reduce overfitting.
  • Regularization will drive your weights to lower values.
  • L2 regularization and Dropout are two very effective regularization techniques.
最后編輯于
?著作權(quán)歸作者所有,轉(zhuǎn)載或內(nèi)容合作請(qǐng)聯(lián)系作者
【社區(qū)內(nèi)容提示】社區(qū)部分內(nèi)容疑似由AI輔助生成,瀏覽時(shí)請(qǐng)結(jié)合常識(shí)與多方信息審慎甄別。
平臺(tái)聲明:文章內(nèi)容(如有圖片或視頻亦包括在內(nèi))由作者上傳并發(fā)布,文章內(nèi)容僅代表作者本人觀點(diǎn),簡(jiǎn)書(shū)系信息發(fā)布平臺(tái),僅提供信息存儲(chǔ)服務(wù)。

相關(guān)閱讀更多精彩內(nèi)容

  • 近年來(lái)“跨界”已經(jīng)成為一個(gè)娛樂(lè)圈的潮流 演員跨界做導(dǎo)演,導(dǎo)演忙著做演員,歌手轉(zhuǎn)行做段子手 最絕的是運(yùn)動(dòng)員都轉(zhuǎn)行做明...
    naib閱讀 366評(píng)論 0 0
  • 姥姥的一生很傳奇,可以說(shuō)是一個(gè)鐵娘子,可是現(xiàn)在卻得了阿茲海默癥,現(xiàn)在會(huì)經(jīng)常忘記剛剛吃過(guò)的飯菜,經(jīng)常自己發(fā)呆,嗜睡…...
    一葉彰木閱讀 148評(píng)論 3 3
  • 今天用新的方法來(lái)練習(xí)寫(xiě)字啦,果然是很累很累的呀。累并快樂(lè)著。
    余一浳閱讀 171評(píng)論 0 2

友情鏈接更多精彩內(nèi)容