machine-learning - 在 Keras 中,什么是“密集”层和“辍学”层?
问题描述
Keras 中密集层和丢失层之间的主要区别是什么
解决方案
In short, a dropout layer ignores a set of neurons (randomly) as one can see in the picture below. This normally is used to prevent the net from overfitting.
The Dense layer is a normal fully connected layer in a neuronal network.
Resources:
Improving neural networks by preventing co-adaptation of feature detectors
Dropout: A Simple Way to Prevent Neural Networks from Overfitting
A Gentle Introduction to Dropout for Regularizing Deep Neural Networks
Let me know if you need a more precise explanation.
推荐阅读
- mysql - Django计算期初余额sql查询
- php - 如何在monogdb中找到两个集合的交集?
- reactjs - Bootstrap 4 或 Material 组件的日期选择器
- python - 如何避免错误:“响应状态 404,消息“无法定位元素”
- python - 在多个文件上使用生成器进行多处理以及围绕 TypeError("can't pickle generator objects") 的方法
- unit-testing - 如何正确获取单元测试 laravel 中的错误以及禁用 csrf 检查?
- python - 仅对 pandas 中的数字列求和
- android - 如何在知道其 Jnet_Uri 的 Android 上将文件加载到流中?
- c# - Unity Inspector 中的时间没有正确更新
- cassandra - 启动简约的独立 cassandra 无法通过“cassandra -f”工作