官术网_书友最值得收藏!

  • R Deep Learning Essentials
  • Mark Hodnett Joshua F. Wiley
  • 441字
  • 2021-08-13 15:34:27

Neural networks as a network of memory cells

Another way to consider neural networks is to compare them to how humans think. As their name suggests, neural networks draw inspiration from neural processes and neurons in the mind. Neural networks contain a series of neurons, or nodes, which are interconnected and process input. The neurons have weights that are learned from previous observations (data). The output of a neuron is a function of its input and its weights. The activation of some final neuron(s) is the prediction.

We will consider a hypothetical case where a small part of the brain is responsible for matching basic shapes, such as squares and circles. In this scenario, some neurons at the basic level fire for horizontal lines, another set of neurons fires for vertical lines, and yet another set of neurons fire for curved segments. These neurons feed into higher-order process that combines the input so that it recognizes more complex objects, for example, a square when the horizontal and vertical neurons both are activated simultaneously.

In the following diagram, the input data is represented as squares. These could be pixels in an image. The next layer of hidden neurons consists of neurons that recognize basic features, such as horizontal lines, vertical lines, or curved lines. Finally, the output may be a neuron that is activated by the simultaneous activation of two of the hidden neurons:

Figure 1.6: Neural networks as a network of memory cells

In this example, the first node in the hidden layer is good at matching horizontal lines, while the second node in the hidden layer is good at matching vertical lines. These nodes remember what these objects are. If these nodes combine, more sophisticated objects can be detected. For example, if the hidden layer recognizes horizontal lines and vertical lines, the object is more likely to be a square than a circle. This is similar to how convolutional neural networks work, which we will cover in Chapter 5, Image Classification Using Convolutional Neural Networks.

We have covered the theory behind neural networks very superficially here as we do not want to overwhelm you in the first chapter! In future chapters, we will cover some of these issues in more depth, but in the meantime, if you wish to get a deeper understanding of the theory behind neural networks, the following resources are recommended:

Next, we will turn to a brief introduction to deep neural networks.

主站蜘蛛池模板: 贵定县| 申扎县| 阳泉市| 双桥区| 乌兰察布市| 尉犁县| 肇州县| 新乡市| 客服| 甘谷县| 武隆县| 河东区| 凉山| 清丰县| 六枝特区| 东安县| 修水县| 射洪县| 西林县| 安化县| 曲阜市| 洛宁县| 花莲市| 太湖县| 普定县| 四会市| 靖州| 教育| 明星| 麻江县| 子长县| 奇台县| 扎鲁特旗| 内丘县| 普安县| 龙海市| 襄垣县| 竹溪县| 威信县| 建德市| 辽宁省|