从程序员的角度来看,我们是否可以将神经网络视为更高级的“数据结构”?

发布于 2024-08-30 08:50:47 字数 92 浏览 3 评论 0原文

我目睹了关于这个话题的辩论,我想知道你的看法?从程序员的角度来看,我们是否可以将神经网络视为更高级的“数据结构”?

神经网络实际上不仅仅是一种数据结构吗?

I've witnessed a debate on this topic, I wanted to know your opinion ? From a programmers perspective, can a we consider a neural network a more advanced "data structure" ?

Is a neural network actually more than a data-structure ?

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

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

发布评论

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

评论(4

狠疯拽 2024-09-06 08:50:47

是的!神经网络是一个完整的程序,或者至少是一个“系统”或“机制”。 “数据结构”之间划清界限。

  • 神经网络使用数据结构(例如数组、哈希图、链表...)来存储其权重和连接,但大多数开发人员会在数据结构作为底层“管道”和
  • 高级 像神经网络一样构建,位于更高的抽象层上。

我正在尝试为你的问题想出一个很好的类比。目前,我能想到的最好的办法就是问“我们可以将汽车视为更先进的内燃机吗?”

Yes! A neural network is an entire program, or at least a "system" or a "mechanism". A neural network uses data structures (e.g. arrays, hashmaps, linked lists...) to store its weights and connections, but most developers would draw a line between

  • data structures as the underlying "plumbing" and
  • advanced constructs like neural networks which sit on a higher abstraction layer.

I'm trying to think of a good analogy for your question. At the moment, the best I can come up with is asking "can we consider an automobile a more advanced internal combustion engine?"

倾城泪 2024-09-06 08:50:47

神经网络绝对不是“高级‘数据结构’”……神经网络是一种用于函数/统计估计、优化和动态行为的算法。它也称为机器学习算法。

“神经网络实际上更重要吗?
而不是数据结构?”

它比数据结构做更多的事情......所以从这个角度来看,是的,但总的来说这是一个无效的比较。它实际上允许你的计算机“学习“如何将某些输入模式与某些输出模式相关联。

A neural network is definitely not an "advanced 'data structure'"... a neural network is an algorithm for function/statistical estimation, optimization and dynamic behavior. It's also referred to as a machine learning algorithm.

"Is a neural network actually more
than a data-structure ?"

It does a lot more than a data structure... so from that stand point, yes, but in general it's an invalid comparison. It actually allows your computer to "learn" how to correlate certain patterns of input with certain patterns of output.

星星的轨迹 2024-09-06 08:50:47

神经网络是一种统计模型,而不是数据结构。数据结构旨在存储和调用信息。统计模型旨在记录事件并提供有关事件统计属性的有用信息。

因此,神经网络使用数据结构,但其本身并不是数据结构。

这个问题就像问咖啡先生是否是一台计算机,只是因为它可能包含一台计算机来完成其任务。咖啡先生不是一台计算机,但你可以把它拆开,找到有趣的方法来破坏内部的控制电子设备来进行一些计算。

A neural network is a statistical model, not a data structure. Data structures are meant to store and recall information. A statistical model is meant to record events and provide useful information regarding the event's statistical properties.

Thus, a NN uses data structures but is itself not a data structure.

This question is like asking if Mr. Coffee is a computer simply because it may contain one to accomplish its task. Mr. Coffee is not a computer, but yes you could tear it apart and find interesting ways to mangle the control electronics inside to do some computing.

伤感在游骋 2024-09-06 08:50:47

不。神经元不是数据,大脑也不是数据。都是空间/量子/??的东西,可能无限复杂,具体取决于你想要深入的程度。这不能表示为数据,只能在其自己的上下文中进行处理。

来自维基百科:

在计算机科学中,数据结构
是一种特殊的存储方式和
在计算机中组织数据,以便
可以有效地利用它。

如果你在计算机中代表一个神经网络,那么是的。这是一个非常糟糕的抽象。你甚至可以称其为适当的神经网络吗?如果您有一队人,您不会将其称为数据项队列,甚至不会将其称为数据结构。

No. Neurons are not data, the brain is not data. It's all spatial/quantum/?? stuff, possibly infinitely complex depending on how deep you want to go. This cannot be represented as data, and can only be processed in its own context.

From Wikipedia:

In computer science, a data structure
is a particular way of storing and
organizing data in a computer so that
it can be used efficiently.

If you represent a neural network in a computer, then yes. It's a very poor abstraction. Can you even call it a proper neural network? If you have a queue of people, you wouldn't call it a queue of data items, or even a data structure.

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