__init__(num_means, distance[, repeats, ...]) |
| param num_means: |
| | the number of means to use (may use fewer) |
|
classification_probdist(vector) |
Classifies the token into a cluster, returning a probability distribution over the cluster identifiers. |
classify(vector) |
|
classify_vectorspace(vector) |
|
cluster(vectors[, assign_clusters, trace]) |
|
cluster_name(index) |
Returns the names of the cluster at index. |
cluster_names() |
Returns the names of the clusters. |
cluster_vectorspace(vectors[, trace]) |
|
likelihood(vector, label) |
|
likelihood_vectorspace(vector, cluster) |
Returns the likelihood of the vector belonging to the cluster. |
means() |
The means used for clustering. |
num_clusters() |
|
unicode_repr() |
|
vector(vector) |
Returns the vector after normalisation and dimensionality reduction |