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

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.

主站蜘蛛池模板: 河东区| 田东县| 玉屏| 仲巴县| 宁海县| 河池市| 神木县| 云林县| 鄂托克旗| 津市市| 临夏市| 洪泽县| 周口市| 崇文区| 康定县| 台中市| 凌海市| 肥西县| 镇雄县| 湘潭县| 松溪县| 河曲县| 刚察县| 新乡市| 德州市| 靖安县| 萍乡市| 桃源县| 临澧县| 常德市| 抚顺市| 河西区| 湄潭县| 昆山市| 漳州市| 娄底市| 蓝山县| 龙江县| 丰台区| 鹤峰县| 页游|