Package weka.classifiers.lazy.AM.label
Interface LabelerFactory
- 
- All Known Implementing Classes:
- LabelerFactory.BitSetLabelerFactory,- LabelerFactory.CardinalityBasedLabelerFactory,- LabelerFactory.IntLabelerFactory,- LabelerFactory.LongLabelerFactory
 
 public interface LabelerFactoryA factory for creatingLabelerinstances.
- 
- 
Nested Class SummaryNested Classes Modifier and Type Interface Description static classLabelerFactory.BitSetLabelerFactorystatic classLabelerFactory.CardinalityBasedLabelerFactoryThe cardinality of the instances restricts what kinds oflabelscan be used, and the Labeler which produces the smallest, fastest labels will be returned.static classLabelerFactory.IntLabelerFactorystatic classLabelerFactory.LongLabelerFactory
 - 
Method SummaryAll Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description LabelercreateLabeler(weka.core.Instance testInstance, boolean ignoreUnknowns, MissingDataCompare mdc)Create and return a newLabelerinstance for labeling data instances via comparison with a test instance.default intgetMaximumCardinality()
 
- 
- 
- 
Method Detail- 
createLabelerLabeler createLabeler(weka.core.Instance testInstance, boolean ignoreUnknowns, MissingDataCompare mdc) Create and return a newLabelerinstance for labeling data instances via comparison with a test instance.- Parameters:
- testInstance- The instance being classified
- mdc- The strategy for comparing missing data
- ignoreUnknowns- True if missing data should be ignored, false otherwise
- Returns:
- A new Labeler
 
 - 
getMaximumCardinalitydefault int getMaximumCardinality() - Returns:
- The maximum cardinality for labels created by this labeler, or -1 if there is no maximum.
 
 
- 
 
-