|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | 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.AssociationRulesFunctionSettings
An instance of AssociationRulesFunctionSettings
describes settings
for an association rules model.
Association rules are used for the discovery of relationships or correlations among a set of items. For example, the presence of one pattern implies the presence of another pattern. Association rules help to identify the attribute value conditions that occur frequently together in a given set of data. Association analysis is widely used in transaction data analysis for directed marketing, catalog design, and other business decision-making process. Association rules have two important characteristics, support and confidence.
Constructor Summary |
AssociationRulesFunctionSettings(float minSupport,
float minConfidence,
int maxRuleLength,
LogicalDataSpecification lds,
DataUsageSpecification dus)
Creates an instance of association rules function settings with the specified parameters. |
AssociationRulesFunctionSettings(float minSupport,
float minConfidence,
int maxRuleLength,
LogicalDataSpecification lds,
DataUsageSpecification dus,
MiningAlgorithmSettings algorithm)
Deprecated. As of ODM 9.2.0. Mining algorithm settings is not required to build an association rules model. Use other constructor. |
AssociationRulesFunctionSettings(float minSupport,
float minConfidence,
LogicalDataSpecification lds,
DataUsageSpecification dus)
Creates an instance of association rules function settings with the specified parameters. |
Method Summary |
Type | Method |
---|---|
void |
addExcludedCategory(Category cat)
Adds a category to be excluded from the rule discovery. |
static AssociationRulesFunctionSettings |
create(Connection dmsConn,
PhysicalDataSpecification pdsDataSpec,
DataPreparationStatus dpStatus,
float minSupport,
float minConfidence,
int maxRuleLength)
Creates an instance of AssociationRulesFunctionSettings
from the specified parameters. |
MiningAttribute[] |
getActiveAttributes()
Returns an array of active mining attributes in this function settings. |
Category[] |
getExcludedCategory()
Returns the excluded categories. |
int |
getMaximumRuleLength()
Returns the maximum rule length. |
float |
getMinimumConfidence()
Returns the minimum confidence. |
float |
getMinimumSupport()
Returns the minimum support. |
MiningAttribute[] |
getUnpreparedActiveAttributes()
Returns an array of unprepared active mining attributes in this function settings. |
void |
validate()
Validates the correctness of this function settings. |
Methods inherited from class oracle.dmt.odm.settings.function.MiningFunctionSettings | ||||||||||||||||||||
activateAll, adjustAttributeUsage, adjustAttributeUsage, adjustDataPreparationStatus, getDataUsageSpecification, getLogicalDataSpecification, getMiningAlgorithmName, getMiningAlgorithmSettings, getMiningFunction, getName, getSupplementalAttributes, getValidateBeforeStore, listContents, listContents, listContents, listContents, remove, restore, restore, setDataUsageSpecification, setMiningAlgorithmName, setMiningAlgorithmSettings, setMiningFunction, setValidateBeforeStore,
MiningAlgorithmSettings that
specifies the algorithm specific parameters to be used
for model building.
In ODM 9.2.0, this must be null.InvalidArgumentException -
AssociationRulesFunctionSettingspublic AssociationRulesFunctionSettings(float minSupport, float minConfidence, int maxRuleLength, LogicalDataSpecification lds, DataUsageSpecification dus) throws InvalidArgumentException
AssociationRulesFunctionSettingspublic AssociationRulesFunctionSettings(float minSupport, float minConfidence, LogicalDataSpecification lds, DataUsageSpecification dus) throws InvalidArgumentException
addExcludedCategorypublic void addExcludedCategory(Category cat)
getExcludedCategorypublic Category[] getExcludedCategory()
getMinimumSupportpublic float getMinimumSupport()
getMinimumConfidencepublic float getMinimumConfidence()
getMaximumRuleLengthpublic int getMaximumRuleLength()
getActiveAttributespublic MiningAttribute[] getActiveAttributes()
getUnpreparedActiveAttributespublic MiningAttribute[] getUnpreparedActiveAttributes()
validatepublic void validate() throws MiningObjectException
createpublic static AssociationRulesFunctionSettings create(Connection dmsConn, PhysicalDataSpecification pdsDataSpec, DataPreparationStatus dpStatus, float minSupport, float minConfidence, int maxRuleLength) throws java.sql.SQLException, InvalidArgumentException, MiningObjectException, ODMException
|