Class EvaluationRun
- java.lang.Object
-
- org.aksw.limes.core.datastrutures.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 Summary
Fields Modifier and Type Field Description Map<EvaluatorType,Double>qualititativeScoresThe qualitative measures scores e.g.Map<EvaluatorType,org.apache.commons.math3.util.Pair<Double,Double>>qualititativeScoresWithVarianceThe qualitative measures scores e.g.
-
Constructor Summary
Constructors Constructor Description EvaluationRun()EvaluationRun(String algorithmName, String implementation, String datasetName, Map<EvaluatorType,Double> evaluatorsScores)EvaluationRun(String algorithmName, String implementation, String datasetName, Map<EvaluatorType,Double> evaluatorsScores, int run)EvaluationRun(String algorithmName, String implementation, String datasetName, Map<EvaluatorType,Double> evaluatorsScores, int run, LinkSpecification learnedLS)EvaluationRun(String algorithmName, String implementation, String datasetName, Map<EvaluatorType,Double> evaluatorsScores, LinkSpecification learnedLS)EvaluationRun(String algorithmName, String datasetName, Map<EvaluatorType,Double> evaluatorsScores)EvaluationRun(String algorithmName, String datasetName, Map<EvaluatorType,Double> evaluatorsScores, RunRecord quantitativeRecord)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EvaluationRunclone()voiddisplay()This method displays the evaluation run values in a tabular formStringgetAlgorithmName()StringgetDatasetName()StringgetImplementationType()Set<EvaluatorType>getQualititativeMeasures()RunRecordgetQuanititativeRecord()intgetRunInExperiment()StringSerialize(String separator)voidsetQuanititativeRecord(RunRecord quanititativeRecord)voidsetRunInExperiment(int runInExperiment)StringtoString()
-
-
-
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 algorithmdatasetName- The name of used dataset for evaluationevaluatorsScores- 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 algorithmimplementation- The implementation type of the evaluated algorithmdatasetName- The name of used dataset for evaluationevaluatorsScores- 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, int run)
-
EvaluationRun
public EvaluationRun(String algorithmName, String implementation, String datasetName, Map<EvaluatorType,Double> evaluatorsScores, LinkSpecification learnedLS)
- Parameters:
algorithmName- The name of the evaluated algorithmimplementation- The implementation type of the evaluated algorithmdatasetName- The name of used dataset for evaluationevaluatorsScores- A map of pairs (evaluator,score), e.g (F-MEASURE,0.9)learnedLS- learned LinkSpec
-
EvaluationRun
public EvaluationRun(String algorithmName, String implementation, String datasetName, Map<EvaluatorType,Double> evaluatorsScores, int run, LinkSpecification learnedLS)
-
EvaluationRun
public EvaluationRun(String algorithmName, String datasetName, Map<EvaluatorType,Double> evaluatorsScores, RunRecord quantitativeRecord)
- Parameters:
algorithmName- The name of the evaluated algorithmdatasetName- The name of used dataset for evaluationevaluatorsScores- 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)
-
clone
public EvaluationRun clone()
-
-