Some types of activation functions are proposed. Now we are going to see some of them.
Step Function outputs 1 for 0 or more as input, and 0 for less than 0. The graph is as follows.
The formula of Sigmoid Function is as follows.
The graph is as follows.
The formula of Tanh Function is as follows.
The graph is as follows.
The formula of Rectified Linear Unit is as follows.
The graph is as follows.
The final type is Softmax Function. When you want to detect whether dog or cat, it’s valid to get output values with the total value of 1. Therefore, we get the probability values from the following function.
The formula itself must be difficult to be understood, and the following example should help you. Suppose there are four outputs, and the values are (0.9, 0.1, 0.2, 0.4). Where, the first output value is
The other activation functions are proposed. The total time for learning can be shorter by selecting appropriate function for each question.