modnlp.tc.evaluation
public class CSVTable extends java.util.HashMap implements java.io.Serializable
,
Serialized FormConstructor and Description |
---|
CSVTable(java.lang.String cat) |
Modifier and Type | Method and Description |
---|---|
boolean |
addToTargetDocSet(java.lang.String id) |
java.util.Set |
applyThreshold(double t) |
java.util.Set |
applyThreshold(java.lang.String tmethod,
double generality)
Apply thresholding strategy and (as a side-effect) set the value of selectedDocSet
|
double |
getAccuracy() |
java.lang.String |
getCategory()
Get the value of category.
|
double |
getCatGenerality() |
java.lang.String |
getClistFileName()
Get the value of clistFileName.
|
int |
getCorpusSize() |
double |
getCSV(java.lang.String id) |
double |
getFallout() |
int |
getFNsize() |
int |
getFPsize() |
MaxMinCSV |
getMaxMinCSV() |
java.lang.String |
getPmFileName()
Get the value of PmFileName.
|
double |
getPrecision() |
double |
getRecall() |
java.util.Set |
getTargetDocSet() |
int |
getTNsize() |
int |
getTPsize() |
void |
reset() |
void |
setCategory(java.lang.String v)
Set the value of category.
|
void |
setClistFileName(java.lang.String v)
Set the value of clistFileName.
|
java.lang.Object |
setCSV(java.lang.String id,
double csv) |
void |
setPmFileName(java.lang.String v)
Set the value of PmFileName.
|
clear, clone, containsKey, containsValue, entrySet, get, isEmpty, keySet, put, putAll, remove, size, values
public java.lang.String getPmFileName()
public void setPmFileName(java.lang.String v)
v
- Value to assign to PmFileName.public java.lang.String getClistFileName()
public void setClistFileName(java.lang.String v)
v
- Value to assign to clistFileName.public void reset()
public double getCSV(java.lang.String id)
public java.lang.Object setCSV(java.lang.String id, double csv)
public boolean addToTargetDocSet(java.lang.String id)
public java.util.Set getTargetDocSet()
public java.util.Set applyThreshold(java.lang.String tmethod, double generality)
public java.util.Set applyThreshold(double t)
public MaxMinCSV getMaxMinCSV()
public int getTPsize()
public int getFPsize()
public int getTNsize()
public int getFNsize()
public int getCorpusSize()
public double getPrecision()
public double getRecall()
public double getAccuracy()
public double getFallout()
public double getCatGenerality()
public java.lang.String getCategory()
public void setCategory(java.lang.String v)
v
- Value to assign to category.