Changeset 7289:64fab3f2ba6c in orange


Ignore:
Timestamp:
02/03/11 10:11:11 (3 years ago)
Author:
markotoplak
Branch:
default
Convert:
89d33e2acb9e77ceaff0ddfad8572775624a2f04
Message:

Fixed clustering -> transformed variables in class KMeans to attributes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orange/Orange/cluster/__init__.py

    r7183 r7289  
    420420 
    421421class KMeans_init_hierarchicalClustering(): 
    422     """Is actually a class that returns an clustering initialization function that performs hierarhical clustering, uses it to infer k clusters, and computes a list of cluster-based data centers.""" 
     422    """A class that returns an clustering initialization function that performs hierarhical clustering, uses it to infer k clusters, and computes a list of cluster-based data centers.""" 
    423423 
    424424    def __init__(self, n=100): 
     
    464464    on the selection of initial set of centroids. 
    465465 
    466     :var k: Number of clusters. 
    467     :var data: Instances to cluster. 
    468     :var centroids: Current set of centroids.  
    469     :var scoring: Current clustering score. 
    470     :var iteration: Current clustering iteration. 
    471     :var clusters:  A list of cluster indexes. An i-th element provides an 
    472     index to a centroid associated with i-th data instance from the input  
    473     data set.  
    474  
     466    .. attribute:: k 
     467 
     468        Number of clusters. 
     469 
     470    .. attribute:: data 
     471 
     472        Instances to cluster. 
     473 
     474    .. attribute:: centroids 
     475 
     476        Current set of centroids.  
     477 
     478    .. attribute:: scoring 
     479 
     480        Current clustering score. 
     481 
     482    .. attribute:: iteration 
     483 
     484        Current clustering iteration. 
     485 
     486    .. attribute:: clusters 
     487 
     488        A list of cluster indexes. An i-th element provides an 
     489        index to a centroid associated with i-th data instance from the input  
     490        data set.  
    475491    """ 
    476492 
Note: See TracChangeset for help on using the changeset viewer.