Using DropoutLayer in neural network (not only in CNN)

3 ビュー (過去 30 日間)
Andy_daodao
Andy_daodao 2017 年 8 月 16 日
コメント済み: Junwei Liu 2021 年 2 月 26 日
hey guys,
i am using matlab to create a Neural Network for a Regression Problem.
to avoid overfitting i want to add a dropoutLayer after the Input layer, but i see only examples for CNN.
did someone knows, how to add a dropoutLayer in noraml neural Network or Setting the Options of neural Network(not CNN)
thanks
  3 件のコメント
Mario Schweda
Mario Schweda 2020 年 4 月 29 日
I´m looking for the same. A droput layer for simple networks like fitnet. Not only for CNNs.
Junwei Liu
Junwei Liu 2021 年 2 月 26 日
have you solve this problem?I have met the seem problem

サインインしてコメントする。

回答 (1 件)

Moses Wayne
Moses Wayne 2017 年 8 月 16 日
The "dropoutLayer" class seems to be able to solve your problem. Calling it with no arguments returns a layer with 0.5 probability of dropping an input element. This layer can then be used in the training of your neural network. Here is a code example of creating a dropout layer with .6 probability of dropping an input element:
myLayer = dropoutLayer(0.6)
I have linked the documentation to the "dropoutLayer" class here.
  4 件のコメント
Lingies Santhirasekaran
Lingies Santhirasekaran 2019 年 6 月 18 日
Did anyone found a way to implement dropout in Matlab ?
Thanks
belen celik
belen celik 2019 年 8 月 25 日
how can dropoutLayer be implemented in new=newff() type of network?

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeDeep Learning Toolbox についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by