Frame encoder and decoder
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.
Frames and sparse signals · Encode or reconstruct signals with frames and dictionaries.
The project scales bill and flipper measurements using training-row means and scales; its feature vector has two entries.
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: 6.3 Taking apart and rebuilding
The encoder takes inner products with analysis vectors. The decoder combines the coefficients with synthesis vectors.
These operations define structured network layers and their analysis.
Source formula example
illustration · This is one complete finite dual-frame encoder and decoder, not a proof for arbitrary frames.
Symbols
- Analysis coefficient indexed by frame vectors i and j.
- Analysis frame vectors.
- Dual synthesis frame vectors.
- Positive window length.
- Circular convolution.
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.first= 1
Initial values in code
basisWindow=[ [1, 0], [0, 0], [0, 1], ]
Calculated here
Result expression: { coefficients, trace, traceCoordinate: trace / 2, reconstructed }
x=[input.first, 2, 3]Uses:input.firstcoefficients=[ [x[0], x[1]], [x[1], x[2]], [x[2], x[0]], ]Uses:xtrace=basisWindow.reduce( (sum, row, i) => sum + row.reduce((v, z, j) => v + z * coefficients[i][j], 0), 0, )Uses:basisWindow,coefficientsreconstructed=[ (coefficients[0][0] + coefficients[2][1]) / 2, (coefficients[0][1] + coefficients[1][0]) / 2, (coefficients[1][1] + coefficients[2][0]) / 2, ]Uses:coefficients
Returns
coefficients- array (3 items): [array (2 items): [1, 2], array (2 items): [2, 3], array (2 items): [3, 1]]
trace- 2
traceCoordinate- 1
reconstructed- array (3 items): [1, 2, 3]
Read numbers from input and return the result. JavaScript basics.
Result
Technical statement
The cyclic group has d = 3 positions and the window has n = 2, so n < d. Standard basis analysis and synthesis frames produce the six displayed coefficients. The trace and coefficient sum for the first coordinate both equal 2x₁. Each coordinate appears twice; dividing by n reconstructs x. The general identity requires dual-frame assumptions.
Source: Source expression