I'm relative new to R.
I'm looking for a convenient way to calculate sensitivity and specificity in machine-learning models (SVM, ...). In a two-class case it's quite simple by calculating the TP, TN, FP, FN rates once but in the multi-class case I have to do it as often as there exist different classes (for each class).
Of course I could do it manually in a for-loop or so. But is there a more convenient way? Perhaps on the basis of a confusion table?
Thanks in advance.
Archive maintained by Robert King, hosted by
the discipline of
statistics at the
University of Newcastle,
Archive generated by hypermail 2.2.0, at Sat 19 May 2007 - 20:34:40 GMT.
Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.