Skip to content
ml-recall

#saturation

6 questions from Logistic Regression & Softmax, Neural Network Basics, Explainable AI

Timed test

6 questions · 6 min · score and explanations at the end

Take a test
Q 1 / 6Score 0 / 0

Question 1: Short answer

hardAI-checkedLogistic Regression & Softmax

A logistic-regression model outputs p=σ(z)p = \sigma(z), and an example with label y=1y = 1 has z=−5z = -5, a confident wrong prediction. With cross-entropy loss, ∂L/∂z=p−y\partial L / \partial z = p - y; with squared error L=(p−y)2L = (p - y)^2, ∂L/∂z=2(p−y) p(1−p)\partial L / \partial z = 2(p - y)\,p(1 - p). How many times larger in magnitude is the cross-entropy gradient? Round to the nearest whole number.

a whole number