One Knob Left to Turn

Neural Network Building BlocksMedium+20 XP+20

One Knob Left to Turn

A quality-control neuron on a production line reads three sensor measurements of each finished part and computes

z=w1x1+w2x2+w3x3+bz = w_1x_1 + w_2x_2 + w_3x_3 + bz=w1​x1​+w2​x2​+w3​x3​+b

Training has already set the weights, and they stay fixed:

w1=3,w2=−2,w3=1w_1 = 3, \qquad w_2 = -2, \qquad w_3 = 1w1​=3,w2​=−2,w3​=1

A part is flagged for manual inspection when z>0z > 0z>0. A value of exactly z=0z = 0z=0 is not flagged.

Here is the latest batch:

partx1x_1x1​x2x_2x2​x3x_3x3​
P1222111000
P2111333222
P3000−2-2−2111
P4333222−2-2−2
P5111000666

The inspector has time to examine only two parts from this batch, so the bias bbb is to be chosen so that exactly two of the five are flagged.

What is the largest value of bbb for which exactly two parts are flagged?

Give the exact value.

Hints

Solve it to unlock the solution

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