{"record_type":"pith_number_record","schema_url":"https://pith.science/schemas/pith-number/v1.json","pith_number":"pith:2017:XYT7D3QHJVI3CWAMLFFYNRMBBY","short_pith_number":"pith:XYT7D3QH","schema_version":"1.0","canonical_sha256":"be27f1ee074d51b1580c594b86c5810e0d0266a6dfcae19eea7a94de5120a15b","source":{"kind":"arxiv","id":"1701.07204","version":4},"attestation_state":"computed","paper":{"title":"Fast Exact k-Means, k-Medians and Bregman Divergence Clustering in 1D","license":"http://arxiv.org/licenses/nonexclusive-distrib/1.0/","headline":"","cross_cats":["cs.AI","cs.LG"],"primary_cat":"cs.DS","authors_text":"Alexander Mathiasen, Allan Gr{\\o}nlund, Jesper Sindahl Nielsen, Kasper Green Larsen, Mingzhou Song, Stefan Schneider","submitted_at":"2017-01-25T08:44:04Z","abstract_excerpt":"The $k$-Means clustering problem on $n$ points is NP-Hard for any dimension $d\\ge 2$, however, for the 1D case there exists exact polynomial time algorithms. Previous literature reported an $O(kn^2)$ time dynamic programming algorithm that uses $O(kn)$ space. It turns out that the problem has been considered under a different name more than twenty years ago. We present all the existing work that had been overlooked and compare the various solutions theoretically. Moreover, we show how to reduce the space usage for some of them, as well as generalize them to data structures that can quickly rep"},"verification_status":{"content_addressed":true,"pith_receipt":true,"author_attested":false,"weak_author_claims":0,"strong_author_claims":0,"externally_anchored":false,"storage_verified":false,"citation_signatures":0,"replication_records":0,"graph_snapshot":true,"references_resolved":false,"formal_links_present":false},"canonical_record":{"source":{"id":"1701.07204","kind":"arxiv","version":4},"metadata":{"license":"http://arxiv.org/licenses/nonexclusive-distrib/1.0/","primary_cat":"cs.DS","submitted_at":"2017-01-25T08:44:04Z","cross_cats_sorted":["cs.AI","cs.LG"],"title_canon_sha256":"31927831f4cb7dbe0955452a68a3093f8f2b4d525f225861f28c054dad289937","abstract_canon_sha256":"5dba578890757e2b18de7f81e125316e28a321c5fe9e9cb06a4464a4fd43f832"},"schema_version":"1.0"},"receipt":{"kind":"pith_receipt","key_id":"pith-v1-2026-05","algorithm":"ed25519","signed_at":"2026-05-18T00:17:35.654732Z","signature_b64":"D0zY1hDt/pDBzOS/1Oy4W068bZMqhYrtumkScXMXW+qwQshc0i37mXVggKe+4T1lxniydMT8lbl6DejFbSWFCg==","signed_message":"canonical_sha256_bytes","builder_version":"pith-number-builder-2026-05-17-v1","receipt_version":"0.3","canonical_sha256":"be27f1ee074d51b1580c594b86c5810e0d0266a6dfcae19eea7a94de5120a15b","last_reissued_at":"2026-05-18T00:17:35.654246Z","signature_status":"signed_v1","first_computed_at":"2026-05-18T00:17:35.654246Z","public_key_fingerprint":"8d4b5ee74e4693bcd1df2446408b0d54"},"graph_snapshot":{"paper":{"title":"Fast Exact k-Means, k-Medians and Bregman Divergence Clustering in 1D","license":"http://arxiv.org/licenses/nonexclusive-distrib/1.0/","headline":"","cross_cats":["cs.AI","cs.LG"],"primary_cat":"cs.DS","authors_text":"Alexander Mathiasen, Allan Gr{\\o}nlund, Jesper Sindahl Nielsen, Kasper Green Larsen, Mingzhou Song, Stefan Schneider","submitted_at":"2017-01-25T08:44:04Z","abstract_excerpt":"The $k$-Means clustering problem on $n$ points is NP-Hard for any dimension $d\\ge 2$, however, for the 1D case there exists exact polynomial time algorithms. Previous literature reported an $O(kn^2)$ time dynamic programming algorithm that uses $O(kn)$ space. It turns out that the problem has been considered under a different name more than twenty years ago. We present all the existing work that had been overlooked and compare the various solutions theoretically. Moreover, we show how to reduce the space usage for some of them, as well as generalize them to data structures that can quickly rep"},"claims":{"count":0,"items":[],"snapshot_sha256":"258153158e38e3291e3d48162225fcdb2d5a3ed65a07baac614ab91432fd4f57"},"source":{"id":"1701.07204","kind":"arxiv","version":4},"verdict":{"id":null,"model_set":{},"created_at":null,"strongest_claim":"","one_line_summary":"","pipeline_version":null,"weakest_assumption":"","pith_extraction_headline":""},"references":{"count":0,"sample":[],"resolved_work":0,"snapshot_sha256":"258153158e38e3291e3d48162225fcdb2d5a3ed65a07baac614ab91432fd4f57","internal_anchors":0},"formal_canon":{"evidence_count":0,"snapshot_sha256":"258153158e38e3291e3d48162225fcdb2d5a3ed65a07baac614ab91432fd4f57"},"author_claims":{"count":0,"strong_count":0,"snapshot_sha256":"258153158e38e3291e3d48162225fcdb2d5a3ed65a07baac614ab91432fd4f57"},"builder_version":"pith-number-builder-2026-05-17-v1"},"aliases":[{"alias_kind":"arxiv","alias_value":"1701.07204","created_at":"2026-05-18T00:17:35.654328+00:00"},{"alias_kind":"arxiv_version","alias_value":"1701.07204v4","created_at":"2026-05-18T00:17:35.654328+00:00"},{"alias_kind":"doi","alias_value":"10.48550/arxiv.1701.07204","created_at":"2026-05-18T00:17:35.654328+00:00"},{"alias_kind":"pith_short_12","alias_value":"XYT7D3QHJVI3","created_at":"2026-05-18T12:31:56.362134+00:00"},{"alias_kind":"pith_short_16","alias_value":"XYT7D3QHJVI3CWAM","created_at":"2026-05-18T12:31:56.362134+00:00"},{"alias_kind":"pith_short_8","alias_value":"XYT7D3QH","created_at":"2026-05-18T12:31:56.362134+00:00"}],"events":[],"event_summary":{},"paper_claims":[],"inbound_citations":{"count":0,"internal_anchor_count":0,"sample":[]},"formal_canon":{"evidence_count":0,"sample":[],"anchors":[]},"links":{"html":"https://pith.science/pith/XYT7D3QHJVI3CWAMLFFYNRMBBY","json":"https://pith.science/pith/XYT7D3QHJVI3CWAMLFFYNRMBBY.json","graph_json":"https://pith.science/api/pith-number/XYT7D3QHJVI3CWAMLFFYNRMBBY/graph.json","events_json":"https://pith.science/api/pith-number/XYT7D3QHJVI3CWAMLFFYNRMBBY/events.json","paper":"https://pith.science/paper/XYT7D3QH"},"agent_actions":{"view_html":"https://pith.science/pith/XYT7D3QHJVI3CWAMLFFYNRMBBY","download_json":"https://pith.science/pith/XYT7D3QHJVI3CWAMLFFYNRMBBY.json","view_paper":"https://pith.science/paper/XYT7D3QH","resolve_alias":"https://pith.science/api/pith-number/resolve?arxiv=1701.07204&json=true","fetch_graph":"https://pith.science/api/pith-number/XYT7D3QHJVI3CWAMLFFYNRMBBY/graph.json","fetch_events":"https://pith.science/api/pith-number/XYT7D3QHJVI3CWAMLFFYNRMBBY/events.json","actions":{"anchor_timestamp":"https://pith.science/pith/XYT7D3QHJVI3CWAMLFFYNRMBBY/action/timestamp_anchor","attest_storage":"https://pith.science/pith/XYT7D3QHJVI3CWAMLFFYNRMBBY/action/storage_attestation","attest_author":"https://pith.science/pith/XYT7D3QHJVI3CWAMLFFYNRMBBY/action/author_attestation","sign_citation":"https://pith.science/pith/XYT7D3QHJVI3CWAMLFFYNRMBBY/action/citation_signature","submit_replication":"https://pith.science/pith/XYT7D3QHJVI3CWAMLFFYNRMBBY/action/replication_record"}},"created_at":"2026-05-18T00:17:35.654328+00:00","updated_at":"2026-05-18T00:17:35.654328+00:00"}