|
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.model.MiningModel | +--oracle.dmt.odm.model.FeatureExtractionModel | +--oracle.dmt.odm.model.NMFModel
The abstract class NMFModel
is a Java representation of the Non-negative matrix factorization(NMF) model. NMF is a feature extraction algorithm that creates a new set of attributes (features).Each feature is a linear combination of the original attribute set. In NMF, the coefficients of these linear combinations are constrained to be non-negative. During apply a NMF model recodes the original data into the new set of attributes (features) discovered by the model.
Method Summary | |
static void |
apply(Connection dmsConn, LocationAccessData applyData, PhysicalDataSpecification pds, java.lang.String modelName, MiningApplyOutput applyOutput, LocationAccessData outputLoc, java.lang.String applyResultName) |
float |
getErrorRate() Returns the overall error rate |
NMFFeature[] |
getFeatures(Connection dmsConn, int topNCoefficients) Returns a array of Encoded Feature Objects |
int |
getNumberOfIterations() Returns the actual number of iterations required for the NMF convergence |
static NMFModel |
restore(Connection dmsConn, java.lang.String modelName) Returns the specified NMFModel and populates the complex model object for reading by a user program. |
Methods inherited from class oracle.dmt.odm.model.MiningModel |
build, getBinCategoricalTableName, getBinNumericTableName, getMiningAlgorithm, getMiningFunction, getMiningFunctionSettings, getModelAlgorithm, getModelMiningFunction, getModelName, getSignature, listContents, listContents, listContents, listContents, remove, rename, storeLocationdata |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public float getErrorRate()
public int getNumberOfIterations()
public NMFFeature[] getFeatures(Connection dmsConn, int topNCoefficients) throws ODMException, InvalidArgumentException, java.sql.SQLException
ODMException
- when model table name is null.InvalidArgumentException
-
dmsConn
is null,topNCoefficients <= 0
, ormodelName
is null.java.sql.SQLException
- when the model meta data cannot be retrieved.public static NMFModel restore(Connection dmsConn, java.lang.String modelName) throws java.sql.SQLException, MiningObjectException, InvalidArgumentException, ODMException
NMFModel
and populates the complex model object for reading by a user program.dmsConn
- The connection to the DMSmodelName
- Name of the model to retrieveNMFModel
InvalidArgumentException
- when the dmsConn/modelName is null.MiningObjectException
- when the model cannot be opened.java.sql.SQLException
- when the model meta data cannot be retrieved.ODMException
public static void apply(Connection dmsConn, LocationAccessData applyData, PhysicalDataSpecification pds, java.lang.String modelName, MiningApplyOutput applyOutput, LocationAccessData outputLoc, java.lang.String applyResultName) throws InvalidArgumentException, java.sql.SQLException, ODMException
InvalidArgumentException
java.sql.SQLException
ODMException
|
| |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |