* described in Provost and Domingos (CeDER Working Paper #IS-00-04, Stern
* School of Business, New York University, 2001), computed by taking a
* weighted average over all one-vs-all binary classification problems
* that can be derived from the multiclass problem, where weights
* correspond to class prior probabilities. */
double[] classProps = new double[data.numClasses()];
for ( int i = 0; i < data.numInstances(); i++ )
classProps[ (int) data.instance(i).classValue() ] += data.instance(i).weight();
Utils.normalize(classProps);
double[][] aucScore = new double[classifiers.length][numRuns];