Challenges
Softmax: most probable class
Artificial Intelligence
Easy
Activation functions
Solves: 7
Softmax: most probable class
Author: CyberSamSU
Points
12
In the final layer of a neural network, a sigmoid or softmax function is often used — to convert raw "logit" values into probabilities (in the range 0..1, summing to 1).
sigmoid(x) = 1 / (1 + e^(-x)) — ikkita sinf uchun
softmax(z)_i = e^(z_i) / sum_j( e^(z_j) ) — k ta sinf uchun
(sigmoid — softmax'ning ikkita sinfli xususiy holi)
The classifier output the following logits for 3 classes: z = [-1, -3, 0].
After applying softmax, find the probability corresponding to the largest logit (i.e. to z[2] = 0).
Enter the answer with 4 decimal places of precision (for example 0.4682).
To submit a flag, log in.