Learn R Programming

c2c (version 0.1.0)

overall_entropy: Calculate overall cluster entropy

Description

Used to calculate overall cluster entropy from a confusion matrix.

Usage

overall_entropy(conf_mat)

Arguments

conf_mat

A confusion matrix from get_conf_mat or otherwise (ideally a matrix, although data frames will probably work)

Value

A scaler, cluster entropy as defined in Manning (2008)

References

Manning, C. D., Raghavan, P., & Sch<U+00FC>tze, H. (2008) Introduction to information retrieval (Vol. 1, No. 1). Cambridge: Cambridge university press.