|
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.LocatableObject | +--oracle.dmt.odm.result.MiningResult
A mining result object contains the end products of one of the following mining tasks: build, test, compute lift, or apply. ODM supports the persistence of mining results as independent, named entities in the DMS.
A mining result object contains the operation start time and end time, the name of the model used, input data location, and output data location (if any) for the data mining operation.
A build result contains the model details. It provides the function and algorithm name of the model.
An apply result names the destination table (schema and table name) for the result.
A test result, for classification models, contains the model accuracy and references the confusion matrix.
A lift result of the lift elements is calculated on a per-quantile basis.
Method Summary | |
java.sql.Timestamp |
getCompletionTimestamp() Returns the completion time of the mining operation that created this mining result. |
long |
getDurationTime() Deprecated. As of 9.2.0, replaced by getExecutionDuration method. |
long |
getExecutionDuration() Returns the duration of which the mining operation executed to create this mining result. |
oracle.dmt.odm.Location |
getInputMiningData() Returns the location of the mining data from which this mining result was generated. |
java.lang.String |
getMiningModel() Returns the name of the mining model by which this mining result was generated. |
int |
getMiningModelID() Returns the id of the input mining model by which this mining result was generated. |
java.lang.String |
getName() Returns the name of the mining result. |
java.sql.Timestamp |
getStartingTimestamp() Returns the starting time of the mining operation that created this mining result. |
static boolean |
remove(Connection dmsConn, java.lang.String resultName) Removes the specified mining result from the database. |
static boolean |
rename(Connection dmsConn, java.lang.String oldObjectName, java.lang.String newObjectName) Renames the specified mining result. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public java.lang.String getName()
public java.sql.Timestamp getStartingTimestamp()
public java.sql.Timestamp getCompletionTimestamp()
public long getDurationTime() throws java.lang.Exception
getExecutionDuration
method.java.lang.Exception
public long getExecutionDuration()
public oracle.dmt.odm.Location getInputMiningData()
public java.lang.String getMiningModel()
public int getMiningModelID()
public static boolean remove(Connection dmsConn, java.lang.String resultName) throws java.sql.SQLException, MiningObjectException, InvalidArgumentException, ODMException
dmsConn
- A connection to the data mining serverresultName
- The name of the mining result to be removedInvalidArgumentException
- is throwndmsConn
is null, orresultName
is null.ODMException
- is thrownresultName
is empty or exceeds 64 characters in length.java.sql.SQLException
- when an error occurs during the retrievalMiningObjectException
- when the mining result does not exist in the data mining serverpublic static boolean rename(Connection dmsConn, java.lang.String oldObjectName, java.lang.String newObjectName) throws java.sql.SQLException, InvalidArgumentException, ODMException
dmsConn
- A connection to the data mining serveroldObjectName
- The name of the mining result to be renamednewObjectName
- The new name of the mining result to be assignedboolean
- A flag indicating whether the specified object has been renamed successfully. false
means that the result object to be renamed was not found.InvalidArgumentException
- is throwndmsConn
is null, oroldObjectName
is null,newObjectName
is null.ODMException
- is thrownoldObjectName
is empty or exceeds 64 characters in length.newObjectName
is empty or exceeds 25 bytes in length.SQLException
- is thrownjava.sql.SQLException
|
| |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |