Skip navigation links
oracle.dmt.jdm.supervised.classification
Class OraLift
java.lang.Object
oracle.dmt.jdm.OraDMObject
oracle.dmt.jdm.supervised.classification.OraLift
- All Implemented Interfaces:
- javax.datamining.supervised.classification.Lift, oracle.dmt.jdm.OraPLSQLConstants
- public class OraLift
- extends oracle.dmt.jdm.OraDMObject
- implements javax.datamining.supervised.classification.Lift
OraLift
is an oracle extension to javax.datamining.supervised.classification.Lift
class. This class adds following new get methods to support getting lift details as arrays and also supports count values as double values.
getLift(): returns double[]
getCumulativeLift(): returns double[]
getCases(): returns double[]
getNumberOfPositiveCases(): returns double[]
getNumberOfNegativeCases(): returns double[]
getPercentageSize(): returns double[]
getTargetDensity(): returns double[]
getCumulativeTargetDensity(): returns double[]
getProbabilityOrCostThreshold(): returns double[]
getCumulativeGain(): returns double[]
- See Also:
Lift
Method Summary |
double[] |
getCases()
Returns an array containing the number of cases per quantile. |
double[] |
getCumulativeGain()
Returns an array containing the gain per quantile. |
double[] |
getCumulativeLift()
Returns an array containing the cumulative lift values of the quantile. |
double[] |
getCumulativeTargetDensity()
Returns an array containing the cumulative target density per quantile. |
double[] |
getLift()
Returns an array containing the lift values per quantile. |
double[] |
getNumberOfNegativeCases()
Returns an array containing the number of negative cases per quantile. |
double[] |
getNumberOfPositiveCases()
Returns an array containing the number of positive cases per quantile. |
double[] |
getPercentageSize()
Returns an array containing the percentage size per quantile. |
double[] |
getProbabilityOrCostThreshold()
Returns an array containing the probability/cost threshold per quantile. |
double[] |
getTargetDensity()
Returns an array containing the target density per quantile. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getLift
public double[] getLift()
- Returns an array containing the lift values per quantile. Array element 0 contains the first quantile. Array element N-1 contains the last quantile, where N is the number of quantiles. Lift of a quantile is the ratio of the number of positive cases in the quantile and average number of positive cases per quantile in the test dataset.
-
- Returns:
- double[]
- Since:
- OJDM 11.1.0.0
getCumulativeLift
public double[] getCumulativeLift()
- Returns an array containing the cumulative lift values of the quantile. Array element 0 contains the first quantile. Array element N-1 contains the last quantile, where N is the number of quantiles. Cumulative lift for quantile n is the ratio of number of positive cases in the first n quantiles and the average number of positive cases in the first n quantiles.
-
- Returns:
- double[]
- Since:
- OJDM 11.1.0.0
getCases
public double[] getCases()
- Returns an array containing the number of cases per quantile. Array element 0 contains the first quantile. Array element N-1 contains the last quantile, where N is the number of quantiles.
-
- Returns:
- double[]
- Since:
- OJDM 11.1.0.0
getNumberOfPositiveCases
public double[] getNumberOfPositiveCases()
- Returns an array containing the number of positive cases per quantile. Array element 0 contains the first quantile. Array element N-1 contains the last quantile, where N is the number of quantiles.
-
- Returns:
- double[]
- Since:
- OJDM 11.1.0.0
getNumberOfNegativeCases
public double[] getNumberOfNegativeCases()
- Returns an array containing the number of negative cases per quantile. Array element 0 contains the first quantile. Array element N-1 contains the last quantile, where N is the number of quantiles.
-
- Returns:
- double[]
- Since:
- OJDM 11.1.0.0
getPercentageSize
public double[] getPercentageSize()
- Returns an array containing the percentage size per quantile. Array element 0 contains the first quantile. Array element N-1 contains the last quantile, where N is the number of quantiles. Percentage size is the ratio of the number of cases in the quantile and total number of cases in the test dataset. The range of percentage value is between 0 and 100.
-
- Returns:
- double[]
- Since:
- OJDM 11.1.0.0
getTargetDensity
public double[] getTargetDensity()
- Returns an array containing the target density per quantile. Array element 0 contains the first quantile. Array element N-1 contains the last quantile, where N is the number of quantiles. Target density of a quantile is the number of true positive cases in that quantile divided by the total number of cases in the quantile.
-
- Returns:
- double[]
- Since:
- OJDM 11.1.0.0
getCumulativeTargetDensity
public double[] getCumulativeTargetDensity()
- Returns an array containing the cumulative target density per quantile. Array element 0 contains the first quantile. Array element N-1 contains the last quantile, where N is the number of quantiles. Cumulative target density for quantile n is the target density computed over the first n quantiles. i.e., the ratio of the number of positive cases over the first n quantiles and total number of cases over the first n quantiles.
-
- Returns:
- double[]
- Since:
- OJDM 11.1.0.0
getProbabilityOrCostThreshold
public double[] getProbabilityOrCostThreshold()
- Returns an array containing the probability/cost threshold per quantile. Array element 0 contains the first quantile. Array element N-1 contains the last quantile, where N is the number of quantiles. Probability threshold for a quantile n is the minimum probability for the positive target to be included in this quantile or any preceding quantiles (quantiles n-1, n-2,..., 1). If a cost matrix is used, a cost threshold is reported instead. The cost threshold is the maximum cost for the positive target to be included in this quantile or any of the preceding quantiles.
-
- Returns:
- double[]
- Since:
- OJDM 11.1.0.0
getCumulativeGain
public double[] getCumulativeGain()
- Returns an array containing the gain per quantile. Array element 0 contains the first quantile. Array element N-1 contains the last quantile, where N is the number of quantiles. Cumulative gain for a given quantile is the ratio of the cumulative number of positive cases to the total number of positive cases in the test dataset.
-
- Returns:
- double[]
- Since:
- OJDM 11.1.0.0
Skip navigation links
Copyright © 2005-2007 Oracle. All rights reserved.