rdr.mulan
Class BinaryPrediction
java.lang.Object
rdr.mulan.BinaryPrediction
public class BinaryPrediction
- extends java.lang.Object
Data holding structure to make evaluation computation a little cleaner.
Note that the confidence, refers to the confidence of the result being true,
and not the confidence of the result itself which can be true or false.
Constructor Summary |
BinaryPrediction(boolean predicted,
boolean actual,
double confidenceTrue)
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
BinaryPrediction
public BinaryPrediction(boolean predicted,
boolean actual,
double confidenceTrue)
getPrediction
public boolean getPrediction()
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
getActual
public boolean getActual()