Interactive model

Build a hinge

A line with a change in slope at a movable threshold The chart updates as the threshold and slope change are adjusted.

The blue segment is the added ReLU term. The black line is the resulting curve.

Before threshold
0.5
After threshold
1.7