Description Usage Arguments Details Value Author(s) References Examples

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

1 |

`m` |
matrix of (scaled) membership values |

`tc` |
vector of true classes |

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

The

*correctness rate*is the estimator for the correctness of a classification rule (1-error rate).The

*accuracy*is based on the euclidean distances between (scaled) membership vectors and the vectors representing the true class corner. These distances are standardized so that a measure of 1 is achieved if all vectors lie in the correct corners and 0 if they all lie in the center.Analougously, the

*ability to seperate*is based on the distances between (scaled) membership vectors and the vector representing the corresponding assigned class corner.The

*confidence*is the mean of the membership values of the assigned classes.

A list with elements:

`CR` |
Correctness Rate |

`AC` |
Accuracy |

`AS` |
Ability to Seperate |

`CF` |
Confidence |

`CFvec` |
Confidence for each (true) class |

Karsten Luebke, karsten.luebke@fom.de

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

1 2 3 |

```
Loading required package: MASS
$CR
[1] 0.98
$AC
[1] 0.9527401
$AS
[1] 0.971972
$CF
[1] 0.983818
$CFvec
setosa versicolor virginica
1.0000000 0.9791587 0.9722954
```

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.