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

  • 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.

主站蜘蛛池模板: 女性| 和龙市| 马关县| 闽清县| 双城市| 绿春县| 浏阳市| 富裕县| 临桂县| 壶关县| 壤塘县| 静安区| 云龙县| 石景山区| 措美县| 穆棱市| 清丰县| 横峰县| 会宁县| 瓦房店市| 西平县| 布拖县| 呼图壁县| 繁昌县| 兴山县| 黑水县| 普格县| 府谷县| 芮城县| 闻喜县| 通州区| 泰来县| 松溪县| 嘉祥县| 高青县| 绥化市| 乡宁县| 区。| 前郭尔| 措美县| 仙游县|