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

Mean squared error

The mean squared error (MSE) is also called a quadratic cost function as it uses the squared difference to measure the magnitude of the error:

Here, the following applies:

  • a is the output from the ANN
  • y is the expected output
  • n is the number of samples used

The cost function is pretty straightforward. For exampleconsider a single neuron with just one sample, (n=1). If the expected output is 2 (y=2) and the neuron outputs 3 (a=3), then the MSE is as follows:

Similarly, if the expected output is 3 (y=3) and the neuron outputs 2 (a=2), then the MSE is as follows:

Therefore, the MSE quantifies the magnitude of the error made by the neuron. One of the issues with MSE is that when the values in the network get large, the learning becomes slow. In other words, when the weights (w) and bias (b) or z get large, the learning becomes very slow. Keep in mind that we are talking about thousands of neurons in an ANN, which is why the learning slows down and eventually stagnates with no further learning.

主站蜘蛛池模板: 蒲江县| 桂平市| 南通市| 南靖县| 丰台区| 邛崃市| 宁河县| 晋中市| 乾安县| 南汇区| 来安县| 项城市| 孟州市| 和平县| 南投县| 琼中| 油尖旺区| 广宗县| 永宁县| 涟源市| 祁门县| 舟曲县| 德庆县| 青阳县| 孟村| 陆川县| 霍林郭勒市| 格尔木市| 武鸣县| 四子王旗| 正安县| 闽侯县| 咸阳市| 舞阳县| 宁晋县| 永顺县| 聂拉木县| 凉城县| 师宗县| 通榆县| 雷波县|