|
Oracle Data Mining Java API Reference 10g Release 1 (10.1) B12276-01 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--oracle.dmt.odm.MiningObject | +--oracle.dmt.odm.result.LiftResultElement
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:
Target Densitity
of a quantile is the number of actually positive instances in that quantile divided by the total number of instances in the quantile.Lift
of a quantile is the ratio of TargetDensity
to the target density over all the test data.PercentageOfRecordsCumulative
for a given quantile is the percentage of all test cases represented by the first n
quantiles, starting at the most-confidently-positive end, up to and including the given quantile.NumberOfTargetsCumulative
for a given quantile is the number of actually positive instances in the first n
quantiles (defined as above).NumberOfNonTargetsCumulative
is the same, but for actually negative instances.LiftCumulative
for a given quantile is the ratio of the cumulative target density (which is like TargetDensity
, but computed over the first n
quantiles, defined as above, instead of just the current quantile) to the target density over all the test data.Targets Cumulative
for a given quantile is the ratio of cumulative positive instances in that quantile and the total number of positive instances of all quantiles. It measures the percentage of positive instances captured "so far".float targetCumulative = liftQuantile*percentageOfRecordsCumulative;
Constructor Summary | |
LiftResultElement() |
Method Summary | |
float |
getLiftCumulative() Returns the cumulative lift. |
float |
getLiftQuantile() Retruns the value of lift for this quantile. |
int |
getNumberOfNonTargetsCumulative() Returns the cumulative number of nontargets. |
int |
getNumberOfTargetsCumulative() Returns the cumulative number of targets. |
float |
getPercentageOfRecordsCumulative() Returns cumulative percentage of records. |
float |
getPercentageTargetCumulative() Returns the percentage target cumulative |
float |
getTargetDensity() Returns the target density. |
float |
getTargetDensityCumulative() Returns the cumulative target density. |
java.lang.String |
showScientific(float coefficient) |
java.lang.String |
toString() Returns a formatted string representation of the lift element for the convenience of display. |
java.lang.String |
toStringSN() Returns a formatted string representation of the lift element in scientific notation for the convenience of display. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public LiftResultElement()
Method Detail |
public java.lang.String showScientific(float coefficient)
public float getPercentageOfRecordsCumulative()
public float getLiftQuantile()
public float getLiftCumulative()
public int getNumberOfTargetsCumulative()
public int getNumberOfNonTargetsCumulative()
public float getTargetDensity()
public float getTargetDensityCumulative()
public float getPercentageTargetCumulative()
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String toStringSN()
|
| |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |