Class WekaEvaluationContainer

    • Constructor Detail

      • WekaEvaluationContainer

        public WekaEvaluationContainer()
        Initializes the container.

        Only used for generating help information.
      • WekaEvaluationContainer

        public WekaEvaluationContainer​(weka.classifiers.Evaluation eval)
        Initializes the container with no header.
        Parameters:
        eval - the evaluation to use
      • WekaEvaluationContainer

        public WekaEvaluationContainer​(weka.classifiers.Evaluation eval,
                                       Object model)
        Initializes the container with no header.
        Parameters:
        eval - the evaluation to use
        model - the model to use
      • WekaEvaluationContainer

        public WekaEvaluationContainer​(weka.classifiers.Evaluation eval,
                                       Object model,
                                       String predOutput)
        Initializes the container with no header.
        Parameters:
        eval - the evaluation to use
        model - the model to use, can be null
        predOutput - the prediction output string, can be null
      • WekaEvaluationContainer

        public WekaEvaluationContainer​(weka.classifiers.Evaluation eval,
                                       Object model,
                                       String predOutput,
                                       int[] originalIndices)
        Initializes the container with no header.
        Parameters:
        eval - the evaluation to use
        model - the model to use, can be null
        predOutput - the prediction output string, can be null
        originalIndices - the original indices (for tracing the predictions), can be null
    • Method Detail

      • isValid

        public boolean isValid()
        Checks whether the setup of the container is valid.
        Specified by:
        isValid in interface Container
        Specified by:
        isValid in class AbstractContainer
        Returns:
        true if all the necessary values are available