Examples of sortByX()


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

  }

  private void computeGlobalCorrelation() {
    setStatusInfo("computing one-shot correlations");
    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());
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.