The python-cluster package allows you to create several groups
(clusters) of objects from a list. It’s meant to be flexible and able
to cluster any object. To ensure this kind of flexibility, you need
not only to supply the list of objects, but also a function that
calculates the similarity between two of those objects. For simple
datatypes, like integers, this can be as simple as a subtraction, but
more complex calculations are possible. Right now, it is possible to
generate the clusters using a hierarchical clustering and the popular
K-Means algorithm. For the hierarchical algorithm there are different
“linkage” (single, complete, average and uclus) methods available.
Provides
Requires
License
LGPL-2.0-or-later
Changelog
* Fri May 09 2025 Steve Kowalik <steven.kowalik@suse.com>
- Switch to pyproject macros.
- No more greedy globs in %files.
* Sat Feb 03 2024 Dirk Müller <dmueller@suse.com>
- require setuptools
* Mon May 24 2021 Steve Kowalik <steven.kowalik@suse.com>
- Do not build for Python 3.6, due to no NumPy.
* Tue Jul 23 2019 Todd R <toddrme2178@gmail.com>
- Update to 1.4.1.post2
* Update changelog.
* Removed the Pipfile which was introduced in 1.4.1.post1.
The file caused false positives on security checks.
Additionally, having a Pipfile is mainly useful in
applications, and not in libraries like this one.
- Update to 1.4.1.post1
* Update changelog.
* Switch doc-building to use pipenv & update Pipfile accordingly.
* Wed Jun 20 2018 tchvatal@suse.com
- Switch from wheel to normal distri packaging bsc#1094323
* Wed May 16 2018 toddrme2178@gmail.com
- Update to 1.4.1
* Added a "display" method to hierarchical clusters (by 1kastner).
* issue in multiprocessing code.
* Multiprocessing (by loisaidasam)
* Python 3 support
* Split up one big file into smaller more logical sub-modules
* Fixed https://github.com/exhuma/python-cluster/issues/11
* Documentation update.
- Implement single-spec version
- Switch to wheel-based package
* Thu Sep 26 2013 p.drouand@gmail.com
- Update to version 1.1.2
+ Changelog is not update and don't provide changes
- Replace python-distribute with python-setuptools BuildRequires
* Thu Jan 03 2013 toddrme2178@gmail.com
- Fix builds for SLES 11
* Thu Jan 12 2012 saschpe@suse.de
- Spec file cleanup:
* Don't rm -rf %buildroot
* Fix license, it's LGPL-2.0+ (not BSD)
* BuildRequire python-distribute instead of python-setuptools
* Some macro cleanup
* Tue Jan 10 2012 jweberhofer@weberhofer.at
- initial release 1.1.1b3
Files
/usr/lib/python3.13/site-packages/cluster
/usr/lib/python3.13/site-packages/cluster-1.4.1.post2.dist-info
/usr/lib/python3.13/site-packages/cluster-1.4.1.post2.dist-info/INSTALLER
/usr/lib/python3.13/site-packages/cluster-1.4.1.post2.dist-info/METADATA
/usr/lib/python3.13/site-packages/cluster-1.4.1.post2.dist-info/RECORD
/usr/lib/python3.13/site-packages/cluster-1.4.1.post2.dist-info/REQUESTED
/usr/lib/python3.13/site-packages/cluster-1.4.1.post2.dist-info/WHEEL
/usr/lib/python3.13/site-packages/cluster-1.4.1.post2.dist-info/licenses
/usr/lib/python3.13/site-packages/cluster-1.4.1.post2.dist-info/licenses/LICENSE
/usr/lib/python3.13/site-packages/cluster-1.4.1.post2.dist-info/top_level.txt
/usr/lib/python3.13/site-packages/cluster/__init__.py
/usr/lib/python3.13/site-packages/cluster/__pycache__
/usr/lib/python3.13/site-packages/cluster/__pycache__/__init__.cpython-313.opt-1.pyc
/usr/lib/python3.13/site-packages/cluster/__pycache__/__init__.cpython-313.pyc
/usr/lib/python3.13/site-packages/cluster/__pycache__/cluster.cpython-313.opt-1.pyc
/usr/lib/python3.13/site-packages/cluster/__pycache__/cluster.cpython-313.pyc
/usr/lib/python3.13/site-packages/cluster/__pycache__/linkage.cpython-313.opt-1.pyc
/usr/lib/python3.13/site-packages/cluster/__pycache__/linkage.cpython-313.pyc
/usr/lib/python3.13/site-packages/cluster/__pycache__/matrix.cpython-313.opt-1.pyc
/usr/lib/python3.13/site-packages/cluster/__pycache__/matrix.cpython-313.pyc
/usr/lib/python3.13/site-packages/cluster/__pycache__/util.cpython-313.opt-1.pyc
/usr/lib/python3.13/site-packages/cluster/__pycache__/util.cpython-313.pyc
/usr/lib/python3.13/site-packages/cluster/cluster.py
/usr/lib/python3.13/site-packages/cluster/linkage.py
/usr/lib/python3.13/site-packages/cluster/matrix.py
/usr/lib/python3.13/site-p