Peeling norm bounds
Penguin learning project
The project uses 342 complete Palmer penguin records: 240 training-pool and 102 held-out rows. The selected training rows determine feature scaling and model parameters. Source CSV
This project trains weights with softmax, unlike the homepage lab, which uses nearest species averages. Same penguin measurements; different classification methods. Predictions can differ.
Generalization and risk bounds · Relate sample behavior to population risk under stated assumptions.
The project supplies finite observations and fitted parameters. A held-out sample does not establish population bounds or prove a theorem.
Consider this concept alongside the project; its source assumptions may differ. These observations do not prove a theorem.
Input: 12 × 2; Held-out evaluation: 102 · #58 · 40.6 mm, 193 mm. Known answer: Adélie; Prediction: Adélie · [≈0.7383, ≈0.2444, ≈0.01737].
Used in these source sections: 2.2 Weight size and room to decide
Compute the two complexity terms and the upper estimate in a one-sample scalar network.
The argument iterates norm and activation bounds across layers.
Source formula example
illustration · This exact one-dimensional example does not prove the general layer-peeling inequality.
Symbols
- Rademacher complexity.
- Biasless network class with per-layer Frobenius norm bound C.
- Independent uniform random signs ±1.
- Random input.
- Activation.
- Sample count and network depth.
Source formula example
This source example uses its own inputs and assumptions. Editing it does not change the project.
Edit a value or the code, then run the example. This is a finite demonstration, not a proof of the paper’s theorem.
This example’s data flow
Code changed. Reset to restore this example’s data flow.
You choose
input.C= 1
Calculated here
Result expression: { fullComplexity, peeledComplexity, upperBound }
C=input.CUses:input.CfullComplexity=C * CUses:CpeeledComplexity=C * CUses:CupperBound=2 * C * CUses:C
Returns
fullComplexity- 1
peeledComplexity- 1
upperBound- 2
Read numbers from input and return the result. JavaScript basics.
Result
Technical statement
Set m=1, L=2, X=1 and use ReLU. For either τ sign, the full class supremum is C² by choosing hidden and output scalar weights at their bounds. The corresponding peeled supremum is C, and the expectation enumerates τ=±1 equally. The final upper bound is 2C². The source theorem assumes unit-ball inputs and a 1-Lipschitz positively homogeneous activation.
Source: Source expression