Examples of listRowData()


Examples of net.sf.collabreview.core.toolbox.Correlation.listRowData()

    Correlation globalResults = correlateQualityPredictions(listArtifacts(), collabReview.getReputationMetricManager());
    globalResults.sortByX();
    resultString += String.format(Locale.US, "One-shot Pearson r=%.2f, one-shot Spearman rho=%.2f\n", globalResults.getPearsonCorrelation(), globalResults.getSpearmanCorrelation());
    String assessedValues = "";
    String predictedValues = "";
    for (Correlation.RowData data : globalResults.listRowData()) {
      assessedValues += String.format(Locale.US, "%6.2f,", data.getX());
      predictedValues += String.format(Locale.US, "%6.2f,", data.getY());
    }
    resultString += "Assessed values:  " + assessedValues + "\n";
    resultString += "Predicted values: " + predictedValues + "\n";
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.