rdr.mulan
Class BinaryPrediction

java.lang.Object
  extended by 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)
           
 
Method Summary
 boolean getActual()
           
 boolean getPrediction()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BinaryPrediction

public BinaryPrediction(boolean predicted,
                        boolean actual,
                        double confidenceTrue)
Method Detail

getPrediction

public boolean getPrediction()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

getActual

public boolean getActual()