Class EvaluatorRelationTypePrediction
java.lang.Object
de.uni_mannheim.informatik.dws.melt.matching_eval.evaluator.Evaluator
de.uni_mannheim.informatik.dws.melt.matching_eval.evaluator.EvaluatorRelationTypePrediction
-
Field Summary
Modifier and TypeFieldDescriptionprivate static AlignmentClosureRefiner
private org.apache.commons.csv.CSVFormat
private static final org.slf4j.Logger
private ConfusionMatrixMetric
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate List<CorrespondenceRelation>
org.apache.commons.csv.CSVFormat
private List<RelationTypeRefiner>
getRelationRefiner
(List<CorrespondenceRelation> usedRelations) private List<CorrespondenceRelation>
private void
printCM
(ExecutionResult r, ConfusionMatrix cm, String name, String closure, org.apache.commons.csv.CSVPrinter printer) void
setCsvFormat
(org.apache.commons.csv.CSVFormat csvFormat) private void
writeConfusionMatrixMultiClass
(ExecutionResult r, File outFile) private void
writeOverviewFileMatcherTestCase
(List<RelationTypeRefiner> refiners, TestCase testCase, String matcher, org.apache.commons.csv.CSVPrinter printer) protected void
writeResultsToDirectory
(File baseDirectory) Methods inherited from class de.uni_mannheim.informatik.dws.melt.matching_eval.evaluator.Evaluator
checkAndCreateDirectory, getDefaultResultsDirectory, getDirectoryWithCurrentTime, getResults, getResultsDirectoryTrack, getResultsDirectoryTrackMatcher, getResultsDirectoryTrackTestcaseMatcher, setDefaultResultsDirectory, writeToDirectory, writeToDirectory, writeToDirectory
-
Field Details
-
LOGGER
private static final org.slf4j.Logger LOGGER -
csvFormat
private org.apache.commons.csv.CSVFormat csvFormat -
metric
-
CLOSURE_REFINER
-
-
Constructor Details
-
EvaluatorRelationTypePrediction
-
-
Method Details
-
writeResultsToDirectory
- Specified by:
writeResultsToDirectory
in classEvaluator
-
getAllUsedDistinctRelations
-
getRelationRefiner
-
writeOverviewFileMatcherTestCase
private void writeOverviewFileMatcherTestCase(List<RelationTypeRefiner> refiners, TestCase testCase, String matcher, org.apache.commons.csv.CSVPrinter printer) throws IOException - Throws:
IOException
-
writeConfusionMatrixMultiClass
- Throws:
IOException
-
getRelationsFromCM
private List<CorrespondenceRelation> getRelationsFromCM(Map<Map.Entry<CorrespondenceRelation, CorrespondenceRelation>, Alignment> cm) -
getConfusionMap
private Map<Map.Entry<CorrespondenceRelation,CorrespondenceRelation>, getConfusionMapAlignment> (ExecutionResult r) -
printCM
private void printCM(ExecutionResult r, ConfusionMatrix cm, String name, String closure, org.apache.commons.csv.CSVPrinter printer) throws IOException - Throws:
IOException
-
getCsvFormat
public org.apache.commons.csv.CSVFormat getCsvFormat() -
setCsvFormat
public void setCsvFormat(org.apache.commons.csv.CSVFormat csvFormat)
-