神经网络模型中隐藏层的数量

发布于 2024-08-18 23:02:26 字数 59 浏览 5 评论 0原文

有人能够向我解释或向我指出一些资源,说明为什么(或在什么情况下)在神经网络中多个隐藏层是必要的或有用的?

Would someone be able to explain to me or point me to some resources of why (or situations where) more than one hidden layer would be necessary or useful in a neural network?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

只是一片海 2024-08-25 23:02:26

基本上更多的层允许表示更多的功能。人工智能课程的标准书籍,Russell 和 Norvig 所著的《人工智能,一种现代方法》,在第 20 章中详细介绍了为什么多层很重要。

一个重要的一点是,通过足够大的单个隐藏层,您可以表示每个层连续函数,但至少需要 2 层才能表示每个不连续函数。

但实际上,至少 99% 的情况下单层就足够了。

Basically more layers allow more functions to be represented. The standard book for AI courses, "Artificial Intelligence, A Modern Approach" by Russell and Norvig, goes into some detail of why multiple layers matter in Chapter 20.

One important point is that with a sufficiently large single hidden layer, you can represent every continuous function, but you will need at least 2 layers to be able to represent every discontinuous function.

In practice, though, a single layer is enough at least 99% of the time.

虫児飞 2024-08-25 23:02:26
  1. 这更类似于大脑的工作方式(这可能不一定是计算优势,但很多人研究神经网络是为了深入了解大脑的工作方式,而不是解决现实世界的问题。
  2. 它更容易实现一些目标例如,无论对象在图像中的位置或对象的大小如何,图像分类器都可以工作。 /bouvrie-rosasco_inv_nips09.pdf" rel="nofollow noreferrer">Bouvrie, J.、L. Rosasco 和 T. Poggio。“论分层模型中的不变性”。神经信息处理系统 (NIPS) 进展,2009 年 22 月。< /a>
  1. That's more similar to the way the brain works (which might not necessarily be a computational advantage, but a lot of people are researching NN to gain insight about the way the mind works, rather than to solve real world problems.
  2. Its easier to achieve some kinds of invariance using more layers. For example, an image classifier that works regardless of where in the image the object is found, or the object's size. see Bouvrie, J. , L. Rosasco, and T. Poggio. "On Invariance in Hierarchical Models". Advances in Neural Information Processing Systems (NIPS) 22, 2009.
颜漓半夏 2024-08-25 23:02:26

每一层都以指数方式有效地提高了适应的潜在“复杂性”(而不是向单层添加更多节点的乘法方式)。

Each layer effectively raises the potential "complexity" of adaptation in an exponential fashion (as opposed to a multiplicative fashion of adding more nodes to a single layer).

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文