Class ByExactName

    • Field Detail

      • m_Name

        protected String m_Name
        the string to match the attribute names against.
    • Constructor Detail

      • ByExactName

        public ByExactName()
    • Method Detail

      • setName

        public void setName​(String value)
        Sets the name to use.
        Parameters:
        value - the name
      • getName

        public String getName()
        Returns the name in use.
        Returns:
        the name
      • nameTipText

        public String nameTipText()
        Returns the tip text for this property.
        Returns:
        tip text for this property suitable for displaying in the gui
      • determineClassAttribute

        public int determineClassAttribute​(weka.core.Instances data)
        Determines the class attribute index for the given dataset.
        Specified by:
        determineClassAttribute in class AbstractClassAttributeHeuristic
        Parameters:
        data - the dataset to inspect
        Returns:
        the index, -1 if failed to determine