chore: add comment for cosine distance clamping in face embedding matching #684

Open
opened 2026-07-21 21:25:27 +02:00 by chris · 0 comments
Owner

Context\n clamps cosine distance to [0, 1] range. Non-blocking concern from PR #682 review — should have a comment explaining why clamping is needed (floating point edge cases can produce values slightly outside [0,1]).\n\n## Ref\nPR #682, Test Engineer review

## Context\n clamps cosine distance to [0, 1] range. Non-blocking concern from PR #682 review — should have a comment explaining why clamping is needed (floating point edge cases can produce values slightly outside [0,1]).\n\n## Ref\nPR #682, Test Engineer review
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
chris/memories#684
No description provided.