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

Hyperbolic tangent

Another very popular and widely used activation feature is the tanh function. If you look at the figure that follows, you can notice that it looks very similar to sigmoid; in fact, it is 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). Deciding between sigmoid and tanh will depend on your gradient strength requirement. Like the sigmoid, tanh also has the missing slope problem. The function is defined by the following formula:

 

In the following figure is shown a hyberbolic tangent activation function:

This looks very similar to sigmoid; in fact, it is a scaled sigmoid function.

主站蜘蛛池模板: 达州市| 宝鸡市| 开江县| 阳曲县| 平武县| 永修县| 伊吾县| 汝阳县| 勃利县| 古浪县| 霍林郭勒市| 抚松县| 措勤县| 闽清县| 吉安县| 环江| 莱州市| 普安县| 孙吴县| 武义县| 诏安县| 郁南县| 武功县| 石景山区| 郯城县| 贺州市| 宣汉县| 伊川县| 昆山市| 铜梁县| 新平| 环江| 凤庆县| 罗平县| 黄陵县| 化州市| 肥城市| 合肥市| 枣强县| 信宜市| 青浦区|