Too Cold, Too Hot

Neural Network Building BlocksHard+30 XP+30

Too Cold, Too Hot

A smart thermostat uses a tiny network to decide whether the room temperature xxx (in °C) is comfortable. The network has one input, a hidden layer of three neurons, and one output neuron.

Each hidden neuron computes its weighted sum of xxx plus its bias, then applies ReLU, which replaces a negative sum with 000 and passes a positive one through unchanged.

hidden neuronweight on xxxbias
A−2-2−2363636
B111−22-22−22
C222−56-56−56

The output neuron reads the three hidden outputs and has no activation. Its weights are −0.5-0.5−0.5 on A's output, −0.4-0.4−0.4 on B's output and −0.3-0.3−0.3 on C's output, and its bias is 222. Its weighted sum plus bias is zzz.

A temperature is flagged as comfortable when z>0z > 0z>0. The input xxx can be any real number.

What is the total width, in °C, of the set of temperatures the network flags as comfortable?

Round your answer to 2 decimal places.

Hints

Solve it to unlock the solution

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