Concept - Softmax Classifier

  • Multiclass extension of Concept - Logistic Regression. For 4 classes find with and probabilities summing to 1 (s.288).
  • Softmax function (s.289): , . It amplifies the largest score and normalizes (bar chart, s.289).
  • Objective: cross entropy (s.290): , if else 0 (one-hot targets). Example: true digit 6 one-hot vs computed probabilities with 0.9 at index 6.
  • Architecture (s.291): inputs + bias -> for classes () -> softmax -> class probabilities.
  • Contrast with Concept - One-vs-All Classification (independent binary models).

Concept - One-vs-All Classification | Concept - Logistic Regression

Source chunk: 03 Text Classification - Chunk 10 (s.271-300)