|
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.settings.function.MiningFunctionSettings | +--oracle.dmt.odm.settings.function.FeatureExtractionFunctionSettings
FeatureExtractionFunctionSettings
describes settings for Feature Extraction functions. An instance of FeatureExtractionFunctionSettings
describes the settings necessary to build a FetaureExtraction model by using a Non Negative Matrix Factorization algorithm. It contains m_numberofFeatures
. The specified value of an m_numberofFeatures
indicates the number of features resulting from the dimesnionality reduction.
Constructor Summary | |
FeatureExtractionFunctionSettings(LogicalDataSpecification lds, DataUsageSpecification dus, MiningAlgorithmSettings algorithm) Creates an instance of FeatureExtractionFunctionSettings object. |
Method Summary | |
static FeatureExtractionFunctionSettings |
create(Connection dmsConn, MiningAlgorithmSettings algorithm, PhysicalDataSpecification pds, DataPreparationStatus dpStatus, java.lang.Integer numberofFeatures) This method is a utility function allowing user to create and populate FeatureExtractionFunctionSettings in one step. |
MiningAttribute[] |
getActiveAttributes() Returns the list of active attributes in this MFS. |
MiningAttribute[] |
getUnpreparedActiveAttributes() Returns the list of unbinned active attributes in this MFS. |
void |
setNumberOfFeatures(java.lang.Integer numberofFeatures) Sets number of features for the NMF model. |
void |
validate() Validates the correctness of these function settings. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public FeatureExtractionFunctionSettings(LogicalDataSpecification lds, DataUsageSpecification dus, MiningAlgorithmSettings algorithm) throws InvalidArgumentException
FeatureExtractionFunctionSettings
object.lds
- An instance of LogicalDataSpecification
that specifies the logical representation of the input data used for model buildingdus
- An instance of DataUsageSpecification
that defines how the logical data is to be used for model buildingalgorithm
- algorithm settingsInvalidArgumentException
-
errorMetric
is null, orlds
is null, ordus
is null.Method Detail |
public void setNumberOfFeatures(java.lang.Integer numberofFeatures) throws InvalidArgumentException
numberofFeatures
- number of features, if it is null
then it is ignoredInvalidArgumentException
- if numberofFeatures
< 1InvalidArgumentException
public static FeatureExtractionFunctionSettings create(Connection dmsConn, MiningAlgorithmSettings algorithm, PhysicalDataSpecification pds, DataPreparationStatus dpStatus, java.lang.Integer numberofFeatures) throws java.sql.SQLException, InvalidArgumentException, MiningObjectException, ODMException
dmsConn
- server connectionalgorithm
- mining algorithm settingspds
- PhysicalDataSpecificationdpStatus
- DataPreparationStatus, indicates if the data should be binned or notnumberofFeatures
- Desired number of features, ignored if it is null
MiningObjectException
- if the settings object cannot be retrievedSQLException
- if the settings meta data cannot be retrievedInvalidArgumentException
-
numberofFeatures
< 1dmsConn
is nullalgorithm
is nullpds
is nulldpStatus
is nulljava.sql.SQLException
InvalidArgumentException
MiningObjectException
ODMException
public MiningAttribute[] getActiveAttributes()
MiningAttribute[]
public MiningAttribute[] getUnpreparedActiveAttributes()
MiningAttribute[]
public void validate() throws MiningObjectException
MiningObjectException
-
nonNegativeMatrixFactorization
MiningObjectException
|
| |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |