rainette2_complete_groups {rainette} | R Documentation |
Complete groups membership with knn classification
Description
Starting with groups membership computed from a rainette2
clustering,
every document not assigned to a cluster is reassigned using a k-nearest
neighbour classification.
Usage
rainette2_complete_groups(dfm, groups, k = 1, ...)
Arguments
dfm |
dfm object used for |
groups |
group membership computed by |
k |
number of neighbours considered. |
... |
other arguments passed to |
Value
Completed group membership vector.
See Also
cutree_rainette2()
, FNN::knn()
[Package rainette version 0.3.1.1 Index]