Main Page | Class Hierarchy | Class List | Class Members

kddml.Core.DataMining.AssociationRules.AssociationExternalFactory Class Reference

Inheritance diagram for kddml.Core.DataMining.AssociationRules.AssociationExternalFactory:

kddml.Core.DataMining.ModelExternalFactory kddml.Core.DataMining.ModelResourceFactory kddml.Core.KDDMLObjectResourceFactory kddml.Core.KDDMLObjectFactory kddml.Core.DataMining.AssociationRules.JDMAssociationFactory kddml.Core.DataMining.AssociationRules.PMML2_0AssociationFactory List of all members.

Public Member Functions

 AssociationExternalFactory (java.io.File f) throws KDDMLCoreException
KDDMLObject newInstance () throws KDDMLCoreException

Protected Member Functions

abstract Double buildMinSupport () throws AssociationModelException
abstract Double buildMinConfidence () throws AssociationModelException
abstract Integer buildNumberOfTransactions () throws AssociationModelException
abstract Integer buildMaxNumberOfItemsPerTA () throws AssociationModelException
abstract Double buildAvgNumberOfItemsPerTA () throws AssociationModelException
abstract int buildNumberOfRules ()
abstract AssociationRule buildAssociationRules (int i) throws AssociationModelException
abstract int buildNumberOfItemset ()
abstract Itemset buildItemset (int i) throws AssociationModelException
abstract int buildNumberOfItems ()
abstract Item buildItem (int i) throws AssociationModelException

Detailed Description

A factory class that creates an association model from an external resource (e.g. text file, PMML model).

Title: KDDML

Description: Knowledge Discovery in Database Environment

Copyright: Copyright (c) 2003-2005

Company: Universita' di Pisa - Dipartimento di Informatica

Author:
Andrea Romei (romei@di.unipi.it)
Version:
2.0.16


Constructor & Destructor Documentation

kddml.Core.DataMining.AssociationRules.AssociationExternalFactory.AssociationExternalFactory java.io.File  f  )  throws KDDMLCoreException
 

Constructor given the physical file containing the object.

Parameters:
f File
Exceptions:
KDDMLCoreException 


Member Function Documentation

KDDMLObject kddml.Core.DataMining.AssociationRules.AssociationExternalFactory.newInstance  )  throws KDDMLCoreException [virtual]
 

Return a new instance of the required object.

Returns:
KDDMLObject
Exceptions:
KDDMLCoreException 

Reimplemented from kddml.Core.DataMining.ModelExternalFactory.

abstract Double kddml.Core.DataMining.AssociationRules.AssociationExternalFactory.buildMinSupport  )  throws AssociationModelException [protected, pure virtual]
 

Returns the minimum support of the association rules. Mininmum support is a real in (0,1]

Exceptions:
AssociationModelException 
Returns:
Double

Implemented in kddml.Core.DataMining.AssociationRules.JDMAssociationFactory, and kddml.Core.DataMining.AssociationRules.PMML2_0AssociationFactory.

abstract Double kddml.Core.DataMining.AssociationRules.AssociationExternalFactory.buildMinConfidence  )  throws AssociationModelException [protected, pure virtual]
 

Returns the minimum confidence of the association rules. Mininmum confidence is a real in (0,1].

Exceptions:
AssociationModelException 
Returns:
Double

Implemented in kddml.Core.DataMining.AssociationRules.JDMAssociationFactory, and kddml.Core.DataMining.AssociationRules.PMML2_0AssociationFactory.

abstract Integer kddml.Core.DataMining.AssociationRules.AssociationExternalFactory.buildNumberOfTransactions  )  throws AssociationModelException [protected, pure virtual]
 

Returns the number of transaction used to build the association rules. Returns a positive integer.

Exceptions:
AssociationModelException 
Returns:
Integer

Implemented in kddml.Core.DataMining.AssociationRules.JDMAssociationFactory, and kddml.Core.DataMining.AssociationRules.PMML2_0AssociationFactory.

abstract Integer kddml.Core.DataMining.AssociationRules.AssociationExternalFactory.buildMaxNumberOfItemsPerTA  )  throws AssociationModelException [protected, pure virtual]
 

Returns the maximum number of iterms per transaction. Returns a positive integer.

Exceptions:
AssociationModelException 
Returns:
Integer

Implemented in kddml.Core.DataMining.AssociationRules.JDMAssociationFactory, and kddml.Core.DataMining.AssociationRules.PMML2_0AssociationFactory.

abstract Double kddml.Core.DataMining.AssociationRules.AssociationExternalFactory.buildAvgNumberOfItemsPerTA  )  throws AssociationModelException [protected, pure virtual]
 

Returns the average number of items per transaction. Returns a positive double.

Exceptions:
AssociationModelException 
Returns:
Double

Implemented in kddml.Core.DataMining.AssociationRules.JDMAssociationFactory, and kddml.Core.DataMining.AssociationRules.PMML2_0AssociationFactory.

abstract int kddml.Core.DataMining.AssociationRules.AssociationExternalFactory.buildNumberOfRules  )  [protected, pure virtual]
 

Returns the number of rules. Returns a non-negative integer.

Returns:
int

Implemented in kddml.Core.DataMining.AssociationRules.JDMAssociationFactory, and kddml.Core.DataMining.AssociationRules.PMML2_0AssociationFactory.

abstract AssociationRule kddml.Core.DataMining.AssociationRules.AssociationExternalFactory.buildAssociationRules int  i  )  throws AssociationModelException [protected, pure virtual]
 

Returns the i-th association rules belonging to the model.

Parameters:
i int
Returns:
AssociationRule
Exceptions:
AssociationModelException 

Implemented in kddml.Core.DataMining.AssociationRules.JDMAssociationFactory, and kddml.Core.DataMining.AssociationRules.PMML2_0AssociationFactory.

abstract int kddml.Core.DataMining.AssociationRules.AssociationExternalFactory.buildNumberOfItemset  )  [protected, pure virtual]
 

Returns the number of itemset. Returns a non-negative integer.

Returns:
int

Implemented in kddml.Core.DataMining.AssociationRules.JDMAssociationFactory, and kddml.Core.DataMining.AssociationRules.PMML2_0AssociationFactory.

abstract Itemset kddml.Core.DataMining.AssociationRules.AssociationExternalFactory.buildItemset int  i  )  throws AssociationModelException [protected, pure virtual]
 

Returns the i-th association rules belonging to the model.

Parameters:
i int
Returns:
Itemset
Exceptions:
AssociationModelException 

Implemented in kddml.Core.DataMining.AssociationRules.JDMAssociationFactory, and kddml.Core.DataMining.AssociationRules.PMML2_0AssociationFactory.

abstract int kddml.Core.DataMining.AssociationRules.AssociationExternalFactory.buildNumberOfItems  )  [protected, pure virtual]
 

Returns the number of items. Returns a non-negative integer.

Returns:
int

Implemented in kddml.Core.DataMining.AssociationRules.JDMAssociationFactory, and kddml.Core.DataMining.AssociationRules.PMML2_0AssociationFactory.

abstract Item kddml.Core.DataMining.AssociationRules.AssociationExternalFactory.buildItem int  i  )  throws AssociationModelException [protected, pure virtual]
 

Returns the i-th association rules belonging to the model.

Parameters:
i int
Returns:
Item
Exceptions:
AssociationModelException 

Implemented in kddml.Core.DataMining.AssociationRules.JDMAssociationFactory, and kddml.Core.DataMining.AssociationRules.PMML2_0AssociationFactory.


Generated on Thu Feb 23 13:04:37 2006 for kddml by  doxygen 1.4.3