A program to recognize and reward our most engaged community members
i conclude from this, that the most interessting measure (overall) is the accuracy and the other ones are more class specific.
Ingo Mierswa wrote:If you have more than two classes and search for a single-number-evaluation to optimize there is not much left beside accuracy and kappa (and some others).
double pa = accuracy; double pe = 0.0d; for (int i = 0; i < counter.length; i++) { double row = 0.0d; double column = 0.0d; for (int j = 0; j < counter.length; j++) { row += counter; column += counter; } //pe += ((row * column) / Math.pow(total, counter.length)); pe += ((row * column) / (total * total)); } return (pa - pe) / (1.0d - pe);