Description Usage Arguments Details Value Examples
View source: R/calculFastSpectral_p.r
Compute intra and inter-cluster cuts from the similarity matrix of a dataset.
1 | cutCalculation(similarity, label, K)
|
similarity |
a similarity matrix. |
label |
vector of cluster sequencing. |
K |
number of clusters. (= nbCluster CALCULE DANS LA FONCTION ???) |
intra cluster cut :
Cut(g_{k},g_{l}) = ∑_{i=1,x(i)\in g_{k}}^{N_{p}}∑_{j=1,x(j)\in g_{l}}^{N_{p}}w(x(i),x(j))
The function returns a list containing:
mncut |
the inter-cluster cut, i.e. K-sum(ratioCutVol). |
ratioCutVol |
vector of intra-cluster cuts, one component per cluster. |
1 2 3 4 5 6 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.