Class AttributeIndex

    • Constructor Detail

      • AttributeIndex

        public AttributeIndex()
    • Method Detail

      • setIndex

        public void setIndex​(WekaAttributeIndex value)
        Sets the index of the attribute to select.
        Parameters:
        value - the index
      • getIndex

        public WekaAttributeIndex getIndex()
        Returns the index of the attribute to select.
        Returns:
        the index
      • indexTipText

        public String indexTipText()
        Returns the tip text for this property.
        Returns:
        tip text for this property suitable for displaying in the GUI or for listing the options.
      • determineRelationName

        public String determineRelationName​(File file,
                                            weka.core.Instances data)
        Determines the relation name for the given file/dataset pair.
        Specified by:
        determineRelationName in class AbstractRelationNameHeuristic
        Parameters:
        file - the file the dataset was loaded from (maybe null)
        data - the loaded dataset
        Returns:
        the relation name, null if failed to determine