Class EvaluationRun


  • public class EvaluationRun
    extends Object
    This class represents a single run for an algorithm with specific implementation using specific datasets with its qualitative scores and quantitative records
    Since:
    1.0
    Version:
    1.0
    Author:
    Mofeed Hassan (mounir@informatik.uni-leipzig.de)
    • Field Detail

      • qualititativeScores

        public Map<EvaluatorType,​Double> qualititativeScores
        The qualitative measures scores e.g. F-MEASURE
      • qualititativeScoresWithVariance

        public Map<EvaluatorType,​org.apache.commons.math3.util.Pair<Double,​Double>> qualititativeScoresWithVariance
        The qualitative measures scores e.g. F-MEASURE with value as first pair value, and variance as second
    • Constructor Detail

      • EvaluationRun

        public EvaluationRun()
      • EvaluationRun

        public EvaluationRun​(String algorithmName,
                             String datasetName,
                             Map<EvaluatorType,​Double> evaluatorsScores)
        Parameters:
        algorithmName - The name of the evaluated algorithm
        datasetName - The name of used dataset for evaluation
        evaluatorsScores - A map of pairs (evaluator,score), e.g (F-MEASURE,0.9)
      • EvaluationRun

        public EvaluationRun​(String algorithmName,
                             String implementation,
                             String datasetName,
                             Map<EvaluatorType,​Double> evaluatorsScores)
        Parameters:
        algorithmName - The name of the evaluated algorithm
        implementation - The implementation type of the evaluated algorithm
        datasetName - The name of used dataset for evaluation
        evaluatorsScores - A map of pairs (evaluator,score), e.g (F-MEASURE,0.9)
      • EvaluationRun

        public EvaluationRun​(String algorithmName,
                             String implementation,
                             String datasetName,
                             Map<EvaluatorType,​Double> evaluatorsScores,
                             LinkSpecification learnedLS)
        Parameters:
        algorithmName - The name of the evaluated algorithm
        implementation - The implementation type of the evaluated algorithm
        datasetName - The name of used dataset for evaluation
        evaluatorsScores - A map of pairs (evaluator,score), e.g (F-MEASURE,0.9)
        learnedLS - learned LinkSpec
      • EvaluationRun

        public EvaluationRun​(String algorithmName,
                             String datasetName,
                             Map<EvaluatorType,​Double> evaluatorsScores,
                             RunRecord quantitativeRecord)
        Parameters:
        algorithmName - The name of the evaluated algorithm
        datasetName - The name of used dataset for evaluation
        evaluatorsScores - A map of pairs (evaluator,score), e.g (F-MEASURE,0.9)
        quantitativeRecord - A record of the quantitative measures values
    • Method Detail

      • getQualititativeMeasures

        public Set<EvaluatorType> getQualititativeMeasures()
      • display

        public void display()
        This method displays the evaluation run values in a tabular form
      • getAlgorithmName

        public String getAlgorithmName()
      • getImplementationType

        public String getImplementationType()
      • getDatasetName

        public String getDatasetName()
      • getRunInExperiment

        public int getRunInExperiment()
      • setRunInExperiment

        public void setRunInExperiment​(int runInExperiment)
      • getQuanititativeRecord

        public RunRecord getQuanititativeRecord()
      • setQuanititativeRecord

        public void setQuanititativeRecord​(RunRecord quanititativeRecord)