com.rapidminer.operator.learner.igss
Class Result

java.lang.Object
  extended by com.rapidminer.operator.learner.igss.Result

public class Result
extends java.lang.Object

Object of this class represent results found by the IGSS algorithm. Stored are the found hypothesis, the utility of the hypothesis, the used weight and the size of the confidence intervall.

Author:
Dirk Dach

Constructor Summary
Result(Hypothesis h, double totalExampleWeight, double totalPositiveWeight, double u, double c)
           
 
Method Summary
 boolean equals(java.lang.Object o)
          Returns true if the same hypothesis is stored by both results.
 double getConfidence()
          Returns the stored size of the confidence intervall.
 Hypothesis getHypothesis()
          Returns the stored hypothesis.
 double getTotalPositiveWeight()
          Returns the stored positive weight.
 double getTotalWeight()
          Returns the stored total weight.
 double getUtility()
          Returns the stored utility.
 int hashCode()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Result

public Result(Hypothesis h,
              double totalExampleWeight,
              double totalPositiveWeight,
              double u,
              double c)
Method Detail

getHypothesis

public Hypothesis getHypothesis()
Returns the stored hypothesis.


getUtility

public double getUtility()
Returns the stored utility.


getConfidence

public double getConfidence()
Returns the stored size of the confidence intervall.


getTotalPositiveWeight

public double getTotalPositiveWeight()
Returns the stored positive weight.


getTotalWeight

public double getTotalWeight()
Returns the stored total weight.


equals

public boolean equals(java.lang.Object o)
Returns true if the same hypothesis is stored by both results.

Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object


Copyright © 2001-2009 by Rapid-I