Class AbstractAttributeSelectionEvaluation

    • Constructor Detail

      • AbstractAttributeSelectionEvaluation

        public AbstractAttributeSelectionEvaluation()
    • Method Detail

      • canEvaluate

        public abstract String canEvaluate​(weka.attributeSelection.ASEvaluation evaluator,
                                           weka.attributeSelection.ASSearch search)
        Tests whether attribute selection can be performed.
        Returns:
        null if successful, otherwise error message
      • init

        public abstract ResultItem init​(weka.attributeSelection.ASEvaluation evaluator,
                                        weka.attributeSelection.ASSearch search)
                                 throws Exception
        Initializes the result item.
        Parameters:
        evaluator - the current evaluator
        search - the current search
        Returns:
        the initialized history item
        Throws:
        Exception - if initialization fails
      • doEvaluate

        protected abstract void doEvaluate​(weka.attributeSelection.ASEvaluation evaluator,
                                           weka.attributeSelection.ASSearch search,
                                           ResultItem item)
                                    throws Exception
        Performs attribute selections and updates the result item.
        Parameters:
        evaluator - the current evaluator
        search - the current search
        item - the result item to update
        Throws:
        Exception - if evaluation fails
      • evaluate

        public void evaluate​(weka.attributeSelection.ASEvaluation evaluator,
                             weka.attributeSelection.ASSearch search,
                             ResultItem item)
                      throws Exception
        Performs attribute selections and updates the result item.
        Parameters:
        evaluator - the current evaluator
        search - the current search
        item - the result item to update
        Throws:
        Exception - if evaluation fails
      • getEvaluations

        public static Class[] getEvaluations()
        Returns the available actions.
        Returns:
        the action classnames