|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectviper.comparison.CompEvaluator
A collection of Descriptor Objects that supports various operations on them, such as comparison between two DescVectors, collection of statistics, reading and printing from files, and various others.
| Constructor Summary | |
CompEvaluator(DescriptorData targets,
DescriptorData candidates,
double statThreshold,
int matchType,
EvaluationParameters.ScopeRules epf,
java.io.PrintWriter log)
Creates a new evaluator, which compares several files and descriptor types, making it somewhat more general than a CompMatrix. |
|
| Method Summary | |
void |
printCandidates(java.io.PrintWriter output,
java.io.PrintWriter raw,
DescriptorConfigs targetConfigs)
Print the current surviving candidate information to the given raw and human-readable outputs. |
void |
printCurrentFM(java.io.PrintWriter output,
java.io.PrintWriter raw,
DescriptorConfigs targetConfigs)
Print the current false/missed information to the given raw and human-readable outputs. |
Evaluation.Information |
printEvaluationResults(Evaluation eva)
Runs an evaluation using the given Evaluation object on all of the comparison matrices, summing the results, and returning the sum. |
java.lang.String |
printMatchTables()
Print the table of matches. |
void |
printPR(java.io.PrintWriter output,
java.io.PrintWriter raw,
DescriptorConfigs targetConfigs)
Print out precision and recall information. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public CompEvaluator(DescriptorData targets,
DescriptorData candidates,
double statThreshold,
int matchType,
EvaluationParameters.ScopeRules epf,
java.io.PrintWriter log)
CompMatrix.
targets - the target data setcandidates - the candidate data setstatThreshold - the statistic thresholdmatchType - the type of frame range matching to useepf - the metric and rule informationlog - the error log| Method Detail |
public java.lang.String printMatchTables()
overall
match table, if any matches exist.
public void printCurrentFM(java.io.PrintWriter output,
java.io.PrintWriter raw,
DescriptorConfigs targetConfigs)
output - the human-readable outputraw - the raw formatted outputtargetConfigs - the target descriptors to print out
public void printCandidates(java.io.PrintWriter output,
java.io.PrintWriter raw,
DescriptorConfigs targetConfigs)
output - the human-readable outputraw - the raw formatted outputtargetConfigs - the target descriptors to print outpublic Evaluation.Information printEvaluationResults(Evaluation eva)
eva - The evaluation to run.
public void printPR(java.io.PrintWriter output,
java.io.PrintWriter raw,
DescriptorConfigs targetConfigs)
output - the human-readable outputraw - the raw formatted outputtargetConfigs - the target descriptors to print out
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||