Package weka.classifiers.lazy.AM.label
Class LabelerFactory.LongLabelerFactory
- java.lang.Object
- 
- weka.classifiers.lazy.AM.label.LabelerFactory.LongLabelerFactory
 
- 
- All Implemented Interfaces:
- LabelerFactory
 - Enclosing interface:
- LabelerFactory
 
 public static class LabelerFactory.LongLabelerFactory extends java.lang.Object implements LabelerFactory 
- 
- 
Nested Class Summary- 
Nested classes/interfaces inherited from interface weka.classifiers.lazy.AM.label.LabelerFactoryLabelerFactory.BitSetLabelerFactory, LabelerFactory.CardinalityBasedLabelerFactory, LabelerFactory.IntLabelerFactory, LabelerFactory.LongLabelerFactory
 
- 
 - 
Constructor SummaryConstructors Constructor Description LongLabelerFactory()
 - 
Method SummaryAll Methods Instance Methods Concrete 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.intgetMaximumCardinality()
 
- 
- 
- 
Method Detail- 
createLabelerpublic Labeler createLabeler(weka.core.Instance testInstance, boolean ignoreUnknowns, MissingDataCompare mdc) Description copied from interface:LabelerFactoryCreate and return a newLabelerinstance for labeling data instances via comparison with a test instance.- Specified by:
- createLabelerin interface- LabelerFactory
- Parameters:
- testInstance- The instance being classified
- ignoreUnknowns- True if missing data should be ignored, false otherwise
- mdc- The strategy for comparing missing data
- Returns:
- A new Labeler
 
 - 
getMaximumCardinalitypublic int getMaximumCardinality() - Specified by:
- getMaximumCardinalityin interface- LabelerFactory
- Returns:
- The maximum cardinality for labels created by this labeler, or -1 if there is no maximum.
 
 
- 
 
-