Double descent has three regimes. Below the interpolation threshold (parameters fewer than samples), test error is U-shaped. At the threshold it peaks. Beyond it, error falls again, so bigger models can generalize better.
Implement double_descent_regime(n, p), returning the regime name for n samples and p parameters.
p == n.Compare p with n in order.
No results yet
Run your code to check it against the examples, or submit to run every test.