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

Hyperbolic tangent

Another very popular and widely used activation feature is the tanh function. If you look at the screenshot that follows, you can notice that it looks very similar to sigmoid; in fact, it's a scaled sigmoid function. This is a nonlinear function, defined in the range of values (-1, 1), so you need not worry about activations blowing up. One thing to clarify is that the gradient is stronger for tanh than sigmoid (the derivatives are more steep). The function is defined by the following formula:

The following figure shows a hyberbolic tangent activation function:

Deciding between sigmoid and tanh will depend on your gradient strength requirement. Like the sigmoid, tanh also has the missing slope problem.

主站蜘蛛池模板: 嘉义县| 库伦旗| 平阳县| 正宁县| 大余县| 普宁市| 娄烦县| 芮城县| 夏邑县| 岐山县| 兴和县| 翁牛特旗| 东乡县| 鹤山市| 益阳市| 当阳市| 武隆县| 通辽市| 庄河市| 青阳县| 兴仁县| 平昌县| 绥芬河市| 鹤岗市| 涞源县| 西畴县| 洛扎县| 丽水市| 开原市| 清水河县| 晋州市| 黄大仙区| 松滋市| 龙游县| 北流市| 叶城县| 沾化县| 德兴市| 舟山市| 江山市| 新民市|