|
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.AttributeImportanceFunctionSettings
An instance of AttributeImportanceFunctionSettings describes the settings for Attribute Importance function that captures the high-level specification for building an attribute importance model. If an algorithm is not specified, the data mining system selects an appropriate algorithm, based on the basic user-provided parameters. The default algorithm for attribute importance is Minimum Description Length.
ODM supports Attribute Importance for supervised mining models only.
AttributeImportanceAlgorithmSettings MinimumDescriptionLengthSettings, Serialized Form| Constructor Summary | |
AttributeImportanceFunctionSettings(LogicalDataSpecification lds, DataUsageSpecification dus)Creates an instance of attribute importance function settings. | |
AttributeImportanceFunctionSettings(LogicalDataSpecification lds, DataUsageSpecification dus, AttributeImportanceAlgorithmSettings algorithm)Creates an instance of attribute importance function settings. | |
| Method Summary | |
static AttributeImportanceFunctionSettings |
create(Connection dmsConn, AttributeImportanceAlgorithmSettings algorithm, PhysicalDataSpecification pdsDataSpec, java.lang.String sTargetAttrName, AttributeType atTargetAttributeType, DataPreparationStatus dpStatus)Creates an instance of AttributeImportanceFunctionSettings from the specified parameters. |
MiningAttribute[] |
getPredictorAttributes()Returns an array of predictor mining attributes in this function settings. |
MiningAttribute[] |
getTargetAttributes()Returns the target attribute set in this function settings. |
MiningAttribute[] |
getUnpreparedPredictorAttributes()Returns an array of unprepared predictor attributes in this functional settings. |
void |
validate()Validates if this mining function settings is valid. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public AttributeImportanceFunctionSettings(LogicalDataSpecification lds,
DataUsageSpecification dus,
AttributeImportanceAlgorithmSettings algorithm)
throws InvalidArgumentException
lds - An instance of LogicalDataSpecification that specifies the logical representation of the input datadus - An instance of DataUsageSpecification that specifies how the logical data is to be used to build a modelalgorithm - An instance of AttributeImportanceAlgorithmSettings that specifies the kind of algorithm to be used for building the model. If null, the data mining server selects an approptiate attribute importance algorithm.InvalidArgumentException -
lds is null,pds is null, oralgorithm is invalid.
public AttributeImportanceFunctionSettings(LogicalDataSpecification lds,
DataUsageSpecification dus)
throws InvalidArgumentException
lds - An instance of LogicalDataSpecification that specifies the logical representation of the input datadus - An instance of DataUsageSpecification that specifies how the logical data is to be used to build a modelInvalidArgumentException -
lds is null, orpds is null.| Method Detail |
public MiningAttribute[] getPredictorAttributes()
AttributeUsagepublic MiningAttribute[] getTargetAttributes()
AttributeUsagepublic MiningAttribute[] getUnpreparedPredictorAttributes()
AttributeUsage, DataPreparationStatus
public void validate()
throws MiningObjectException
MiningObjectException - when this function setting is invalid
public static AttributeImportanceFunctionSettings create(Connection dmsConn,
AttributeImportanceAlgorithmSettings algorithm,
PhysicalDataSpecification pdsDataSpec,
java.lang.String sTargetAttrName,
AttributeType atTargetAttributeType,
DataPreparationStatus dpStatus)
throws java.sql.SQLException,
InvalidArgumentException,
ODMException
AttributeImportanceFunctionSettings from the specified parameters.dmsConn - A connection to the data mining serveralgorithm - An instance of AttributeImportanceAlgorithmSettingspdsDataSpec - An instance of PhysicalDataSpecification that specifies the input datasTargetAttrName - - The name of the target attributeatTargetAttributeType - - The type of the target attribute. Only string or integer type is allowed.dpStatus - An instance of DataPreparationStatus that indicates whether the data is discretized.AttributeImportanceFunctionSettings - A created instance of AttributeImportanceFunctionSettingsInvalidArgumentException - thrown when
dmsConn is null,pdsDataSpec is null,sTargetAttrName is null,atTargetAttributeType is null, oratTargetAttributeType is neither string nor integer.ODMException - when sTargetAttrName is empty or exceeds 30 bytes in lengthjava.sql.SQLException - when an error occurs during access to the input data
|
| |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||