多层感知机详解(如果增加多层感知机的隐藏层层数)

Principlesoftrainingmulti-layerneuralnetworkusingbackpropagation  Theprojectdescribesteachingprocessofmulti-layerneuralnetworkemploying backpropagation algorithm.Toillustrateth…

大家好,又见面了,我是你们的朋友全栈君。

Principles of training multi-layer neural network using backpropagation


 

The project describes teaching process of multi-layer neural network employing backpropagation algorithm. To illustrate this process the three layer neural network with two inputs and one output,which is shown in the picture below, is used: 
 

多层感知机详解(如果增加多层感知机的隐藏层层数)

Each neuron is composed of two units. First unit adds products of weights coefficients and input signals. The second unit realise nonlinear function, called neuron activation function. Signal e is adder output signal, and y = f(e) is output signal of nonlinear element. Signal y is also output signal of neuron. 
 

多层感知机详解(如果增加多层感知机的隐藏层层数)

To teach the neural network we need training data set. The training data set consists of input signals (x1 and x2 ) assigned with corresponding target (desired output) z. The network training is an iterative process. In each iteration weights coefficients of nodes are modified using new data from training data set. Modification is calculated using algorithm described below: Each teaching step starts with forcing both input signals from training set. After this stage we can determine output signals values for each neuron in each network layer. Pictures below illustrate how signal is propagating through the network, Symbols w(xm)n represent weights of connections between network input xm and neuron n in input layer. Symbols yn represents output signal of neuron n. 
 

多层感知机详解(如果增加多层感知机的隐藏层层数)

 

多层感知机详解(如果增加多层感知机的隐藏层层数)

 

多层感知机详解(如果增加多层感知机的隐藏层层数)

Propagation of signals through the hidden layer. Symbols wmn represent weights of connections between output of neuron m and input of neuron n in the next layer. 
 

多层感知机详解(如果增加多层感知机的隐藏层层数)

 

多层感知机详解(如果增加多层感知机的隐藏层层数)

Propagation of signals through the output layer. 
 

多层感知机详解(如果增加多层感知机的隐藏层层数)

In the next algorithm step the output signal of the network y is compared with the desired output value (the target), which is found in training data set. The difference is called error signal d of output layer neuron. 
 

多层感知机详解(如果增加多层感知机的隐藏层层数)

It is impossible to compute error signal for internal neurons directly, because output values of these neurons are unknown. For many years the effective method for training multiplayer networks has been unknown. Only in the middle eighties the backpropagation algorithm has been worked out. The idea is to propagate error signal d (computed in single teaching step) back to all neurons, which output signals were input for discussed neuron. 
 

多层感知机详解(如果增加多层感知机的隐藏层层数)

 

多层感知机详解(如果增加多层感知机的隐藏层层数)

The weights’ coefficients wmn used to propagate errors back are equal to this used during computing output value. Only the direction of data flow is changed (signals are propagated from output to inputs one after the other). This technique is used for all network layers. If propagated errors came from few neurons they are added. The illustration is below: 
 

多层感知机详解(如果增加多层感知机的隐藏层层数)

 

多层感知机详解(如果增加多层感知机的隐藏层层数)

 

多层感知机详解(如果增加多层感知机的隐藏层层数)

When the error signal for each neuron is computed, the weights coefficients of each neuron input node may be modified. In formulas belowdf(e)/de represents derivative of neuron activation function (which weights are modified). 
 

多层感知机详解(如果增加多层感知机的隐藏层层数)

 

多层感知机详解(如果增加多层感知机的隐藏层层数)

 

多层感知机详解(如果增加多层感知机的隐藏层层数)

 

多层感知机详解(如果增加多层感知机的隐藏层层数)

 

多层感知机详解(如果增加多层感知机的隐藏层层数)

 

多层感知机详解(如果增加多层感知机的隐藏层层数)

Coefficient h affects network teaching speed. There are a few techniques to select this parameter. The first method is to start teaching process with large value of the parameter. While weights coefficients are being established the parameter is being decreased gradually. The second, more complicated, method starts teaching with small parameter value. During the teaching process the parameter is being increased when the teaching is advanced and then decreased again in the final stage. Starting teaching process with low parameter value enables to determine weights coefficients signs. 

版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 举报,一经查实,本站将立刻删除。

发布者:全栈程序员-站长,转载请注明出处:https://javaforall.net/128063.html原文链接:https://javaforall.net

赞 (0)
全栈程序员-站长的头像全栈程序员-站长


相关推荐

  • airtest测试用例_Airtest 常用方法[通俗易懂]

    airtest测试用例_Airtest 常用方法[通俗易懂]几个添加设备参数的例子#方法一:在auto_setup()接口添加设备auto_setup(__file__,devices=[“Android://127.0.0.1:5037/SJE5T17B17”])#方法二:用connect_device()方法连接设备dev=connect_device(“Android://127.0.0.1:5037/SJE5T17B17”)#方法三:用init…

    2022年11月1日
  • 三种T检验的详细区分

    三种T检验的详细区分关于T检验的方法区分及使用场景介绍如下:01.概念T检验是通过比较不同数据的均值,研究两组数据之间是否存在显著差异。02.分类不同的T检验方法适用于不同的分析场景,具体的分类如下:03.t检验的前提条件无论是单样本T检验、独立样本T检验还是配对样本T检验,都有几个基本前提:(1)T检验属于参数检验,用于检验定量数据(数字有比较意义的),若…

    2022年6月19日
  • JAVA的一般输入输出 和 快速输入输出 (BufferedReader&BufferedWrite)

    JAVA的一般输入输出 和 快速输入输出 (BufferedReader&BufferedWrite)JAVA基础知识和常用算法合集:https://blog.csdn.net/GD_ONE/article/details/104061907目录1.主类的命名必须是Main2.输入输出:2.1输入:(1)使用Scanner类进行输入(2)hasNext()方法2.2输出3快速输入输出3.1使用StreamTokenizer和PrintW…

    2022年5月26日
  • Chrome Devtool 断点[通俗易懂]

    Chrome Devtool 断点[通俗易懂]代码行断点代码中的代码行断点console.log(‘a’);console.log(‘b’);debugger;console.log(‘c’);DOM更改断点单击元素选项卡转到要设置断点的元素右键单击该元素将鼠标悬停在Break上,然后选择Subtree修改、属性修改或节点删除DOM更改断点的类型子树修改属性修改节点移除XHR/获取断点当在XHR请求URL包含特定字符串时中断展开XHRBreakpoints点击+输入字符串。当此字符串出现在X

    2022年9月26日
  • SQL2008安装教程

    SQL2008安装教程1、首先,在安装文件setup.exe上,单击鼠标右键选择”以管理员的身份运行”,如下图所示:2、首先单击安装光盘中的setup.exe安装文件,打开如下所示的”SQLServer安装中心”对话框:3、选择左边的安装选项,单击右边的”全新SQLServer独立安装或向现有安装添加功能”选项,如图所示:4、在打开的”SQLServer2

    2022年6月23日

发表回复

您的邮箱地址不会被公开。 必填项已用 * 标注

关注全栈程序员社区公众号