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

Softmax

Softmax normalizes or squashes a vector of arbitrary values to a probability distribution between 0 and 1. The sum of the softmax output will be equal to 1. Therefore, it is commonly used in the last layer of a neural network to predict probabilities of the possible output classes. The following is the mathematical expression for the softmax function for a vector with values:

Here zj represents the jth vector value and K represents the number of classes. As we can see the exponential function smoothens the output value while the denominator normalizes the final value between 0 and 1.

主站蜘蛛池模板: 久治县| 凤山县| 石柱| 界首市| 瑞金市| 临清市| 洛阳市| 新兴县| 巴中市| 剑阁县| 万盛区| 霞浦县| 沙雅县| 兴安县| 永顺县| 阜南县| 阳西县| 崇仁县| 都昌县| 白山市| 七台河市| 达日县| 七台河市| 潮安县| 昔阳县| 新邵县| 双江| 安阳县| 嘉黎县| 长海县| 新乡市| 汉寿县| 罗甸县| 于都县| 门源| 阿克| 黄龙县| 景东| 新巴尔虎左旗| 靖远县| 连云港市|