Day 225 — A network on eight features is mostly a way to overfit

Friday, 19 March 2027 · Week 33 of 52 · Machine learning · Study day · 60 min

You can build these from scratch, so the interesting question is not how but whether, and the parameter count against effective sample size you computed last night is most of the answer.

What you should be able to do tonight

  • Fit a small feed-forward model under the frozen protocol and report it against the linear baseline with intervals.
  • State the parameter count at which the model reliably fails on your data, measured rather than assumed.

Tasks 60 min

35 min Fit a small network under the same protocol and nested validation as everything else: a few hidden units, heavy regularisation, early stopping on a purged validation fold. Report out-of-sample R-squared with an interval next to ridge and boosting.

25 min Find the capacity cliff: sweep the hidden layer width from 2 to 256 and plot out-of-sample R-squared against parameter count, with the effective sample size marked on the axis. The shape of that curve is the honest answer to whether capacity pays here, and it is specific to your data rather than to the literature.

Resources

Deliverable

notebooks/day-225-nn.ipynb with a tuned small network against the baselines and a capacity curve with effective sample size marked.

Checkpoint

At what parameter count does your network stop generalising, and how does that compare to your effective sample size?

Prepare for tomorrow

Ten minutes tonight so Day 226, Saturday, 20 March 2027 starts clean. This is what the evening email sends you.

Write down what a sequence model would have access to on this problem that a cross-sectional model does not.

Then say whether you believe that information is predictive, given what week 6 measured.

Two paragraphs, no code.