Package com.ipeirotis.gal.core.Datum

Examples of com.ipeirotis.gal.core.Datum.ClassificationMethod


    Set<String> categories = object.getCategories().keySet();
    for (String fromCategory : categories) {
      Double fromProb = d.getCategoryProbability(clasMethod, fromCategory);

      ClassificationMethod probEstimateMethod = getProbabilityEstimationMethod(clasMethod);
      Map<String, Double> toClassifiedAs = d.getProbabilityVector(probEstimateMethod);

      // Both from and to are probabilistic, so we have two nested loops and we
      // compute the estimated confusion matrix here.
      for (String toCategory : categories) {
View Full Code Here


    // If we want to report the estimated confusion matrix
    // for the DS_* techniques the "from" probability estimate
    // is the one returned by DS_Soft, and the "to" is wherever
    // the classification method puts the item.
    ClassificationMethod probEstimateMethod;
    if (clasMethod.name().matches("DS_.+")) {
      probEstimateMethod = ClassificationMethod.DS_Soft;
    } else if (clasMethod.name().matches("MV_.+")) {
      probEstimateMethod = ClassificationMethod.MV_Soft;
    } else {
View Full Code Here

TOP

Related Classes of com.ipeirotis.gal.core.Datum.ClassificationMethod

Copyright © 2018 www.massapicom. 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.