Bug 2541340 - Review Request: python-kmeans1d - A Python package for optimal 1D k-means clustering
Summary: Review Request: python-kmeans1d - A Python package for optimal 1D k-means clu...
Keywords:
Status: CLOSED DEFERRED
Alias: None
Product: Fedora
Classification: Fedora
Component: Package Review
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Nobody's working on this, feel free to take it
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-09-25 11:27 UTC by Peter Robinson
Modified: 2026-10-01 16:25 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2026-10-01 16:25:53 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Peter Robinson 2026-09-25 11:27:54 UTC
SPEC: https://pbrobinson.fedorapeople.org/python-kmeans1d.spec
SRPM: https://pbrobinson.fedorapeople.org/python-kmeans1d-0.5.0-1.fc44.src.rpm

Description:
A Python library with an implementation of k-means clustering on 1D data,
based on the algorithm from Xiaolin (1991), as presented by Gronlund
et al. (2017, Section 2.2).

Globally optimal k-means clustering is NP-hard for multi-dimensional data.
Lloyd's algorithm is a popular approach for finding a locally optimal solution.
For 1-dimensional data, there are polynomial time algorithms. The algorithm
implemented here is an O(kn + n log n) dynamic programming algorithm for
finding the globally optimal k clusters for n 1D data points.

FAS: pbrobinson

koji: https://koji.fedoraproject.org/koji/taskinfo?taskID=150585798


Note You need to log in before you can comment on or make changes to this bug.