public class MultiClassChunkEvalStats extends MultiClassPrecisionRecallExtendedStats.MultiClassStringLabelStats
MultiClassPrecisionRecallExtendedStats.MultiClassStringLabelStats, MultiClassPrecisionRecallExtendedStats.StringStringConvertercorrectGuesses, foundCorrect, foundGuessed, noLabel, stringConverter, tokensCorrect, tokensCountfnCount, fpCount, labelIndex, negIndex, negLabel, tpCount| Constructor and Description |
|---|
MultiClassChunkEvalStats(Classifier<String,F> classifier,
GeneralDataset<String,F> data,
String negLabel) |
MultiClassChunkEvalStats(Index<String> dataLabelIndex,
String negLabel) |
MultiClassChunkEvalStats(String negLabel) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addGuess(LabeledChunkIdentifier.LabelTagType guess,
LabeledChunkIdentifier.LabelTagType correct,
boolean addUnknownLabels) |
protected void |
addGuess(String guess,
String trueLabel,
boolean addUnknownLabels) |
void |
clearCounts() |
protected void |
finalizeCounts() |
LabeledChunkIdentifier |
getChunker() |
String |
getConllEvalString() |
static void |
main(String[] args) |
protected void |
markBoundary() |
addGuess, addGuesses, getAccuracy, getAccuracyDescription, getAccuracyInfo, getConllEvalString, getCorrect, getCorrect, getLabels, getRelevant, getRelevant, getRetrieved, getRetrieved, score, score, score, score, score, score, score, score, setLabelIndexgetDescription, getF1Description, getF1Description, getFMeasure, getFMeasure, getNegLabel, getPrecision, getPrecision, getPrecisionDescription, getPrecisionDescription, getPrecisionInfo, getPrecisionInfo, getRecall, getRecall, getRecallDescription, getRecallDescription, getRecallInfo, getRecallInfo, scorepublic MultiClassChunkEvalStats(Classifier<String,F> classifier, GeneralDataset<String,F> data, String negLabel)
public MultiClassChunkEvalStats(String negLabel)
public LabeledChunkIdentifier getChunker()
public void clearCounts()
clearCounts in class MultiClassPrecisionRecallExtendedStats<String>protected void finalizeCounts()
finalizeCounts in class MultiClassPrecisionRecallExtendedStats<String>protected void markBoundary()
markBoundary in class MultiClassPrecisionRecallExtendedStats<String>protected void addGuess(String guess, String trueLabel, boolean addUnknownLabels)
addGuess in class MultiClassPrecisionRecallExtendedStats<String>protected void addGuess(LabeledChunkIdentifier.LabelTagType guess, LabeledChunkIdentifier.LabelTagType correct, boolean addUnknownLabels)
public String getConllEvalString()
getConllEvalString in class MultiClassPrecisionRecallExtendedStats<String>public static void main(String[] args)