public class EntropyPrecisionRecall
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected EntropyResult |
logModelResult |
protected EntropyResult |
logResult |
protected EntropyResult |
modelResult |
double |
percentFitting |
protected long |
totalTime |
Constructor and Description |
---|
EntropyPrecisionRecall(EntropyResult logModelResult,
EntropyResult modelResult,
EntropyResult logResult,
double percentFitting) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getCSVString() |
static java.lang.String |
getHeader() |
EntropyResult |
getLogModelResult() |
EntropyResult |
getLogResult() |
static double |
getMeasure(double measureIntersection,
double measureDenominator,
PrecisionRecallStyle style)
We define precision simply as:
the (topological) size intersection of the log and the model
------ divided by -------
the (topological) size of the model
|
EntropyResult |
getModelResult() |
double |
getPrecision() |
double |
getPrecision(PrecisionRecallStyle style) |
double |
getRecall() |
double |
getRecall(PrecisionRecallStyle style) |
long |
getTotalTime() |
java.lang.String |
prettyPrint() |
void |
setTotalTime(long totalTime) |
protected EntropyResult modelResult
protected EntropyResult logModelResult
protected EntropyResult logResult
protected long totalTime
public double percentFitting
public EntropyPrecisionRecall(EntropyResult logModelResult, EntropyResult modelResult, EntropyResult logResult, double percentFitting)
public double getPrecision()
public double getRecall()
public double getPrecision(PrecisionRecallStyle style)
public double getRecall(PrecisionRecallStyle style)
public long getTotalTime()
public void setTotalTime(long totalTime)
public EntropyResult getModelResult()
public EntropyResult getLogModelResult()
public EntropyResult getLogResult()
public static double getMeasure(double measureIntersection, double measureDenominator, PrecisionRecallStyle style)
measureIntersection
- doublemeasureDenominator
- style
- public java.lang.String prettyPrint()
public java.lang.String getCSVString()
public static java.lang.String getHeader()