A logit is an unnormalized output score from a neural network’s final layer. Larger logits indicate stronger evidence that an input belongs to a class; softmax converts them into probabilities. section 9.7
Computing class logits
For the penguins classifier, forward propagation computes hidden activations with tanh, then multiplies them by the output weights and adds output biases: logits = a1.dot(W2) + b2. Softmax and cross-entropy loss use these scores afterward, while prediction can select the class with the largest logit.

















