|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sourceforge.nite.datainspection.timespan.DiscretizedTimelineInspection
public class DiscretizedTimelineInspection
Some annotations do not lend themselves well for the event-like interpretation underlying the Segment alignment inspection.
[[EXAMPLE?]]
For such annotations we developed an analysis based on the amount of overlap for different labels. In the (hypothetical) example fragment below, we encounter from left to right the following agreements and disagreements: disagr(red, green), disagr(blue, green), agr(blue,blue), disagr(blue,green), disagr(blue,red), agr(red,red). Note the difference with the segment alingment based inspection. In the segment alignment inspection the first blue segment of the two annotators would be seen as "perfect agreement for identification and label, with some disagreement about timing". In the timeline discretization analysis the short overlap between green and blue at the beginning is counted as a label disagreement.
DiscretizedTimelineInspection
explains in detail how such inspection along these lines is supported by the packages, including an explanation how the calculation of kappa and alpha metrices is supported, and the automatic creation of confusion tables. It also explains how varying 'th' has an impact on the outcome of the reliability measures.
Field Summary | |
---|---|
java.lang.String |
agentName
the name of the agent for which you want to analyse the annotations. |
java.lang.String |
codingName
the name of the Coding in which the boundaries are to be found |
java.lang.String |
corpusName
corpus |
java.lang.String |
observationName
observation |
java.lang.String |
segmentElementName
the name of the Elements in the Layer in that Coding in which the boundaries are to be found |
java.lang.String |
segmentsLayer
the name of the Layer in that Coding in which the boundaries are to be found |
Constructor Summary | |
---|---|
DiscretizedTimelineInspection(java.lang.String c,
java.lang.String o,
java.lang.String codingName,
java.lang.String segmentsLayer,
java.lang.String segmentElementName,
java.lang.String agentName,
NOMElementToTextDelegate segmentToText,
Predicate isIgnoreP,
NOMElementToValueDelegate segmentToValue,
DistanceMetric labelDistanceMetric,
double thMin,
double thMax,
int thSteps)
|
Method Summary | |
---|---|
void |
collectClassifications(double thMin,
double thMax,
int thSteps)
Collect for all threshold values the derived classifications for all annotators, using the TimelineDiscretizationClassificationFactory. |
void |
collectMatrices()
Collect for all Classification pairs the confusion and coincidence matrices used for calculation of reliability and inspection of confusions. |
void |
collectSegments()
Collect the segments for all annotators. |
void |
discretizeTimeline()
|
void |
drawLegend()
|
void |
generateThresholdValues(double thMin,
double thMax,
int thSteps)
|
Clock |
getClock()
|
ClockFace |
getClockFace()
Returns the clockface of this class. |
NOMWriteCorpus |
getCorpus()
|
java.lang.String |
getCorpusName()
|
NiteMetaData |
getMetaData()
|
java.lang.String |
getObservationName()
|
void |
initReportPanel()
|
void |
renderSegments()
|
java.util.List |
search(java.lang.String query)
|
void |
showConfusionTables()
Show the confusion tables in internal frames on the desktop |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public java.lang.String corpusName
public java.lang.String observationName
public java.lang.String codingName
public java.lang.String segmentsLayer
public java.lang.String segmentElementName
public java.lang.String agentName
Constructor Detail |
---|
public DiscretizedTimelineInspection(java.lang.String c, java.lang.String o, java.lang.String codingName, java.lang.String segmentsLayer, java.lang.String segmentElementName, java.lang.String agentName, NOMElementToTextDelegate segmentToText, Predicate isIgnoreP, NOMElementToValueDelegate segmentToValue, DistanceMetric labelDistanceMetric, double thMin, double thMax, int thSteps)
Method Detail |
---|
public void collectSegments()
public void collectClassifications(double thMin, double thMax, int thSteps)
public void collectMatrices()
public void initReportPanel()
public void renderSegments()
public void drawLegend()
public void showConfusionTables()
public java.lang.String getCorpusName()
public java.lang.String getObservationName()
public NOMWriteCorpus getCorpus()
public NiteMetaData getMetaData()
public Clock getClock()
public ClockFace getClockFace()
public void generateThresholdValues(double thMin, double thMax, int thSteps)
public void discretizeTimeline()
public java.util.List search(java.lang.String query)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |