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

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.

主站蜘蛛池模板: 绥阳县| 客服| 临汾市| 洪洞县| 田东县| 昌吉市| 凤城市| 巩义市| 大渡口区| 安国市| 宁乡县| 平谷区| 明水县| 垫江县| 通渭县| 毕节市| 名山县| 黄大仙区| 柳林县| 侯马市| 介休市| 苗栗市| 崇文区| 潞西市| 台湾省| 普安县| 简阳市| 宁德市| 乌兰察布市| 永吉县| 崇仁县| 准格尔旗| 青河县| 新泰市| 扎赉特旗| 张掖市| 商丘市| 时尚| 康定县| 泰来县| 麻栗坡县|