Class AbstractAssociatorEvaluation

    • Constructor Detail

      • AbstractAssociatorEvaluation

        public AbstractAssociatorEvaluation()
    • Method Detail

      • canEvaluate

        public abstract String canEvaluate​(weka.associations.Associator associator)
        Tests whether the associator can be evaluated.
        Parameters:
        associator - the current associator
        Returns:
        null if successful, otherwise error message
      • init

        public abstract ResultItem init​(weka.associations.Associator associator)
                                 throws Exception
        Initializes the result item.
        Parameters:
        associator - the current associator
        Returns:
        the initialized history item
        Throws:
        Exception - if initialization fails
      • doEvaluate

        protected abstract void doEvaluate​(weka.associations.Associator associator,
                                           ResultItem item)
                                    throws Exception
        Evaluates the associator and updates the result item.
        Parameters:
        associator - the current associator
        item - the item to update
        Throws:
        Exception - if evaluation fails
      • evaluate

        public void evaluate​(weka.associations.Associator associator,
                             ResultItem item)
                      throws Exception
        Evaluates the associator and updates the result item.
        Parameters:
        associator - the current associator
        item - the item to update
        Throws:
        Exception - if evaluation fails
      • getEvaluations

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