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

Multi-layer neural networks

As we have mentioned many times, 1-layer neural nets can only classify linearly separable classes. But there is nothing that prevents us from introducing more layers between the input and the output. These extra layers are called hidden layers. The following diagram demonstrates a 3-layer fully connected neural network with two hidden layers. The input layer has k input neurons, the first hidden layer has n hidden neurons, and the second hidden layer has m hidden neurons. The output, in this example, is the two classes y1 and y2. On top is the always-on bias neuron. A unit from one-layer is connected to all units from the previous and following layers (hence fully connected). Each connection has its own weight, w, that is not depicted for reasons of simplicity:

Multi-layer sequential network

But we are not limited to networks with sequential layers, as shown in the preceding diagram. The neurons and their connections form directed cyclic graphs. In such a graph, the information cannot pass twice from the same neuron (no loops) and it flows in only one direction, from the input to the output. We also chose to organize them in layers; therefore, the layers are also organized in the directed cyclic graph. The network in the preceding diagram is just a special case of a graph whose layers are connected sequentially. The following diagram also depicts a valid neural network with two input layers, two output layers, and randomly interconnected hidden layers. For the sake of simplicity, we've depicted the multiple weights, wconnecting the layers as a single line:

A neural network
There is a special class of neural networks called   recurrent networks, which represent a directed   cyclic  graph (they can have loops). We'll discuss them in detail in chapter 8, Reinforcement Learning Theory.

In this section, we introduced the most basic type of neural network, that is, the neuron, and we gradually expanded it to a graph of neurons, organized in layers. But we can think of it in another way. Thus, we came to know that the neuron has a precise mathematical definition. Therefore, the neural network, as a composition of neurons, is also a mathematical function where the input data represents the function arguments and the network weights, ware its parameters.

主站蜘蛛池模板: 尉犁县| 乌拉特中旗| 贵阳市| 彭州市| 武夷山市| 石河子市| 彭泽县| 大姚县| 田阳县| 乳源| 凤翔县| 合阳县| 张北县| 象州县| 佛坪县| 河北省| 望江县| 会同县| 合山市| 岳池县| 宁海县| 遂川县| 衡水市| 山东| 乌鲁木齐县| 安溪县| 长汀县| 嘉黎县| 睢宁县| 澄江县| 治多县| 长子县| 洛宁县| 木里| 星子县| 甘德县| 柳河县| 博爱县| 金乡县| 静安区| 巨鹿县|