The Probability of the Other Class

Statistics for Deep LearningEasy+10 XP+10

The Probability of the Other Class

A binary classifier's final linear layer produces a single raw logit

z=w⋅x+bz = \mathbf{w} \cdot \mathbf{x} + bz=w⋅x+b

For one input the network has w=[ 3.0,  −2.0 ]\mathbf{w} = [\,3.0,\; -2.0\,]w=[3.0,−2.0], x=[ 1.0,  2.0 ]\mathbf{x} = [\,1.0,\; 2.0\,]x=[1.0,2.0] and b=−0.3863b = -0.3863b=−0.3863.

The logit is squashed by the sigmoid

σ(z)=11+e−z\sigma(z) = \frac{1}{1 + e^{-z}}σ(z)=1+e−z1​

whose output y^\hat{y}y^​ is the Bernoulli parameter of the positive class.

What probability does this model assign to the negative class, P(Y=0∣X)P(Y = 0 \mid X)P(Y=0∣X)?

You may use e1.3863≈4.000e^{1.3863} \approx 4.000e1.3863≈4.000.

Hints

Solve it to unlock the solution

Once you get it right, the reasoning behind the answer shows up here.

Select all that apply.