oracle.dmt.odm.result
Class LiftResultElement

java.lang.Object
  |
  +--oracle.dmt.odm.MiningObject
        |
        +--oracle.dmt.odm.result.LiftResultElement
All Implemented Interfaces:
java.io.Serializable

public class LiftResultElement
extends MiningObject

An instance of LiftResultElement contains information on the lift result for a specific quantile of data.

Lift is calculated as follows. For a binary classification model, with a designated positive and negative value, test cases are sorted according to how confidently they are predicted to be positive instances (most confidently positive first, most confidently negative last). With regard to that ordering, they are partitioned into quantiles. Then:

Since:
ODM 9.0.1
See Also:
Serialized Form

Constructor Summary
LiftResultElement()
           
 
Method Summary
TypeMethod
 float getLiftCumulative()
          Returns the cumulative lift.
 float getLiftQuantile()
          Retruns the value of lift.
 int getNumberOfNonTargetsCumulative()
          Returns the cumulative number of nontargets.
 int getNumberOfTargetsCumulative()
          Returns the cumulative number of targets.
 float getPercentageOfRecordsCumulative()
          Returns cumulative percentage of records.
 float getTargetDensity()
          Returns the target density.
 float getTargetDensityCumulative()
          Returns the cumulative target density.
 void setLiftCumulative(float liftCumulative)
          For internal use only.
 void setLiftQuantile(float liftQuantile)
          For internal use only.
 void setNumberOfNonTargetsCumulative(int numberOfNonTargetsCumulative)
          For internal use only.
 void setNumberOfTargetsCumulative(int numberOfTargetsCumulative)
          For internal use only.
 void setPercentageOfRecordsCumulative(float percentageOfRecordsCumulative)
          For internal use only.
 void setTargetDensity(float targetDensity)
          For internal use only.
 void setTargetDensityCumulative(float targetDensityCumulative)
          For internal use only.
 java.lang.String toString()
          Returns a formatted string representation of the lift element for the convenience of display.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

LiftResultElement

public LiftResultElement()
Method Detail

getPercentageOfRecordsCumulative

public float getPercentageOfRecordsCumulative()
Returns cumulative percentage of records.
Returns:
float

setPercentageOfRecordsCumulative

public void setPercentageOfRecordsCumulative(float percentageOfRecordsCumulative)
For internal use only.

getLiftQuantile

public float getLiftQuantile()
Retruns the value of lift.
Returns:
float

setLiftQuantile

public void setLiftQuantile(float liftQuantile)
For internal use only.

getLiftCumulative

public float getLiftCumulative()
Returns the cumulative lift.
Returns:
float

setLiftCumulative

public void setLiftCumulative(float liftCumulative)
For internal use only.

getNumberOfTargetsCumulative

public int getNumberOfTargetsCumulative()
Returns the cumulative number of targets.
Returns:
int

setNumberOfTargetsCumulative

public void setNumberOfTargetsCumulative(int numberOfTargetsCumulative)
For internal use only.

getNumberOfNonTargetsCumulative

public int getNumberOfNonTargetsCumulative()
Returns the cumulative number of nontargets.
Returns:
int

setNumberOfNonTargetsCumulative

public void setNumberOfNonTargetsCumulative(int numberOfNonTargetsCumulative)
For internal use only.

getTargetDensity

public float getTargetDensity()
Returns the target density.
Returns:
float

setTargetDensity

public void setTargetDensity(float targetDensity)
For internal use only.

getTargetDensityCumulative

public float getTargetDensityCumulative()
Returns the cumulative target density.
Returns:
float

setTargetDensityCumulative

public void setTargetDensityCumulative(float targetDensityCumulative)
For internal use only.

toString

public java.lang.String toString()
Returns a formatted string representation of the lift element for the convenience of display.
Overrides:
toString in class java.lang.Object
Returns:
String - A formatted string of the lift element