Update normalization_and_scaling.md

This commit is contained in:
PSBigBig 2025-09-05 11:43:26 +08:00 committed by GitHub
parent 1da9db3df6
commit fe6faad1c2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1,5 +1,22 @@
# Normalization and Scaling — Guardrails and Fix Pattern
<details>
<summary><strong>🧭 Quick Return to Map</strong></summary>
<br>
> You are in a sub-page of **RAG_VectorDB**.
> To reorient, go back here:
>
> - [**RAG_VectorDB** — vector databases for retrieval and grounding](./README.md)
> - [**WFGY Global Fix Map** — main Emergency Room, 300+ structured fixes](../README.md)
> - [**WFGY Problem Map 1.0** — 16 reproducible failure modes](../../README.md)
>
> Think of this page as a desk within a ward.
> If you need the full triage and all prescriptions, return to the Emergency Room lobby.
</details>
Use this page when **vector similarity is unstable because embeddings are not normalized or scaling factors differ** between training and retrieval.
This failure often appears when cosine distance is requested but vectors are stored raw, or when IP/dot metrics exaggerate magnitude.