/usr/lib/python2.7/dist-packages/cluster-1.3.3.egg-info/PKG-INFO is in python-cluster 1.3.3-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76  | Metadata-Version: 1.1
Name: cluster
Version: 1.3.3
Summary: UNKNOWN
Home-page: https://github.com/exhuma/python-cluster
Author: Michel Albert
Author-email: michel@albert.lu
License: LGPL
Description: DESCRIPTION
        ===========
        
        .. image:: https://readthedocs.org/projects/python-cluster/badge/?version=latest
            :target: http://python-cluster.readthedocs.org
            :alt: Documentation Status
        
        python-cluster is a "simple" package that allows 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.
        
        Algorithms are based on the document found at
        http://www.elet.polimi.it/upload/matteucc/Clustering/tutorial_html/
        
        .. note::
            The above site is no longer avaialble, but you can still view it in the
            internet archive at:
            https://web.archive.org/web/20070912040206/http://home.dei.polimi.it//matteucc/Clustering/tutorial_html/
        
        
        USAGE
        =====
        
        A simple python program could look like this::
        
           >>> from cluster import HierarchicalClustering
           >>> data = [12,34,23,32,46,96,13]
           >>> cl = HierarchicalClustering(data, lambda x,y: abs(x-y))
           >>> cl.getlevel(10)     # get clusters of items closer than 10
           [96, 46, [12, 13, 23, 34, 32]]
           >>> cl.getlevel(5)      # get clusters of items closer than 5
           [96, 46, [12, 13], 23, [34, 32]]
        
        Note, that when you retrieve a set of clusters, it immediately starts the
        clustering process, which is quite complex. If you intend to create clusters
        from a large dataset, consider doing that in a separate thread.
        
        For K-Means clustering it would look like this::
        
            >>> from cluster import KMeansClustering
            >>> cl = KMeansClustering([(1,1), (2,1), (5,3), ...])
            >>> clusters = cl.getclusters(2)
        
        The parameter passed to getclusters is the count of clusters generated.
        
        
        .. image:: https://readthedocs.org/projects/python-cluster/badge/?version=latest
            :target: http://python-cluster.readthedocs.org
            :alt: Documentation Status
        
Platform: UNKNOWN
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Developers
Classifier: Intended Audience :: Education
Classifier: Intended Audience :: Other Audience
Classifier: Intended Audience :: Science/Research
Classifier: License :: OSI Approved :: GNU Lesser General Public License v2 (LGPLv2)
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 3
Classifier: Topic :: Scientific/Engineering :: Information Analysis
 |