Package com.ipeirotis.gal.core

Examples of com.ipeirotis.gal.core.ConfusionMatrix.normalize()


      // Double currentCount = eval_cm.getErrorRate(correctCategory,
      // assignedCategory);
      eval_cm.addError(correctCategory, assignedCategory, 1.0);
    }
    eval_cm.normalize();
    w.setEvalConfusionMatrix(eval_cm);
  }
 

  public Integer countGoldTests(Set<AssignedLabel> labels) {
View Full Code Here


        Double error = probabilities.get(source);
        cm.addError(source, destination, error);
      }

    }
    cm.normalize();

    w.setConfusionMatrix(cm);

  }
View Full Code Here

    confMatrix.empty();
    for (Datum d : object.getObjects().values()) {
      populateConfusionMatrix(clasMethod, confMatrix, d);
    }
    confMatrix.normalize();

    return confMatrix;
  }

  /**
 
View Full Code Here

        confMatrix.addError(fromCategory, toCategory, prob);
      }
    }

    confMatrix.normalize();

    return confMatrix;
  }

}
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.