Oracle Data Mining Java API Reference
10g Release 1 (10.1)

B12276-01

oracle.dmt.odm.result
Class MiningLiftResult

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

public class MiningLiftResult
extends MiningResult

An instance of MiningLiftResult contains the result of a lift computation for a classification model. It contains lift elements, each of which represents the lift result for specific quantile of data.

Since:
ODM 9.0.1
See Also:
Serialized Form

Method Summary
 LiftResultElement[] getLiftResultElements()
          Returns an array of lift result elements of mining lift result.
static java.lang.String[] listContents(Connection dmsConn)
          Lists the names of the MiningLiftResult objects stored in the database.
static java.lang.String[] listContents(Connection dmsConn, java.util.Date startTime, java.util.Date endTime)
          Lists the names of the MiningLiftResult objects stored in the database created between the specified start and end times.
static java.lang.String[] listContents(Connection dmsConn, java.util.Date startTime, java.util.Date endTime, java.lang.String modelName)
          Lists the names of the MiningLiftResult objects stored in the database derived from the speicfied model, and created between the specified start and end times.
static MiningLiftResult restore(Connection dmsConn, java.lang.String resultName)
          Restores the MiningLiftResult object with the specified resultName from the database.
 java.lang.String toString()
          Returns a formatted string representation of the lift result.
 java.lang.String toStringSN()
          Returns a formatted string representation of the lift result.

 

Methods inherited from class oracle.dmt.odm.result.MiningResult
getCompletionTimestamp, getDurationTime, getExecutionDuration, getInputMiningData, getMiningModel, getMiningModelID, getName, getStartingTimestamp, remove, rename

 

Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait

 

Method Detail

getLiftResultElements

public LiftResultElement[] getLiftResultElements()
Returns an array of lift result elements of mining lift result.
Returns:
An array of lift result elements

listContents

public static java.lang.String[] listContents(Connection dmsConn)
Lists the names of the MiningLiftResult objects stored in the database.
Parameters:
dmsConn - A connection to the DMS
Returns:
String[] - An array of lift result names

listContents

public static java.lang.String[] listContents(Connection dmsConn,
                                              java.util.Date startTime,
                                              java.util.Date endTime)
Lists the names of the MiningLiftResult objects stored in the database created between the specified start and end times.
Parameters:
dmsConn - A connection to the DMS
startTime - The starting time of the lift computation in the DMS
endTime - The ending time of the lift computation in the DMS
Returns:
An array of lift result names

listContents

public static java.lang.String[] listContents(Connection dmsConn,
                                              java.util.Date startTime,
                                              java.util.Date endTime,
                                              java.lang.String modelName)
Lists the names of the MiningLiftResult objects stored in the database derived from the speicfied model, and created between the specified start and end times.
Parameters:
dmsConn - A connection to the DMS
startTime - The starting time of the lift computation in the DMS
endTime - The ending time of the lift computation in the DMS
modelName - The name of the model used to derive the lift results
Returns:
An array of lift result names

toString

public java.lang.String toString()
Returns a formatted string representation of the lift result.
Overrides:
toString in class java.lang.Object
Returns:
A string representation of the lift result

toStringSN

public java.lang.String toStringSN()
Returns a formatted string representation of the lift result. Numbers are represented in scientific notation.
Returns:
A string representation of the lift result

restore

public static MiningLiftResult restore(Connection dmsConn,
                                       java.lang.String resultName)
                                                      throws java.sql.SQLException,
ODMException
Restores the MiningLiftResult object with the specified resultName from the database.
Throws:
InvalidArgumentException - when dmsConn or resultName is null.
ODMException - when resultName is empty or length exceeds the limit
java.sql.SQLException - when there is a failure in JDBC calls.

Copyright © 2003 Oracle Corporation. All Rights Reserved.