Bug 2541340

Summary: Review Request: python-kmeans1d - A Python package for optimal 1D k-means clustering
Product: [Fedora] Fedora Reporter: Peter Robinson <pbrobinson>
Component: Package ReviewAssignee: Nobody's working on this, feel free to take it <nobody>
Status: CLOSED DEFERRED QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: package-review
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2026-10-01 16:25:53 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

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