|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.cmu.meteor.scorer.MeteorStats
public class MeteorStats
Class used to hold several Meteor statistics, including final score
Field Summary | |
---|---|
int |
chunks
|
double |
f1
|
double |
fMean
|
double |
fragPenalty
|
double |
lengthCost
|
double |
precision
|
double |
recall
|
int |
referenceLength
|
int |
referenceTotalMatches
|
java.util.ArrayList<java.lang.Integer> |
referenceTotalStageMatches
|
double |
referenceWeightedMatches
|
java.util.ArrayList<java.lang.Double> |
referenceWeightedStageMatches
|
double |
score
Score is required to select the best reference |
int |
testLength
|
int |
testTotalMatches
|
java.util.ArrayList<java.lang.Integer> |
testTotalStageMatches
|
double |
testWeightedMatches
Note: these do include module weights |
java.util.ArrayList<java.lang.Double> |
testWeightedStageMatches
Note: these are weighted by the probability from the matcher, not the weight for the module. |
Constructor Summary | |
---|---|
MeteorStats()
|
|
MeteorStats(java.lang.String ssString)
Use a string from the toString() method to create a MeteorStats object. |
Method Summary | |
---|---|
void |
addStats(MeteorStats ss)
Aggregate SS (except score), result stored in this instance |
java.lang.String |
toString()
|
java.lang.String |
toString(java.lang.String delim)
Stats are output in lines: tstLen refLen stage1tstTotalMatches stage1refTotalMatches stage1tstWeightedMatches stage1refWeightedMatches s2tTM s2rTM s2tWM s2rWM s3tTM s3rTM s3tWM s3rWM s4tTM s4rTM s4tWM s4rWM chunks lenCost ex: 15 14 8 8 8.0 8.0 2 2 2.0 2.0 1 1 1.0 1.0 3 2 0.6 0.4 3 0.25 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public int testLength
public int referenceLength
public int testTotalMatches
public int referenceTotalMatches
public java.util.ArrayList<java.lang.Integer> testTotalStageMatches
public java.util.ArrayList<java.lang.Integer> referenceTotalStageMatches
public java.util.ArrayList<java.lang.Double> testWeightedStageMatches
public java.util.ArrayList<java.lang.Double> referenceWeightedStageMatches
public int chunks
public double lengthCost
public double testWeightedMatches
public double referenceWeightedMatches
public double precision
public double recall
public double f1
public double fMean
public double fragPenalty
public double score
Constructor Detail |
---|
public MeteorStats()
public MeteorStats(java.lang.String ssString)
ssString
- Method Detail |
---|
public void addStats(MeteorStats ss)
ss
- public java.lang.String toString(java.lang.String delim)
delim
- public java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |