sdols (version 1.3)

confidence: Compute Clustering Confidence

Description

This function computes the confidence values for n observations based on a clustering estimate and the expected pairwise allocation matrix.

Usage

confidence(estimate, expectedPairwiseAllocationMatrix)

Arguments

estimate

A vector of length n, where i and j are in the same cluster if and only if clustering[i] == clustering[j].

expectedPairwiseAllocationMatrix

A n-by-n symmetric matrix whose (i,j) elements gives the estimated expected probability that items i and j are in the same cluster.

See Also

expectedPairwiseAllocationMatrix, dlso, salso

Examples

Run this code
# NOT RUN {
probabilities <- expectedPairwiseAllocationMatrix(iris.clusterings)
clustering <- salso(probabilities)
conf <- confidence(clustering,probabilities)
conf
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab