Changeset 7179:8d575f971184 in orange
- Timestamp:
- 01/31/11 12:48:01 (2 years ago)
- Branch:
- default
- Convert:
- 083c861cc92d29e2998a75e117c518afc9bbe3e1
- File:
-
- 1 edited
-
orange/Orange/cluster/__init__.py (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
orange/Orange/cluster/__init__.py
r7107 r7179 1 1 """ 2 2 3 .. index:: clutering 3 .. index:: clustering 4 5 Everything about clustering, including agglomerative and hierarchical clustering. 4 6 5 7 ================== … … 447 449 class KMeans: 448 450 """ 449 K-means clustering algorithm:451 Implements a k-means clustering algorithm: 450 452 451 453 #. Choose the number of clusters, k. … … 457 459 met (e.g., the cluster assignment has not changed). 458 460 459 The main advantage of the algorithm issimplicity and low memory461 The main advantages of this algorithm are simplicity and low memory 460 462 requirements. The principal disadvantage is the dependence of results 461 463 on the selection of initial set of centroids. … … 475 477 outer_callback = None): 476 478 """ 477 :param data: Instances to be clustered. If not None, clustering will be executed immediately after initialization unless initialize_only is set toTrue.479 :param data: Data instances to be clustered. If not None, clustering will be executed immediately after initialization unless initialize_only=True. 478 480 :type data: :class:`orange.ExampleTable` or None 479 481 :param centroids: either specify a number of clusters or provide a list of examples that will serve as clustering centroids. … … 516 518 517 519 def __call__(self, data = None): 518 """ Runs with optional new data."""520 """Runs the k-means clustering algorithm, with optional new data.""" 519 521 if data: 520 522 self.data = data
Note: See TracChangeset
for help on using the changeset viewer.
