Examples of AssignedLabel


Examples of com.ipeirotis.gal.core.AssignedLabel

      String workername = entries[0];
      String objectname = entries[1];
      String categoryname = entries[2];

      AssignedLabel al = new AssignedLabel(workername, objectname,
          categoryname);
      labels.add(al);
    }
    return labels;
  }
View Full Code Here

Examples of com.ipeirotis.gal.scripts.AssignedLabel

        ds.addMisclassificationCost(new MisclassificationCost(relevant.getName(), irrelevant.getName(), 1.0));
        ds.addMisclassificationCost(new MisclassificationCost(irrelevant.getName(), relevant.getName(), 1.0));

        for (Vote vote : votes ) {
           if (vote.sequence <= threshold ) {
              AssignedLabel l = new AssignedLabel( vote.worker, vote.unit, vote.label);
              ds.addAssignedLabel(l);
            }
        }

        ds.estimate( 20 );
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.