Class LatexPrecisionRecall
java.lang.Object
de.uni_mannheim.informatik.dws.melt.matching_eval.visualization.LatexPrecisionRecall
-
Nested Class Summary
Modifier and TypeClassDescription(package private) static class
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final org.slf4j.Logger
private static DecimalFormat
private static DecimalFormat
private static final double
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate static LatexPrecisionRecall.PrecRecPoint
getPolarCoord
(double p, double r) private static double
getRGivenFAndP
(double f, double p) range
(double start, double end, double step) static void
write
(Map<ExecutionResult, ConfusionMatrix> results, File f) static void
write
(Map<ExecutionResult, ConfusionMatrix> results, PrintWriter writer) static void
write
(Map<ExecutionResult, ConfusionMatrix> results, PrintWriter writer, List<Double> precisonLineValues, List<Double> recallLineValues, List<Double> fMeasureLineValues) static String
writeFMeasure
(double value, double stepSize) static String
writeMatcher
(String value, double precision, double recall) static String
writePrecision
(double value) static String
writeRecall
(double value)
-
Field Details
-
LOGGER
private static final org.slf4j.Logger LOGGER -
THRESHOLD
private static final double THRESHOLD- See Also:
-
normalized
-
muliplied
-
-
Constructor Details
-
LatexPrecisionRecall
public LatexPrecisionRecall()
-
-
Method Details
-
getPolarCoord
-
getRGivenFAndP
private static double getRGivenFAndP(double f, double p) -
writeFMeasure
-
writeRecall
-
writePrecision
-
writeMatcher
-
range
-
write
-
write
-
write
public static void write(Map<ExecutionResult, ConfusionMatrix> results, PrintWriter writer, List<Double> precisonLineValues, List<Double> recallLineValues, List<Double> fMeasureLineValues)
-