Class LabelerFactory.IntLabelerFactory

    • Constructor Detail

      • IntLabelerFactory

        public IntLabelerFactory()
    • Method Detail

      • createLabeler

        public Labeler createLabeler​(weka.core.Instance testInstance,
                                     boolean ignoreUnknowns,
                                     MissingDataCompare mdc)
        Description copied from interface: LabelerFactory
        Create and return a new Labeler instance for labeling data instances via comparison with a test instance.
        Specified by:
        createLabeler in 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
      • getMaximumCardinality

        public int getMaximumCardinality()
        Specified by:
        getMaximumCardinality in interface LabelerFactory
        Returns:
        The maximum cardinality for labels created by this labeler, or -1 if there is no maximum.