it.uniroma2.sag.kelp.utils.evaluation

Class MulticlassSequenceClassificationEvaluator

    • Constructor Detail

      • MulticlassSequenceClassificationEvaluator

        public MulticlassSequenceClassificationEvaluator(List<Label> labels)
        Initialize a new F1Evaluator that will work on the specified classes
        Parameters:
        labels -
    • Method Detail

      • addCount

        public void addCount(Example test,
                    Prediction prediction)
        Description copied from class: Evaluator
        This method should be implemented in the subclasses to update counters useful to compute the performance measure
        Overrides:
        addCount in class MulticlassClassificationEvaluator
        Parameters:
        test - the test example
        prediction - the prediction of the system
      • addCount

        public void addCount(SequenceExample test,
                    SequencePrediction predicted)
        This method should be implemented in the subclasses to update counters useful to compute the performance measure
        Parameters:
        test - the test example
        predicted - the prediction of the system

Copyright © 2017 Semantic Analytics Group @ Uniroma2. All rights reserved.