com.rapidminer.tools.math
Class LiftDataGenerator

java.lang.Object
  extended by com.rapidminer.tools.math.LiftDataGenerator

public class LiftDataGenerator
extends java.lang.Object

Helper class containing some methods for Lift plots.

Author:
Ingo Mierswa

Field Summary
static int MAX_LIFT_POINTS
          Defines the maximum amount of points which is plotted in the ROC curve.
 
Constructor Summary
LiftDataGenerator()
          Creates a new Lift data generator.
 
Method Summary
 void createLiftChartPlot(java.util.List<double[]> data)
          Creates a dialog containing a plotter for a given list of ROC data points.
 java.util.List<double[]> createLiftDataList(ExampleSet exampleSet)
          Creates a list of ROC data poings from the given example set.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MAX_LIFT_POINTS

public static final int MAX_LIFT_POINTS
Defines the maximum amount of points which is plotted in the ROC curve.

See Also:
Constant Field Values
Constructor Detail

LiftDataGenerator

public LiftDataGenerator()
Creates a new Lift data generator.

Method Detail

createLiftDataList

public java.util.List<double[]> createLiftDataList(ExampleSet exampleSet)
Creates a list of ROC data poings from the given example set. The example set must have a binary label attribute and confidence values for both values, i.e. a model must have been applied on the data.


createLiftChartPlot

public void createLiftChartPlot(java.util.List<double[]> data)
Creates a dialog containing a plotter for a given list of ROC data points.



Copyright © 2001-2009 by Rapid-I