module documentation
Undocumented
Class |
|
Represents a dendrogram, a tree with a specified branching order. This must be initialised with the leaf items, then iteratively call merge for each branch. This class constructs a tree representing the order of calls to the merge function. |
Class |
|
Abstract clusterer which takes tokens and maps them into a vector space. Optionally performs singular value decomposition to reduce the dimensionality. |
Function | cosine |
Returns 1 minus the cosine of the angle between vectors v and u. This is equal to 1 - (u.v / |u||v|). |
Function | euclidean |
Returns the euclidean distance between vectors u and v. This is equivalent to the length of the vector (u - v). |
Class | _ |
Tree node of a dendrogram. |