Class DistanceMatrixPrinter
java.lang.Object
org.dkpro.statistics.agreement.visualization.DistanceMatrixPrinter
public class DistanceMatrixPrinter
extends java.lang.Object
Plain-text visualization for distance functions showing the distance scores between each pair of
categories.
- Author:
- Christian M. Meyer
- See Also:
IDistanceFunction
-
Constructor Summary
Constructors Constructor Description DistanceMatrixPrinter() -
Method Summary
Modifier and Type Method Description protected voiddoPrint(java.io.PrintStream out, java.lang.Iterable<java.lang.Object> categories, ICodingAnnotationStudy study, IDistanceFunction distanceFunction)voidprint(java.io.PrintStream out, java.lang.Iterable<java.lang.Object> categories, IDistanceFunction distanceFunction)Print a matrix of the distances between each pair of categories.voidprint(java.io.PrintStream out, ICodingAnnotationStudy study, IDistanceFunction distanceFunction)Print a matrix representation of the distances between each pair of categories of the given study.
-
Constructor Details
-
DistanceMatrixPrinter
public DistanceMatrixPrinter()
-
-
Method Details
-
print
public void print(java.io.PrintStream out, java.lang.Iterable<java.lang.Object> categories, IDistanceFunction distanceFunction)Print a matrix of the distances between each pair of categories. -
print
public void print(java.io.PrintStream out, ICodingAnnotationStudy study, IDistanceFunction distanceFunction)Print a matrix representation of the distances between each pair of categories of the given study. -
doPrint
protected void doPrint(java.io.PrintStream out, java.lang.Iterable<java.lang.Object> categories, ICodingAnnotationStudy study, IDistanceFunction distanceFunction)
-