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

  • Keras 2.x Projects
  • Giuseppe Ciaburro
  • 253字
  • 2021-07-02 14:36:23

Types of activation functions

The purpose of each node in the neural network is to accept input values and to enter an output value in the next layer. The input nodes insert the values of the variables in the hidden layer without modifying them. Each neuron adds the weighted values of all of the neurons connected to it and adds a bias value. To this result, an activation function is applied, which does nothing but transform the value mathematically before passing it to the next layer. In this way, the input values are propagated through the network up to the output neurons. The goal is to adjust weights and bias in order to achieve the desired result. The following diagram shows the scheme of a single neuron with the activation function:

A neural network without an activation function is simply equivalent to a regression model; this means that it tries to approximate the distribution of data with a straight line (linear trend). On the contrary, the purpose of neural networks is to be able to approximate any function, and to do this it's necessary to introduce a non-linearity factor—this term is represented by the activation function.

The activation function must satisfy some criteria:

  • It must have output values in the range {0, 1}
  • It must provide an output value close to 1 when sufficiently stimulated (threshold effect), to propagate activity within the network

There're many activation functions available for a neural network to use. We'll try to analyze some of them.

主站蜘蛛池模板: 正宁县| 宝山区| 镶黄旗| 鄢陵县| 瑞丽市| 滦南县| 新化县| 浦县| 张北县| 郸城县| 称多县| 西畴县| 筠连县| 库车县| 繁峙县| 诏安县| 孝昌县| 紫阳县| 竹北市| 克拉玛依市| 历史| 金坛市| 平阳县| 敦化市| 敦化市| 云林县| 沅陵县| 新密市| 文安县| 龙州县| 陵水| 林周县| 阜宁县| 清新县| 江阴市| 历史| 绍兴市| 三亚市| 平谷区| 定远县| 武汉市|