misclassRate: Calculate misclassification rate given pairs, model...

Description Usage Arguments Value

View source: R/forEvaluation.R

Description

Calculate misclassification rate given pairs, model prediction and true match status

Usage

1
misclassRate(allPairwise, linkCol, matchColNum)

Arguments

allPairwise

name of data frame containing all pairwise comparisons. This needs to have at least two columns, one representing whether the pair is linked in the given clustering, and one representing the true match/non-match status. These are enumerated in the next two parameters.

linkCol

name of column in 'allPairwise' with links, input as character, e.g. "minimax0.4"

matchColNum

column number of column in 'allPairwise' indicating true match/non-match status

Value

misclassification rate


xhtai/clusterTruster documentation built on May 22, 2020, 10:56 a.m.