How statement and proof provenance work
The first chip identifies the source of the statement or construction; the second identifies the source of its local proof or verification.
- Literature-sourced: the exact statement appears in a cited source; only wording and notation differ.
- AI-adapted: a semantically identical restatement of literature-sourced material, modulo indexing, notation, and boundary cases adopted by the library.
- AI-generated: a genuinely novel statement formulated by AI, with no source for the claim itself.
These labels describe origin, not correctness: citations and verification chips remain separate evidence.
Lloyd's k-means algorithm with explicit tie handling
Definition
Input. Let be positive integers, let , let , and supply initial centers .
Initialization. Assign each to a nearest initial center, choosing the smallest center index in a tie. Denote these labels by .
Iteration. For :
- With the current centers fixed, assign each to a nearest center. If its current label is among the nearest-center indices, retain ; otherwise choose the smallest nearest-center index. Call the resulting labels .
- For each nonempty cluster , set If is empty, set .
- If both and , return these labels and centers. Otherwise continue with the updated labels and centers.
The procedure makes no global-minimization claim. Its termination under these tie rules is proved separately.
Depends on
Used by
Dependency tree · one level
1 result within one dependency step of this one, each drawn at its shortest distance from it. An arrow runs from a result to what uses it, so the chart reads left to right and ends at this result, which carries a heavier outline. Every node is a link to that result. Click elsewhere on the chart to enlarge it.
Sources
- Hastie, Tibshirani, and Friedman, The Elements of Statistical Learning, 2nd ed., corrected 12th printing (standard reference, not scraped)
- Christopher M. Bishop, Pattern Recognition and Machine Learning (standard reference, not scraped)