com.rapidminer.operator.learner.igss
Class IGSSResult

java.lang.Object
  extended by com.rapidminer.operator.AbstractIOObject
      extended by com.rapidminer.operator.ResultObjectAdapter
          extended by com.rapidminer.operator.learner.igss.IGSSResult
All Implemented Interfaces:
IOObject, ResultObject, Saveable, LoggingHandler, java.io.Serializable

public class IGSSResult
extends ResultObjectAdapter

This class stores all results found by the IGSS algorithm. It contains method to calculate the prior probabilities and the diversity in the results of the predictions.

Author:
Dirk Dach
See Also:
Serialized Form

Constructor Summary
IGSSResult(ExampleSet eSet)
           
 
Method Summary
 void addResult(Result r)
          Adds a result.
static double calculateDiversity(ExampleSet exampleSet, java.util.LinkedList theResults)
          Calculates the diversity in the predictions of the results for the given example set.
 java.lang.String getExtension()
          Returns the default extension in file choosers.
 java.lang.String getFileDescription()
          Returns the file description used in file choosers.
 double[] getPriors()
          Returns the default probability of the example set the object was constructed with.
static double[] getPriors(ExampleSet exampleSet)
          Returns the default probability of the given example set.
 java.util.LinkedList<Result> getResults()
          Returns a list of all stored results.
static double log2(double arg)
          Returns the logarithm to base 2.
 java.lang.String toString()
          Returns a String-representation of the results in this object.
 
Methods inherited from class com.rapidminer.operator.ResultObjectAdapter
addAction, getActions, getName, getResultIcon, getVisualizationComponent, isSavable, log, logError, logNote, logWarning, save, toHTML, toResultString
 
Methods inherited from class com.rapidminer.operator.AbstractIOObject
copy, getLog, getSource, initWriting, read, setLoggingHandler, setSource, write
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.rapidminer.operator.IOObject
copy, getLog, getSource, setLoggingHandler, setSource, write
 

Constructor Detail

IGSSResult

public IGSSResult(ExampleSet eSet)
Method Detail

addResult

public void addResult(Result r)
Adds a result.


getResults

public java.util.LinkedList<Result> getResults()
Returns a list of all stored results.


getPriors

public double[] getPriors()
Returns the default probability of the example set the object was constructed with.


getPriors

public static double[] getPriors(ExampleSet exampleSet)
Returns the default probability of the given example set.


calculateDiversity

public static double calculateDiversity(ExampleSet exampleSet,
                                        java.util.LinkedList theResults)
Calculates the diversity in the predictions of the results for the given example set.


toString

public java.lang.String toString()
Returns a String-representation of the results in this object.

Overrides:
toString in class java.lang.Object

log2

public static double log2(double arg)
Returns the logarithm to base 2.


getExtension

public java.lang.String getExtension()
Description copied from interface: Saveable
Returns the default extension in file choosers.


getFileDescription

public java.lang.String getFileDescription()
Description copied from interface: Saveable
Returns the file description used in file choosers.



Copyright © 2001-2009 by Rapid-I