multiclass classification Flashcards
1
Q
C classes then how many nodes does the last layer have?
A
C
2
Q
what are the outputs at the last layer?
A
Probs that the sample belong to each class
3
Q
what is the activation function at the last layer?
A
softmax
4
Q
formula of softmax at last layer?
A
e^z where z is the value at the last layer
a at last layer = e^zi/sum(e^zi)
normalize so as to add up to 1
5
Q
C = 2, softmax becomes?
A
logistic regression