Interface LearningPerformanceEvaluator<E extends Example>

    • Method Detail

      • reset

        void reset()
        Resets this evaluator. It must be similar to starting a new evaluator from scratch.
      • addResult

        void addResult​(E example,
                       double[] classVotes)
        Adds a learning result to this evaluator.
        Parameters:
        example - the example to be classified
        classVotes - an array containing the estimated membership probabilities of the test instance in each class
      • addResult

        void addResult​(E testInst,
                       Prediction prediction)
      • getPerformanceMeasurements

        Measurement[] getPerformanceMeasurements()
        Gets the current measurements monitored by this evaluator.
        Returns:
        an array of measurements monitored by this evaluator