ucpm: Uschi's classification performance measures

Description Usage Arguments Details Value Author(s) References Examples

View source: R/ucpm.R

Description

Function to calculate the Correctness Rate, the Accuracy, the Ability to Seperate and the Confidence of a classification rule.

Usage

1
ucpm(m, tc, ec = NULL)

Arguments

m

matrix of (scaled) membership values

tc

vector of true classes

ec

vector of estimated classes (only required if scaled membership values are used)

Details

Value

A list with elements:

CR

Correctness Rate

AC

Accuracy

AS

Ability to Seperate

CF

Confidence

CFvec

Confidence for each (true) class

Author(s)

Karsten Luebke, karsten.luebke@fom.de

References

Garczarek, Ursula Maria (2002): Classification rules in standardized partition spaces. Dissertation, University of Dortmund. URL http://hdl.handle.net/2003/2789

Examples

1
2
3
library(MASS)
data(iris)
ucpm(predict(lda(Species ~ ., data = iris))$posterior, iris$Species)

klaR documentation built on May 29, 2017, 11:01 a.m.

Search within the klaR package
Search all R packages, documentation and source code