Numerical Methods for Modeling
Keep the direction when the encoder changes scale
The first length calculation becomes infinite
A new encoder changes numerical scale and breaks the normalization Botie used for retrieval.
BOTIE
The inputs we are comparing
Encoder coordinates for one document
Original encoder
- 03
- 14
The new encoder’s range trips direct squaring
- 03e+200
- 14e+200
Result for original encoder
- 00.6
- 10.8
A signed embedding arrives at an even larger scale
This check uses the pieces from “Protect the products before they are formed”.
BOTIE
- Encoder coordinates for one document
- 00
- 1-4.9999999999999996e+250
Use a number, text, or an array matching the requested result. A named result uses field names, such as {"count": 2}. For a matrix, put each row in brackets. Saving your prediction runs your current construction on these inputs and checks the earlier examples too.
Build a construction in the workspace above first. This case will test those pieces.
What other failure could remain even after every output direction has length one?
Keep encoder compatibility and retrieval relevance as separate checks from numerical range.
The workshop follows small finite binary64 vectors and deliberately returns zeros for an all-zero input. A caller must decide whether a document with that outcome should enter retrieval.