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

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.

主站蜘蛛池模板: 五台县| 武夷山市| 娄烦县| 巴南区| 丰都县| 湖南省| 疏勒县| 永寿县| 闽清县| 洪泽县| 洛川县| 兴安县| 砀山县| 泊头市| 水富县| 舟山市| 伊宁县| 广宁县| 潞城市| 崇左市| 汝南县| 津南区| 夏邑县| 永州市| 河间市| 萝北县| 乐陵市| 凯里市| 六枝特区| 常熟市| 汕尾市| 马山县| 麻城市| 汝州市| 南川市| 鱼台县| 永顺县| 阳谷县| 吉木萨尔县| 新闻| 彩票|